summaryrefslogtreecommitdiff
path: root/games/acm/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-10 11:37:34 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-10 11:37:34 +0000
commitb42359526ba6cad98655323d2cac4b9d3b65d77d (patch)
tree65035f714d26b627b726e400d6e587b3722e9f34 /games/acm/Makefile
parent- Pet portlint (diff)
- Pet portlint
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=438149
Diffstat (limited to '')
-rw-r--r--games/acm/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/games/acm/Makefile b/games/acm/Makefile
index cd349167ca4a..130acdd38f18 100644
--- a/games/acm/Makefile
+++ b/games/acm/Makefile
@@ -14,26 +14,20 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
+USE_PERL5= build
USE_XORG= x11 xext
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --x-includes=${LOCALBASE}/include \
+CONFIGURE_ARGS= --prefix=${PREFIX} --x-includes=${LOCALBASE}/include \
--x-libraries=${LOCALBASE}/lib
CONFIGURE_ENV= ac_cv_lib_Xm_XmCreateBulletinBoard=no \
ac_cv_lib_gdbm_dbm_fetch=no
-USE_PERL5= build
-MAKE_ARGS+= prefix=${STAGEDIR}${PREFIX}/ OBVDIR=${STAGEDIR}${DATADIR}/
+MAKE_ARGS= prefix=${STAGEDIR}${PREFIX}/ OBVDIR=${STAGEDIR}${DATADIR}/
BROKEN_aarch64= Fails to compile: machine/limits.h not found
OPTIONS_DEFINE= SOUND
SOUND_LIB_DEPENDS= libaudio.so:audio/nas
-
-.include <bsd.port.options.mk>
-
-.if empty(PORT_OPTIONS:MSOUND)
-CONFIGURE_ENV+= ac_cv_lib_audio_AuCloseServer=no
-.endif
+SOUND_CONFIGURE_ENV_OFF= ac_cv_lib_audio_AuCloseServer=no
.include <bsd.port.mk>