aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gawk/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-11 18:30:37 +0800
committerkrion <krion@FreeBSD.org>2004-07-11 18:30:37 +0800
commit465c8da9f76f1946f1f05b1d35d388a397ecfa5a (patch)
treee7262df1e4a935ddbcb3c6adb2c818d19b2c653a /lang/gawk/Makefile
parent1b3d4f7a6c80d42d506b4abc7d71c9369dade07f (diff)
downloadfreebsd-ports-gnome-465c8da9f76f1946f1f05b1d35d388a397ecfa5a.tar.gz
freebsd-ports-gnome-465c8da9f76f1946f1f05b1d35d388a397ecfa5a.tar.zst
freebsd-ports-gnome-465c8da9f76f1946f1f05b1d35d388a397ecfa5a.zip
Support WITHOUT_NLS
Pet portlint
Diffstat (limited to 'lang/gawk/Makefile')
-rw-r--r--lang/gawk/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index b27d8f85dc81..70849231e424 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= gawk
MAINTAINER= dd@FreeBSD.org
COMMENT= The GNU version of Awk
+INFO= gawk gawkinet
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500039
@@ -26,6 +28,13 @@ CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
MAN1= gawk.1 igawk.1
PLIST_SUB= VERSION=${PORTVERSION}
+
+.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
.include <bsd.port.post.mk>