summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xerces-c/patches/patch-aj')
-rw-r--r--textproc/xerces-c/patches/patch-aj38
1 files changed, 13 insertions, 25 deletions
diff --git a/textproc/xerces-c/patches/patch-aj b/textproc/xerces-c/patches/patch-aj
index a8e97bdd44f..b9c67421a32 100644
--- a/textproc/xerces-c/patches/patch-aj
+++ b/textproc/xerces-c/patches/patch-aj
@@ -1,26 +1,14 @@
-$NetBSD: patch-aj,v 1.3 2005/12/31 00:56:42 joerg Exp $
+$NetBSD: patch-aj,v 1.4 2006/08/10 13:44:22 abs Exp $
---- ../../tests/Makefile.incl.orig 2005-12-30 23:56:39.000000000 +0000
-+++ ../../tests/Makefile.incl
-@@ -234,6 +234,21 @@ ifeq (${PLATFORM}, FREEBSD)
- SHLIBSUFFIX=.so
- 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
-+
- #=============== NETBSD SPECIFIC OPTIONS =========================
- ifeq (${PLATFORM}, NETBSD)
- CMP= -c ${CXXFLAGS}
+--- util/AutoSense.hpp.orig 2005-09-07 16:55:50.000000000 +0100
++++ util/AutoSense.hpp
+@@ -61,6 +61,9 @@
+ #elif defined(__FreeBSD__)
+ #define XML_FREEBSD
+ #define XML_UNIX
++#elif defined(__DragonFly__)
++ #define XML_DRAGONFLY
++ #define XML_UNIX
+ #elif defined(IRIX) || defined(__sgi)
+ #define XML_IRIX
+ #define XML_UNIX