diff options
Diffstat (limited to 'net/bind9/patches/patch-ad')
-rw-r--r-- | net/bind9/patches/patch-ad | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/net/bind9/patches/patch-ad b/net/bind9/patches/patch-ad index 23107d8446d..20f11f1be1e 100644 --- a/net/bind9/patches/patch-ad +++ b/net/bind9/patches/patch-ad @@ -1,8 +1,17 @@ -$NetBSD: patch-ad,v 1.4 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-ad,v 1.5 2006/03/22 16:40:08 joerg Exp $ --- configure- 2004-05-16 05:05:10.000000000 +0900 +++ configure 2004-05-16 05:08:20.000000000 +0900 -@@ -5416,14 +5416,22 @@ +@@ -5480,6 +5480,8 @@ case $host in + use_threads=false ;; + *-freebsd*) + use_threads=false ;; ++*-dragonfly*) ++ use_threads=false ;; + *-bsdi234*) + # Thread signals do not work reliably on some versions of BSD/OS. + use_threads=false ;; +@@ -5579,14 +5581,22 @@ echo "$as_me: error: \"could not find th if $use_threads then @@ -33,3 +42,14 @@ $NetBSD: patch-ad,v 1.4 2004/10/03 09:20:41 tron Exp $ fi fi fi +@@ -6727,6 +6737,10 @@ fi + CCOPT="$CCOPT -pthread" + STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE" + ;; ++ *-dragonfly*) ++ CC="$CC -pthread" ++ CCOPT="$CCOPT -pthread" ++ ;; + *-openbsd*) + CC="$CC -pthread" + CCOPT="$CCOPT -pthread" |