aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gtar/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-11 02:34:17 +0800
committerkrion <krion@FreeBSD.org>2004-07-11 02:34:17 +0800
commit4d5f6a4605a1a3cfd2e4d4bb5ec1ad0fe5812c5d (patch)
treea2179e75a2016cbbf776ef819ec7829174cc2bc3 /archivers/gtar/Makefile
parentb710ecef10e596d2164ebc7048fb429be08ef013 (diff)
downloadfreebsd-ports-gnome-4d5f6a4605a1a3cfd2e4d4bb5ec1ad0fe5812c5d.tar.gz
freebsd-ports-gnome-4d5f6a4605a1a3cfd2e4d4bb5ec1ad0fe5812c5d.tar.zst
freebsd-ports-gnome-4d5f6a4605a1a3cfd2e4d4bb5ec1ad0fe5812c5d.zip
Support WITHOUT_NLS
Diffstat (limited to 'archivers/gtar/Makefile')
-rw-r--r--archivers/gtar/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index caf2e2d04da5..39b83bdbe87d 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -32,4 +32,12 @@ LDSTATIC= -static
LDSTATIC=
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>