diff options
author | marcus <marcus@FreeBSD.org> | 2003-06-17 00:14:25 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-06-17 00:14:25 +0800 |
commit | 4119ee9fc40c0af7e5c75043dee1cab5cd6d8aba (patch) | |
tree | 89912d6d2bf5872ce45a3e2d6efd2458f8474bfd /converters | |
parent | 8e400f084ccbe7982acba39d6a4ab6648ddc7445 (diff) | |
download | freebsd-ports-gnome-4119ee9fc40c0af7e5c75043dee1cab5cd6d8aba.tar.gz freebsd-ports-gnome-4119ee9fc40c0af7e5c75043dee1cab5cd6d8aba.tar.zst freebsd-ports-gnome-4119ee9fc40c0af7e5c75043dee1cab5cd6d8aba.zip |
Add optional support to compile in additional character set support.
Submitted by: Pav Lucistnik <pav@oook.cz>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libiconv/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index 131b8e24538b..a6376648915b 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -7,6 +7,7 @@ PORTNAME= libiconv PORTVERSION= 1.9.1 +PORTREVISION= 1 CATEGORIES= converters devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -25,6 +26,16 @@ INSTALLS_SHLIB= yes MAN1= iconv.1 MAN3= iconv.3 iconv_open.3 iconv_close.3 +.if !defined(WITHOUT_EXTRA_ENCODINGS) +CONFIGURE_ARGS+= --enable-extra-encodings +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "libiconv has the following tunable option(s):" + @${ECHO_MSG} " WITHOUT_EXTRA_ENCODINGS=yes Disable extra character sets" + @${ECHO_MSG} "" + post-patch: @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h |