Add knob WITH_EXTRA_PATCHES which brings in:

- Fixes for cp932 roundtrip issue (Microsoft KB: Q170559).
- EUCJP-MS encoding.
- A number of aliases for cp932 and EUCJP-MS encodings.

Requested by:	NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Patches by:	MORIYAMA Masayuki <msyk@mtg.biglobe.ne.jp>
This commit is contained in:
Alexander Nedotsukov 2004-07-27 03:28:14 +00:00
parent faa3d7596b
commit 53fa631ae3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114839
2 changed files with 10 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= libiconv PORTNAME= libiconv
PORTVERSION= 1.9.2 PORTVERSION= 1.9.2
PORTREVISION= 1
CATEGORIES= converters devel CATEGORIES= converters devel
MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME} MASTER_SITE_SUBDIR= ${PORTNAME}
@ -34,10 +35,17 @@ MAN3= iconv.3 iconv_open.3 iconv_close.3
CONFIGURE_ARGS+= --enable-extra-encodings CONFIGURE_ARGS+= --enable-extra-encodings
.endif .endif
.if defined(WITH_EXTRA_PATCHES)
PATCH_SITES+= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/
PATCHFILES+= ${DISTNAME}-cp932.patch.gz
PATCH_DIST_STRIP+= -p1
.endif
pre-everything:: pre-everything::
@${ECHO_MSG} "" @${ECHO_MSG} ""
@${ECHO_MSG} "libiconv has the following tunable option(s):" @${ECHO_MSG} "libiconv has the following tunable option(s):"
@${ECHO_MSG} " WITHOUT_EXTRA_ENCODINGS=yes Disable extra character sets" @${ECHO_MSG} " WITHOUT_EXTRA_ENCODINGS=yes Disable extra character sets"
@${ECHO_MSG} " WITH_EXTRA_PATCHES=yes Apply extra patches (fixes cp932, adds EUCJP-MS)"
@${ECHO_MSG} "" @${ECHO_MSG} ""
post-patch: post-patch:

View file

@ -1,2 +1,4 @@
MD5 (libiconv-1.9.2.tar.gz) = 6bc300365053c815b10b800a21e0bc7e MD5 (libiconv-1.9.2.tar.gz) = 6bc300365053c815b10b800a21e0bc7e
SIZE (libiconv-1.9.2.tar.gz) = 3919945 SIZE (libiconv-1.9.2.tar.gz) = 3919945
MD5 (libiconv-1.9.2-cp932.patch.gz) = e792be53c6feb6b41cd386e6feb725c9
SIZE (libiconv-1.9.2-cp932.patch.gz) = 106981