svn commit: r307076 - head/games/doomlegacy
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Nov 6 15:12:09 UTC 2012
Author: danfe
Date: Tue Nov 6 15:12:08 2012
New Revision: 307076
URL: http://svnweb.freebsd.org/changeset/ports/307076
Log:
As optimized assembly routines are i386 only, do not offer this option for
other architectures. If anyone can prove they also can work/benefit amd64,
please feel free to adjust the check.
Feature safe: yes
Modified:
head/games/doomlegacy/Makefile
Modified: head/games/doomlegacy/Makefile
==============================================================================
--- head/games/doomlegacy/Makefile Tue Nov 6 15:07:38 2012 (r307075)
+++ head/games/doomlegacy/Makefile Tue Nov 6 15:12:08 2012 (r307076)
@@ -30,12 +30,18 @@ PORTDOCS= *
SVN_REV= 845
-OPTIONS_DEFINE= ASM DOCS
-OPTIONS_DEFAULT= ASM
+OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MASM} && ${ARCH} == "i386"
+.if ${ARCH} == "i386"
+OPTIONS_DEFINE+= ASM
+OPTIONS_DEFAULT= ASM
+.endif
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MASM}
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
MAKE_ENV+= USEASM=1
.endif
More information about the svn-ports-all
mailing list