aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2013-04-03 21:00:33 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2013-04-03 21:00:33 +0000
commitd0bb67c54bdcedf05c1f9e8b3a45df410be0983e (patch)
tree33f1d83bf9ff4cb86fb06912947f4b2aeaf93cb3
parent513d21d8384e61cc02b820137587b3680ffbb51c (diff)
downloadports-d0bb67c54bdcedf05c1f9e8b3a45df410be0983e.tar.gz
ports-d0bb67c54bdcedf05c1f9e8b3a45df410be0983e.zip
Notes
-rw-r--r--audio/vagalume/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/vagalume/Makefile b/audio/vagalume/Makefile
index 105aae4ad010..a7fba6871a7f 100644
--- a/audio/vagalume/Makefile
+++ b/audio/vagalume/Makefile
@@ -31,12 +31,13 @@ TRAY_DESC= Tray icon and libnotify support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS="@comment "
-.else
USE_GETTEXT= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MDBUS}
@@ -65,7 +66,7 @@ CONFIGURE_ARGS+=--enable-gconf
post-patch:
@${REINPLACE_CMD} -e 's|serviceentrydir = @serviceentrydir@|serviceentrydir = ${PREFIX}/share/dbus-1/services|' \
${WRKSRC}/Makefile.in
-.if ${PORT_OPTIONS:MNLS}
+.if empty(PORT_OPTIONS:MNLS)
@${REINPLACE_CMD} -e 's|SUBDIRS = src po|SUBDIRS = src|' \
${WRKSRC}/Makefile.in
.endif