Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2017 11:37:34 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438149 - head/games/acm
Message-ID:  <201704101137.v3ABbY0g098770@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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