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 + +.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 +.include