svn commit: r322278 - head/graphics/entangle

Alexey Dokuchaev danfe at FreeBSD.org
Thu Jul 4 14:33:00 UTC 2013


Author: danfe
Date: Thu Jul  4 14:32:59 2013
New Revision: 322278
URL: http://svnweb.freebsd.org/changeset/ports/322278

Log:
  - Pass me that pointy hat: ${OPT}_USES is actually supported, among others
  - While here, add a comment about --disable-silent-rules ./configure option

Modified:
  head/graphics/entangle/Makefile

Modified: head/graphics/entangle/Makefile
==============================================================================
--- head/graphics/entangle/Makefile	Thu Jul  4 14:30:28 2013	(r322277)
+++ head/graphics/entangle/Makefile	Thu Jul  4 14:32:59 2013	(r322278)
@@ -21,6 +21,8 @@ GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_GNOME=	gtk30
 
+# XXX: it would be nice if one day this option would be passed automatically
+# to configure scripts that support it :)
 .if defined(BATCH) || defined(PACKAGE_BUILDING)
 CONFIGURE_ARGS=	--disable-silent-rules
 .endif
@@ -33,14 +35,9 @@ MAN1=		${PORTNAME}.1
 OPTIONS_DEFINE=	NLS
 OPTIONS_SUB=	yes
 
+NLS_USES=	gettext	
 NLS_CONFIGURE_OFF=	--disable-nls
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext		# XXX: replace with NLS_USES once available
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e '/checking for GUDEV/,+93d' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's,_udev,,' \


More information about the svn-ports-all mailing list