aboutsummaryrefslogtreecommitdiff
path: root/graphics/entangle
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-04 14:32:59 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-04 14:32:59 +0000
commitc2e95d46d4ddabe87b4e7e9a2a0ae89f1c777864 (patch)
tree38b6e9cfc266839703541a00706c993148880496 /graphics/entangle
parent3872fc89b7fd93c92d3487d43ab7e53693d49119 (diff)
downloadports-c2e95d46d4ddabe87b4e7e9a2a0ae89f1c777864.tar.gz
ports-c2e95d46d4ddabe87b4e7e9a2a0ae89f1c777864.zip
- Pass me that pointy hat: ${OPT}_USES is actually supported, among others
- While here, add a comment about --disable-silent-rules ./configure option
Notes
Notes: svn path=/head/; revision=322278
Diffstat (limited to 'graphics/entangle')
-rw-r--r--graphics/entangle/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/entangle/Makefile b/graphics/entangle/Makefile
index ac69603940dd..7a4053437bbf 100644
--- a/graphics/entangle/Makefile
+++ b/graphics/entangle/Makefile
@@ -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,,' \