diff options
-rw-r--r-- | audio/lame/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/lame/Makefile b/audio/lame/Makefile index cbdc223f77ca..28070425a1e8 100644 --- a/audio/lame/Makefile +++ b/audio/lame/Makefile @@ -15,10 +15,6 @@ MASTER_SITE_SUBDIR= lame MAINTAINER= netchild@FreeBSD.org COMMENT= ISO code based fast MP3 encoder kit -.if ${ARCH} == "i386" -BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -.endif - GNU_CONFIGURE= yes INSTALLS_SHLIB= yes USE_LIBTOOL_VER=15 @@ -31,6 +27,12 @@ MAN1= lame.1 DOC_FILES= API LICENSE README TODO USAGE +.include <bsd.port.pre.mk> + +.if ${ARCH} == "i386" +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm +.endif + .if defined(NOPORTDOCS) do-install: @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \ @@ -49,4 +51,4 @@ install-doc: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |