diff options
author | kris <kris@FreeBSD.org> | 2004-03-02 14:07:54 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-03-02 14:07:54 +0800 |
commit | 7399a1ad9c13534f7dd2e173f2c9d68830614aed (patch) | |
tree | 9b15a825f67fd45da7f9a6e605a8a2d1414e01a4 /x11-toolkits/gtk12/Makefile | |
parent | 626875abaf0f047dd962aa5d4919e1ae1645fdd5 (diff) | |
download | freebsd-ports-gnome-7399a1ad9c13534f7dd2e173f2c9d68830614aed.tar.gz freebsd-ports-gnome-7399a1ad9c13534f7dd2e173f2c9d68830614aed.tar.zst freebsd-ports-gnome-7399a1ad9c13534f7dd2e173f2c9d68830614aed.zip |
Respect WITHOUT_NLS.
Approved by: maintainer
Diffstat (limited to 'x11-toolkits/gtk12/Makefile')
-rw-r--r-- | x11-toolkits/gtk12/Makefile | 8 |
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 |