diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-02-22 10:21:53 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-02-22 10:21:53 +0000 |
commit | 146e0f29f57c8eab6e569c634f2af366634d92ff (patch) | |
tree | 7717c1d5a10e2c9d81878941e66fa43ff3540e8f /games/eduke32 | |
parent | c613ac067d4b38a87148eddfe6c1c76fba637e72 (diff) | |
download | ports-146e0f29f57c8eab6e569c634f2af366634d92ff.tar.gz ports-146e0f29f57c8eab6e569c634f2af366634d92ff.zip |
Notes
Diffstat (limited to 'games/eduke32')
-rw-r--r-- | games/eduke32/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/games/eduke32/Makefile b/games/eduke32/Makefile index a792ab41b3f6..48252eb49211 100644 --- a/games/eduke32/Makefile +++ b/games/eduke32/Makefile @@ -13,11 +13,6 @@ DISTFILES= ${PORTNAME}_src_${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= olivier@gid0.org COMMENT= Duke Nukem 3D Port based on JFDuke and EDuke -BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm - -ONLY_FOR_ARCHS= i386 -ONLY_FOR_ARCHS_REASON= uses i386 assembly code -REINPLACE_ARGS= -i '' USE_ZIP= yes USE_GMAKE= yes USE_GL= yes @@ -31,11 +26,18 @@ OPTIONS= MIDI "Enable MIDI support" on .include <bsd.port.pre.mk> +.if ${ARCH} == "i386" +BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm +.endif + .if !defined(WITHOUT_MIDI) RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity .endif post-patch: +.if ${ARCH} != "i386" + @${REINPLACE_CMD} -Ee 's|^(NOASM =).*|\1 1|' ${WRKSRC}/Makefile +.endif @${REINPLACE_CMD} -Ee \ 's|^(CC=).*|\1${CC}|; \ s|^(CXX=).*|\1${CXX}|; \ |