Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 15:12:08 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307076 - head/games/doomlegacy
Message-ID:  <201211061512.qA6FC8ga087780@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211061512.qA6FC8ga087780>