Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2014 09:57:16 +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: r348459 - head/games/mvdsv
Message-ID:  <201403170957.s2H9vGnJ079519@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Mar 17 09:57:16 2014
New Revision: 348459
URL: http://svnweb.freebsd.org/changeset/ports/348459
QAT: https://qat.redports.org/buildarchive/r348459/

Log:
  Utilize OPTIONS helpers; drop quotes; fix broken indentation in USES knob.

Modified:
  head/games/mvdsv/Makefile

Modified: head/games/mvdsv/Makefile
==============================================================================
--- head/games/mvdsv/Makefile	Mon Mar 17 09:50:06 2014	(r348458)
+++ head/games/mvdsv/Makefile	Mon Mar 17 09:57:16 2014	(r348459)
@@ -13,7 +13,7 @@ COMMENT?=	Enhanced QuakeWorld server wit
 
 LICENSE=	GPLv2
 
-USES=	zip
+USES=		zip
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	${OPSYS} ${ARCH:C/.*(64)/\1/}
@@ -27,22 +27,15 @@ OPTIONS_DEFINE_amd64=	ASM
 OPTIONS_DEFAULT_i386=	ASM
 OPTIONS_DEFAULT_amd64=	ASM
 
-.if ${PORTNAME} == "mvdsv"
+.if ${PORTNAME} == mvdsv
 OPTIONS_DEFINE+=	KQUEUE
 OPTIONS_DEFAULT+=	KQUEUE
 .endif
 
 KQUEUE_DESC=	Kqueue support
 
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MKQUEUE}
-MAKE_ARGS+=	-DNOKQUEUE
-.endif
-
-.if ! ${PORT_OPTIONS:MASM}
-MAKE_ARGS+=	-DWITHOUT_X86_ASM
-.endif
+KQUEUE_MAKE_ARGS_OFF=	-DNOKQUEUE
+ASM_MAKE_ARGS_OFF=	-DWITHOUT_X86_ASM
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,gcc,${CC},' ${WRKSRC}/configure



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