summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk12/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-02 06:07:54 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-02 06:07:54 +0000
commit1e9de467c7340faf2bdaad33f193a7fd1a627378 (patch)
tree30e2991460882d9837df788c4f67cbffd4477b98 /x11-toolkits/gtk12/Makefile
parentUpdate to 0.4.6c (diff)
Respect WITHOUT_NLS.
Approved by: maintainer
Diffstat (limited to '')
-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