diff options
author | bland <bland@FreeBSD.org> | 2004-07-27 11:28:14 +0800 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2004-07-27 11:28:14 +0800 |
commit | c736a8c0030abf537ba5c2b5846e57e7cad0d5f2 (patch) | |
tree | 434339223bbec3116f90bb5f7a1062f9d6d49ff8 /converters/libiconv | |
parent | cd53d5265a4071685a8d919abe5c9e6e373887f7 (diff) | |
download | freebsd-ports-gnome-c736a8c0030abf537ba5c2b5846e57e7cad0d5f2.tar.gz freebsd-ports-gnome-c736a8c0030abf537ba5c2b5846e57e7cad0d5f2.tar.zst freebsd-ports-gnome-c736a8c0030abf537ba5c2b5846e57e7cad0d5f2.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>
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 |