diff options
author | flz <flz@FreeBSD.org> | 2005-04-11 17:47:42 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-04-11 17:47:42 +0800 |
commit | 68739a66fc91c8504597cd428cd8789c03e837f2 (patch) | |
tree | 3f308b629ebad38dd03d73867c2558f916d5f770 /audio/flac | |
parent | 700561a402230d6df105410052c4afec16a3a56a (diff) | |
download | freebsd-ports-gnome-68739a66fc91c8504597cd428cd8789c03e837f2.tar.gz freebsd-ports-gnome-68739a66fc91c8504597cd428cd8789c03e837f2.tar.zst freebsd-ports-gnome-68739a66fc91c8504597cd428cd8789c03e837f2.zip |
- ARCH is defined in bsd.port.pre.mk.
Diffstat (limited to 'audio/flac')
-rw-r--r-- | audio/flac/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile index 041f2aab7cd2..87e94377c641 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -16,10 +16,6 @@ COMMENT= Free lossless audio codec LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg -.if ${ARCH} == "i386" -BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -.endif - USE_ICONV= yes USE_REINPLACE= yes USE_LIBTOOL_VER=15 @@ -39,6 +35,12 @@ MAKE_ENV= DOC=doc INSTALLS_SHLIB= yes MAN1= flac.1 metaflac.1 +.include <bsd.port.pre.mk> + +.if ${ARCH} == "i386" +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm +.endif + # "obj" is magic to our make(1) post-configure: @${RM} -rf ${WRKSRC}/obj @@ -49,4 +51,4 @@ post-build: test: build @cd ${WRKSRC}; ${MAKE} check -.include <bsd.port.mk> +.include <bsd.port.post.mk> |