diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-16 16:14:25 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-16 16:14:25 +0000 |
commit | 05c491501bd9b229097dc638a69f3b82519b421c (patch) | |
tree | cfbe916ccf763466ed9e30c13298ddcbac928c74 /converters/libiconv | |
parent | Mark FORBIDDEN (diff) |
Add optional support to compile in additional character set support.
Submitted by: Pav Lucistnik <pav@oook.cz>
Diffstat (limited to 'converters/libiconv')
-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 |