diff options
author | Alexander Nedotsukov <bland@FreeBSD.org> | 2004-07-27 03:28:14 +0000 |
---|---|---|
committer | Alexander Nedotsukov <bland@FreeBSD.org> | 2004-07-27 03:28:14 +0000 |
commit | 53fa631ae3eac3d82a40402f2af72eb7eb2ab37b (patch) | |
tree | cc49dc7c46a489c49e33bcfff66422f57df4e9ac /converters/libiconv | |
parent | faa3d7596b188d8aa5b8ccb1aa18b477d33e5850 (diff) | |
download | ports-53fa631ae3eac3d82a40402f2af72eb7eb2ab37b.tar.gz ports-53fa631ae3eac3d82a40402f2af72eb7eb2ab37b.zip |
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>
Notes
Notes:
svn path=/head/; revision=114839
Diffstat (limited to 'converters/libiconv')
-rw-r--r-- | converters/libiconv/Makefile | 8 | ||||
-rw-r--r-- | converters/libiconv/distinfo | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index 4fd15c2ca627..624fd55b54ef 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -7,6 +7,7 @@ PORTNAME= libiconv PORTVERSION= 1.9.2 +PORTREVISION= 1 CATEGORIES= converters devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -34,10 +35,17 @@ MAN3= iconv.3 iconv_open.3 iconv_close.3 CONFIGURE_ARGS+= --enable-extra-encodings .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:: @${ECHO_MSG} "" @${ECHO_MSG} "libiconv has the following tunable option(s):" @${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} "" post-patch: diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo index 6ce76e6b7da4..93ce2db969bf 100644 --- a/converters/libiconv/distinfo +++ b/converters/libiconv/distinfo @@ -1,2 +1,4 @@ MD5 (libiconv-1.9.2.tar.gz) = 6bc300365053c815b10b800a21e0bc7e 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 |