$NetBSD: patch-ac,v 1.1 2013/01/22 13:25:15 noud4 Exp $ --- samples/runConfigure.orig 2009-05-08 14:24:05 +0300 +++ samples/runConfigure 2009-05-08 14:26:54 +0300 @@ -35,7 +35,7 @@ usage() echo "Usage: runConfigure \"options\"" echo " where options may be any of the following:" echo " -p (accepts 'aix', 'linux', 'freebsd', 'netbsd', 'solaris', - 'hp-10', 'hp-11', 'irix', 'tru64', 'macosx')" + 'hp-10', 'hp-11', 'irix', 'tru64', 'macosx', 'dragonfly')" echo " -c (e.g. gcc, cc, xlc)" echo " -x (e.g. g++, CC, xlC)" echo " -d (specifies that you want to build debug version)" @@ -156,7 +156,7 @@ echo "Extra configure options: $configur # case $platform in - aix | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | irix | tru64 | macosx) + aix | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | irix | tru64 | macosx | dragonfly) # platform has been recognized ;; *) @@ -193,7 +193,7 @@ fi # # aix | linux | hp-11 | solaris | -# hp-10 | freebsd | netbsd | irix | openserver | unixware | os400 | ptx | tru64 | macosx +# hp-10 | freebsd | netbsd | irix | openserver | unixware | os400 | ptx | tru64 | macosx | dragonfly # if test $bitsToBuild = 64; then bitstobuildDefines=" -DXML_BITSTOBUILD_64 " @@ -304,6 +304,8 @@ elif test $platform = "netbsd"; then elif test $platform = "hp-10"; then threadingLibs="-lcma" threadingDefines="-DXML_USE_DCE" +elif test $platform = "dragonfly"; then + threadingLibs="-lpthread" fi