diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-11-07 01:03:16 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-11-07 01:03:16 +0000 |
commit | 9e6b25f9c6482b52a8734384e7b2647fcc48c546 (patch) | |
tree | 0955df90c5848e7dcc2f1ee9ff9590293296a5c1 /lang/nwcc/Makefile | |
parent | afb1fd131b2f28932a8be637f3b2b13c9d80ce9d (diff) |
Notes
Diffstat (limited to 'lang/nwcc/Makefile')
-rw-r--r-- | lang/nwcc/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lang/nwcc/Makefile b/lang/nwcc/Makefile index 7e2fc2c21e24..d51c4efbc287 100644 --- a/lang/nwcc/Makefile +++ b/lang/nwcc/Makefile @@ -17,15 +17,21 @@ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= obrien@FreeBSD.org COMMENT= Nils Weller's C compiler for Unix systems -BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm - ONLY_FOR_ARCHS= i386 amd64 HAS_CONFIGURE= yes CONFIGURE_ARGS= --installprefix=${PREFIX} ALL_TARGET= +.include <bsd.port.pre.mk> + +.if ${ARCH} == amd64 +BUILD_DEPENDS+= yasm:${PORTSDIR}/devel/yasm +.else +BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm +.endif + post-build: cd ${WRKSRC} ; ${MAKE} test -.include <bsd.port.mk> +.include <bsd.port.post.mk> |