mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
yasm is only used on i386 and amd64, don't require it on other
architectures. Approved by: infofarmer
This commit is contained in:
parent
104079cc5e
commit
8e2135ab54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210286
@ -14,17 +14,21 @@ DISTNAME= ${PORTNAME}-3.99-u4-b5
|
||||
MAINTAINER= infofarmer@FreeBSD.org
|
||||
COMMENT= Monkey's Audio lossless codec
|
||||
|
||||
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --disable-static
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
|
||||
BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O3||' ${WRKSRC}/configure
|
||||
# @${REINPLACE_CMD} -e '/GetInfo/s|intptr_t|long|g' ${WRKSRC}/src/MACLib/*.*
|
||||
# @${REINPLACE_CMD} -e 's|wcsnicmp|wcsncmp|g;s|wcsicmp|wcscmp|g;s|_wcsicmp|wcscmp|g;s|\.__pos||g' \
|
||||
# ${WRKSRC}/src/MACLib/*.* ${WRKSRC}/src/Shared/*.*
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user