From db697e034629235f95d463c385f59e67ad82ca35 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 22 Mar 2006 16:40:08 +0000 Subject: Add DragonFly support. --- net/bind9/distinfo | 6 +++--- net/bind9/patches/patch-ad | 24 ++++++++++++++++++++++-- net/bind9/patches/patch-ae | 29 ++++++++++++++++++++++++++++- 3 files changed, 53 insertions(+), 6 deletions(-) (limited to 'net') diff --git a/net/bind9/distinfo b/net/bind9/distinfo index c1a9d3e7752..0ddd9ea4795 100644 --- a/net/bind9/distinfo +++ b/net/bind9/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.25 2005/06/01 22:23:19 tron Exp $ +$NetBSD: distinfo,v 1.26 2006/03/22 16:40:08 joerg Exp $ SHA1 (bind-9.3.1.tar.gz) = 99df8014e3b500c4d3a6652ec7b1c3cf7bba6f64 RMD160 (bind-9.3.1.tar.gz) = 845778c95d7a9a2c46330cac91001ae9a12151e3 @@ -6,8 +6,8 @@ Size (bind-9.3.1.tar.gz) = 4673603 bytes SHA1 (patch-aa) = 959fe6c66d54fa93a0191065a5d54007065ca707 SHA1 (patch-ab) = dd12c457791a75a8b43d9dfd0c0b236dcdbe31a5 SHA1 (patch-ac) = 57f0fee92a6c84bf422c6b872eb327b755450557 -SHA1 (patch-ad) = 91fb539679a850f1b9ae4af5d6eb8f8ea740f3d9 -SHA1 (patch-ae) = 81b9d96b7c0b8da52ef8970113738d0d37483a5e +SHA1 (patch-ad) = d4a007e641464f3383542b81db4992313e930428 +SHA1 (patch-ae) = 8b562bbbf19eafffbd71ace77f9b26e89d05e272 SHA1 (patch-af) = 1f9058f0c6893a800d1af52b1daf35b45385a78e SHA1 (patch-ag) = 9d61e0f527a76977bf8457355997d201fa37dd4e SHA1 (patch-ah) = b6f6149d5730201c191fa35ba17e14ffc9195f67 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" diff --git a/net/bind9/patches/patch-ae b/net/bind9/patches/patch-ae index 91d93957993..80ef22cc536 100644 --- a/net/bind9/patches/patch-ae +++ b/net/bind9/patches/patch-ae @@ -1,4 +1,4 @@ -$NetBSD: patch-ae,v 1.4 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-ae,v 1.5 2006/03/22 16:40:08 joerg Exp $ --- lib/bind/configure.orig 2004-02-24 11:32:40.000000000 +0900 +++ lib/bind/configure 2004-05-16 05:09:21.000000000 +0900 @@ -43,3 +43,30 @@ $NetBSD: patch-ae,v 1.4 2004/10/03 09:20:41 tron Exp $ fi fi ;; +@@ -5577,6 +5577,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" +@@ -22995,6 +22999,7 @@ case "$host" in + *-bsdi2345*) have_minimum_ifreq=yes;; + *-darwin*) have_minimum_ifreq=yes;; + *-freebsd*) have_minimum_ifreq=yes;; ++ *-drgonfly*) have_minimum_ifreq=yes;; + *-lynxos*) have_minimum_ifreq=yes;; + *-netbsd*) have_minimum_ifreq=yes;; + *-next*) have_minimum_ifreq=yes;; +@@ -23028,6 +23033,7 @@ case "$host" in + *-darwin*) PORT_DIR="port/darwin";; + *-osf*) PORT_DIR="port/decunix";; + *-freebsd*) PORT_DIR="port/freebsd";; ++ *-dragonfly*) PORT_DIR="port/freebsd";; + *-hpux9*) PORT_DIR="port/hpux9";; + *-hpux10*) PORT_DIR="port/hpux10";; + *-hpux11*) PORT_DIR="port/hpux";; -- cgit v1.2.3