From owner-svn-ports-head@FreeBSD.ORG Tue Nov 6 15:12:08 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0DA54EC; Tue, 6 Nov 2012 15:12:08 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id C43078FC1A; Tue, 6 Nov 2012 15:12:08 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qA6FC8jZ087782; Tue, 6 Nov 2012 15:12:08 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qA6FC8ga087780; Tue, 6 Nov 2012 15:12:08 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201211061512.qA6FC8ga087780@svn.freebsd.org> From: Alexey Dokuchaev Date: Tue, 6 Nov 2012 15:12:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307076 - head/games/doomlegacy X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2012 15:12:09 -0000 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 -.if ${PORT_OPTIONS:MASM} && ${ARCH} == "i386" +.if ${ARCH} == "i386" +OPTIONS_DEFINE+= ASM +OPTIONS_DEFAULT= ASM +.endif + +.include + +.if ${PORT_OPTIONS:MASM} BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm MAKE_ENV+= USEASM=1 .endif