summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk12/Makefile')
-rw-r--r--x11-toolkits/gtk12/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/gtk12/Makefile b/x11-toolkits/gtk12/Makefile
index 82835facb5ed..bdb7fa4df4f0 100644
--- a/x11-toolkits/gtk12/Makefile
+++ b/x11-toolkits/gtk12/Makefile
@@ -16,7 +16,6 @@ DISTNAME= gtk+-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
-USE_GETTEXT= yes
USE_X_PREFIX= yes
USE_PERL5= yes
USE_GNOME= glib12
@@ -28,6 +27,13 @@ CONFIGURE_ARGS= --includedir=${PREFIX}/include/gtk12 --with-native-locale \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
X_CFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
MAN1= gtk-config.1