svn commit: r348459 - head/games/mvdsv
Alexey Dokuchaev
danfe at FreeBSD.org
Mon Mar 17 09:57:16 UTC 2014
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
More information about the svn-ports-all
mailing list