svn commit: r438149 - head/games/acm

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Apr 10 11:37:36 UTC 2017


Author: amdmi3
Date: Mon Apr 10 11:37:34 2017
New Revision: 438149
URL: https://svnweb.freebsd.org/changeset/ports/438149

Log:
  - Pet portlint
  - Switch to options helpers

Modified:
  head/games/acm/Makefile

Modified: head/games/acm/Makefile
==============================================================================
--- head/games/acm/Makefile	Mon Apr 10 11:35:44 2017	(r438148)
+++ head/games/acm/Makefile	Mon Apr 10 11:37:34 2017	(r438149)
@@ -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>


More information about the svn-ports-head mailing list