summaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
authortaca <taca>2007-10-28 02:07:41 +0000
committertaca <taca>2007-10-28 02:07:41 +0000
commit512074c8aa7f0954b1d97610558a712176deb06a (patch)
tree28e4c9e7efbd0d00ce662046c77f7af7bf284311 /converters/libiconv
parent366ed3d5cba0b69d8cb5478f0cdfba09544a43aa (diff)
downloadpkgsrc-512074c8aa7f0954b1d97610558a712176deb06a.tar.gz
Add cp932-patch which was ja-patch as PKG_OPTION and enabled default.
Bump PKGREVISION.
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/Makefile9
-rw-r--r--converters/libiconv/distinfo8
-rw-r--r--converters/libiconv/options.mk14
3 files changed, 21 insertions, 10 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 1c4563bd401..540db621ec8 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2007/06/02 06:56:06 schmonz Exp $
+# $NetBSD: Makefile,v 1.51 2007/10/28 02:07:41 taca Exp $
DISTNAME= libiconv-1.11
+PKGREVISION= 1
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
@@ -8,10 +9,6 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/libiconv/
COMMENT= Character set conversion library
-#PATCH_SITES= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/
-#PATCHFILES= libiconv-1.10-ja-1.patch.gz
-#PATCH_DIST_STRIP= -p1
-
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
@@ -42,7 +39,7 @@ CFLAGS+= -c99
.endif
-.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux" || ${OPSYS} == "OSF1"
PLIST_SUBST+= PRELOADABLE_LIBICONV=""
diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo
index e1f31591ae7..15de442f5a3 100644
--- a/converters/libiconv/distinfo
+++ b/converters/libiconv/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.25 2007/03/20 00:44:52 wiz Exp $
+$NetBSD: distinfo,v 1.26 2007/10/28 02:07:41 taca Exp $
-SHA1 (libiconv-1.10-ja-1.patch.gz) = ae699d1af00a829bf84112e7bfe9811115b39775
-RMD160 (libiconv-1.10-ja-1.patch.gz) = acc19f69978969bfe351f12394eaf33f2c551921
-Size (libiconv-1.10-ja-1.patch.gz) = 234616 bytes
+SHA1 (libiconv-1.11-cp932.patch.gz) = 66996070edcc40d8bc8a3a3805437051cd14893e
+RMD160 (libiconv-1.11-cp932.patch.gz) = 28ca702fb57d6d5e73e5723d32375f131a998c43
+Size (libiconv-1.11-cp932.patch.gz) = 112830 bytes
SHA1 (libiconv-1.11.tar.gz) = df09c3ef43443ac15c0c2d49fd791aa73a64bf30
RMD160 (libiconv-1.11.tar.gz) = 9adbcd61598bee2fbe4eb94ac3f35f83f568d9d0
Size (libiconv-1.11.tar.gz) = 4430930 bytes
diff --git a/converters/libiconv/options.mk b/converters/libiconv/options.mk
new file mode 100644
index 00000000000..0c6f9ca80d5
--- /dev/null
+++ b/converters/libiconv/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2007/10/28 02:07:41 taca Exp $
+#
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.libiconv
+PKG_SUPPORTED_OPTIONS= libiconv-cp932
+PKG_SUGGESTED_OPTIONS= libiconv-cp932
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlibiconv-cp932)
+PATCH_SITES= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/
+PATCHFILES= libiconv-1.11-cp932.patch.gz
+PATCH_DIST_STRIP= -p1
+.endif