summaryrefslogtreecommitdiff
path: root/textproc/xerces-c/patches/patch-ai
blob: a67eab06127c7181661cac383bd780d9531148ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ai,v 1.5 2006/08/10 13:44:22 abs Exp $

--- runConfigure.orig	2005-09-07 16:55:53.000000000 +0100
+++ runConfigure
@@ -251,7 +251,7 @@ echo "Extra configure options: $configur
 #
 
 case $platform in
-   aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys)
+   aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys | dragonfly)
        # platform has been recognized
        ;;
    *)
@@ -334,6 +334,9 @@ else
     elif test $platform = "freebsd"; then
         threadingLibs="-pthread -lc_r"
         threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
+    elif test $platform = "dragonfly"; then
+        threadingLibs="-pthread -lc_r"
+        threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"
     elif test $platform = "netbsd"; then
         threadingLibs="-pthread -lpthread"
         threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS"