From d9163a1c4151cb85efbd0443fe018412caf7674a Mon Sep 17 00:00:00 2001 From: minskim Date: Sat, 18 Sep 2004 02:46:12 +0000 Subject: Link with -liconv if ICONV_TYPE=gnu. This makes bdb-xml build on platforms without native iconv. Thanks to Aron Stansvik for testing. Bump PKGREVISION. --- textproc/xerces-c/Makefile | 3 ++- textproc/xerces-c/distinfo | 3 ++- textproc/xerces-c/patches/patch-af | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 textproc/xerces-c/patches/patch-af diff --git a/textproc/xerces-c/Makefile b/textproc/xerces-c/Makefile index 2cc8030bbb6..9dceeed51a9 100644 --- a/textproc/xerces-c/Makefile +++ b/textproc/xerces-c/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.20 2004/03/10 17:58:22 jlam Exp $ +# $NetBSD: Makefile,v 1.21 2004/09/18 02:46:12 minskim Exp $ # DISTNAME= xerces-c-src_2_3_0 PKGNAME= ${DISTNAME:S/-src_/-/:S/_/./g} +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://xml.apache.org/dist/xerces-c/stable/archives/Xerces-C_2_3_0/ diff --git a/textproc/xerces-c/distinfo b/textproc/xerces-c/distinfo index 4aa1bf7f5cd..32ec4f6b7e8 100644 --- a/textproc/xerces-c/distinfo +++ b/textproc/xerces-c/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2004/03/22 17:04:13 kristerw Exp $ +$NetBSD: distinfo,v 1.7 2004/09/18 02:46:12 minskim Exp $ SHA1 (xerces-c-src_2_3_0.tar.gz) = ea47e1899d569344e7ff1ca09f31f725bbe92033 Size (xerces-c-src_2_3_0.tar.gz) = 6885335 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 673eee8137b79deae52297424a68293a00b53a91 SHA1 (patch-ac) = fb187d0c5b7dbc09d31be8dea09c88bea755f87d SHA1 (patch-ad) = 9e6afe4ac10a34201f05198bb62829438de5dc7c SHA1 (patch-ae) = 8e9abade53b8b390fe1e0d00bfa037ebc01f9deb +SHA1 (patch-af) = fd27fa9d54dcfd521d035b840008a109c241e57a diff --git a/textproc/xerces-c/patches/patch-af b/textproc/xerces-c/patches/patch-af new file mode 100644 index 00000000000..f810903c6c9 --- /dev/null +++ b/textproc/xerces-c/patches/patch-af @@ -0,0 +1,16 @@ +$NetBSD: patch-af,v 1.4 2004/09/18 02:46:13 minskim Exp $ + +--- Makefile.incl.orig Tue May 27 15:04:46 2003 ++++ Makefile.incl Fri Sep 17 00:36:28 2004 +@@ -579,6 +579,11 @@ + endif + + ++ifeq (${TRANSCODER}, IconvGNU) ++ ALLLIBS += -liconv ++endif ++ ++ + ###################### SO_NAME #################################### + # + # -- cgit v1.2.3