diff options
Diffstat (limited to 'textproc/xerces-c/patches/patch-ar')
-rw-r--r-- | textproc/xerces-c/patches/patch-ar | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/textproc/xerces-c/patches/patch-ar b/textproc/xerces-c/patches/patch-ar index 1d1ec1c6bbb..c5f0b954d7c 100644 --- a/textproc/xerces-c/patches/patch-ar +++ b/textproc/xerces-c/patches/patch-ar @@ -1,15 +1,26 @@ -$NetBSD: patch-ar,v 1.1 2005/12/31 00:56:42 joerg Exp $ +$NetBSD: patch-ar,v 1.2 2006/08/10 13:44:22 abs Exp $ ---- util/XercesDefs.hpp.orig 2005-12-31 00:13:13.000000000 +0000 -+++ util/XercesDefs.hpp -@@ -280,6 +280,10 @@ - #include <xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp> - #endif +--- ../../tests/Makefile.incl.orig 2005-09-07 16:56:40.000000000 +0100 ++++ ../../tests/Makefile.incl +@@ -240,6 +240,21 @@ ifeq (${PLATFORM}, FREEBSD) + SHLIBSUFFIX=.so + endif -+#if defined(XML_DRAGONFLY) -+#include <xercesc/util/Platforms/DragonFly/DragonFlyDefs.hpp> -+#endif ++#=============== DRAGONFLY SPECIFIC OPTIONS ========================= ++ifeq (${PLATFORM}, DRAGONFLY) ++ CMP= -c ${CXXFLAGS} ++ CC= ${COMPILER} -c -D${PLATFORM} -fPIC ++ LINK = ${COMPILER} -D${PLATFORM} -fPIC ${LDFLAGS} ++ PLATFORM_LIB_LINK_OPTIONS=-Wl,-rpath,${XERCESCROOT}/lib ++ ifdef ICUROOT ++ PLATFORM_LIB_LINK_OPTIONS+=-L${ICUROOT} -Wl,-rpath,${ICUROOT} ++ EXTRA_LINK_OPTIONS=-licudata -lstdc++ ${EXTRA_LIBS} ++ else ++ EXTRA_LINK_OPTIONS=${EXTRA_LIBS} -lstdc++ ++ endif ++ SHLIBSUFFIX=.so ++endif + - #if defined(XML_OS390) - #include <xercesc/util/Platforms/OS390/OS390Defs.hpp> - #endif + #=============== NETBSD SPECIFIC OPTIONS ========================= + ifeq (${PLATFORM}, NETBSD) + CMP= -c ${CXXFLAGS} |