aboutsummaryrefslogtreecommitdiff
path: root/net/nc6/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:22:46 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-07-11 10:22:46 +0000
commit066a44e530dcfa65ac33962e2d3f404fd760adc7 (patch)
treed1859a993523573db922e30f4df436c95895fdd3 /net/nc6/Makefile
parent037281d66e93469b2b0f6e355259f29176cd1f54 (diff)
Notes
Diffstat (limited to 'net/nc6/Makefile')
-rw-r--r--net/nc6/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/nc6/Makefile b/net/nc6/Makefile
index 0bf1a9b2185b..5f467bec2c6a 100644
--- a/net/nc6/Makefile
+++ b/net/nc6/Makefile
@@ -16,11 +16,18 @@ MAINTAINER= filippo@widestore.net
COMMENT= Netcat clone with IPv6 support
MAN1= nc6.1
-USE_GETTEXT= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.include <bsd.port.mk>