diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2008-03-31 20:04:40 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2008-03-31 20:04:40 +0000 |
commit | 8e2135ab544952e37965e28da8b431c4dd588a50 (patch) | |
tree | 0e7c81abd0fa492892043acf54f093c20a08a4c3 /audio/mac | |
parent | Some more include search path massaging for the WITH_CUPS case. (diff) |
yasm is only used on i386 and amd64, don't require it on other
architectures.
Approved by: infofarmer
Diffstat (limited to 'audio/mac')
-rw-r--r-- | audio/mac/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/mac/Makefile b/audio/mac/Makefile index 4f7381984707..be19fb3c8d1d 100644 --- a/audio/mac/Makefile +++ b/audio/mac/Makefile @@ -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> |