diff options
author | hans <hans> | 2011-10-12 17:43:14 +0000 |
---|---|---|
committer | hans <hans> | 2011-10-12 17:43:14 +0000 |
commit | e752e471fd35251266761343d655df4457ce4411 (patch) | |
tree | edb104440997fdbc1dbd7cba9312bf947e3b3492 /textproc/xerces-c | |
parent | 2281449032460723ccc62fe2f53dc6854f06b4f2 (diff) | |
download | pkgsrc-e752e471fd35251266761343d655df4457ce4411.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'textproc/xerces-c')
-rw-r--r-- | textproc/xerces-c/Makefile | 12 | ||||
-rw-r--r-- | textproc/xerces-c/PLIST | 3 |
2 files changed, 11 insertions, 4 deletions
diff --git a/textproc/xerces-c/Makefile b/textproc/xerces-c/Makefile index 0e9a0af9050..13244fdbf80 100644 --- a/textproc/xerces-c/Makefile +++ b/textproc/xerces-c/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.40 2011/02/23 08:32:41 adam Exp $ +# $NetBSD: Makefile,v 1.41 2011/10/12 17:43:14 hans Exp $ DISTNAME= xerces-c-3.1.1 CATEGORIES= textproc @@ -17,17 +17,23 @@ USE_LIBTOOL= yes USE_TOOLS+= gmake PKGCONFIG_OVERRIDE= xerces-c.pc.in GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --without-curl +CONFIGURE_ARGS+= --without-icu .include "../../mk/bsd.prefs.mk" -PLIST_VARS+= gnuiconv macunicode +PLIST_VARS+= iconv gnuiconv macunicode .if ${OPSYS} == "Darwin" PLIST.macunicode= yes +.elif ${OPSYS} == "SunOS" +PLIST.iconv= yes +CONFIGURE_ARGS+= --enable-transcoder-iconv .else PLIST.gnuiconv= yes +CONFIGURE_ARGS+= --enable-transcoder-gnuiconv +.include "../../converters/libiconv/buildlink3.mk" .endif -.include "../../converters/libiconv/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/xerces-c/PLIST b/textproc/xerces-c/PLIST index b0990fe3e1e..515302bd7d5 100644 --- a/textproc/xerces-c/PLIST +++ b/textproc/xerces-c/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2011/02/23 08:31:13 adam Exp $ +@comment $NetBSD: PLIST,v 1.10 2011/10/12 17:43:14 hans Exp $ bin/CreateDOMDocument bin/DOMCount bin/DOMPrint @@ -302,6 +302,7 @@ include/xercesc/util/SynchronizedStringPool.hpp include/xercesc/util/TransENameMap.c include/xercesc/util/TransENameMap.hpp include/xercesc/util/TransService.hpp +${PLIST.iconv}include/xercesc/util/Transcoders/Iconv/IconvTransService.hpp ${PLIST.gnuiconv}include/xercesc/util/Transcoders/IconvGNU/IconvGNUTransService.hpp ${PLIST.macunicode}include/xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.hpp include/xercesc/util/TranscodingException.hpp |