aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2013-04-04 05:00:33 +0800
committerdecke <decke@FreeBSD.org>2013-04-04 05:00:33 +0800
commitb49bdcc109e06b4f2842bd7ad0bee40d506c3509 (patch)
tree33f1d83bf9ff4cb86fb06912947f4b2aeaf93cb3 /audio
parent0150240fa08cbc859bbd979041e4e48f4b7700db (diff)
downloadfreebsd-ports-gnome-b49bdcc109e06b4f2842bd7ad0bee40d506c3509.tar.gz
freebsd-ports-gnome-b49bdcc109e06b4f2842bd7ad0bee40d506c3509.tar.zst
freebsd-ports-gnome-b49bdcc109e06b4f2842bd7ad0bee40d506c3509.zip
- Properly fix NLS now and revert last fix attempt
Approved by: portmgr (myself)
Diffstat (limited to 'audio')
-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