1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/audio/lame/Makefile
Mark Linimon 0ecf35cf99 Mark these ports as BROKEN on riscv64.
The current contents of sys/riscv/include/ieeefp.h are empty.  These
ports rely on that file being defined.

Approved by:	portmgr (tier-2 blanket)
2021-01-26 09:19:51 +00:00

48 lines
1.0 KiB
Makefile

# Created by: yoshiaki Uchikawa
# $FreeBSD$
PORTNAME= lame
PORTVERSION= 3.100
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.100
MAINTAINER= netchild@FreeBSD.org
COMMENT= Fast MP3 encoder kit
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_riscv64= fails to compile: needs FP_X_INV from empty sys/riscv/include/ieeefp.h
USES= gmake iconv libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-nasm --enable-mp3rtp --disable-gtktest
DOC_FILES= API LICENSE README TODO USAGE
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:devel/nasm
.endif
post-patch:
# Fix parallel builds
@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
${WRKSRC}/libmp3lame/i386/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.post.mk>