diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-28 14:46:18 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-28 14:46:18 +0000 |
commit | 4a0f817aacdf1dd5639fddebc681258adcade5db (patch) | |
tree | 1811b5a2c91c3198c6feda06d44c5d34e2cd8aa5 /devel/libidn/Makefile | |
parent | 806a70821f7981144bbaba4c3677d15e01e5db53 (diff) | |
download | ports-4a0f817aacdf1dd5639fddebc681258adcade5db.tar.gz ports-4a0f817aacdf1dd5639fddebc681258adcade5db.zip |
Notes
Diffstat (limited to 'devel/libidn/Makefile')
-rw-r--r-- | devel/libidn/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/libidn/Makefile b/devel/libidn/Makefile index a35f0cf97b9f..13ed21e70c1b 100644 --- a/devel/libidn/Makefile +++ b/devel/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 |