From d0bb67c54bdcedf05c1f9e8b3a45df410be0983e Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Wed, 3 Apr 2013 21:00:33 +0000 Subject: - Properly fix NLS now and revert last fix attempt Approved by: portmgr (myself) --- audio/vagalume/Makefile | 7 ++++--- 1 file 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 .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 -- cgit v1.2.3