aboutsummaryrefslogtreecommitdiff
path: root/dns/libidn/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-28 14:46:18 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-28 14:46:18 +0000
commit4a0f817aacdf1dd5639fddebc681258adcade5db (patch)
tree1811b5a2c91c3198c6feda06d44c5d34e2cd8aa5 /dns/libidn/Makefile
parent806a70821f7981144bbaba4c3677d15e01e5db53 (diff)
downloadports-4a0f817aacdf1dd5639fddebc681258adcade5db.tar.gz
ports-4a0f817aacdf1dd5639fddebc681258adcade5db.zip
Notes
Diffstat (limited to 'dns/libidn/Makefile')
-rw-r--r--dns/libidn/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/dns/libidn/Makefile b/dns/libidn/Makefile
index a35f0cf97b9f..13ed21e70c1b 100644
--- a/dns/libidn/Makefile
+++ b/dns/libidn/Makefile
@@ -18,7 +18,6 @@ COMMENT= Internationalized Domain Names command line tool
BUILD_DEPENDS= gengetopt:${PORTSDIR}/devel/gengetopt
USE_GETOPT_LONG= yes
-USE_GETTEXT= yes
USE_GNOME= gnomehack
USE_ICONV= yes
USE_LIBTOOL_VER= 13
@@ -40,6 +39,14 @@ PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs
PLIST_SUB+= EMACS="@comment " EMACSDIR=""
.endif
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|@image{components}||g' \
${WRKSRC}/doc/libidn.texi