summaryrefslogtreecommitdiff
path: root/net/bind9-current/patches/patch-ad
diff options
context:
space:
mode:
authoritojun <itojun>2004-05-15 21:00:57 +0000
committeritojun <itojun>2004-05-15 21:00:57 +0000
commit8287053eb8971e18ab0ce3b823d65219ef950a0c (patch)
treea9325ed9e37a29ca1c227c2f71e0575f3d9cbe04 /net/bind9-current/patches/patch-ad
parent3243d75e563dd7e79986e7d9ec8c4bcb77dd1b9a (diff)
downloadpkgsrc-8287053eb8971e18ab0ce3b823d65219ef950a0c.tar.gz
ISC BIND 9.3.0beta3. changelog is too many to mention here.
Diffstat (limited to 'net/bind9-current/patches/patch-ad')
-rw-r--r--net/bind9-current/patches/patch-ad35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/bind9-current/patches/patch-ad b/net/bind9-current/patches/patch-ad
new file mode 100644
index 00000000000..33dbe0c9096
--- /dev/null
+++ b/net/bind9-current/patches/patch-ad
@@ -0,0 +1,35 @@
+$NetBSD: patch-ad,v 1.4 2004/05/15 21:00:58 itojun Exp $
+
+--- configure- 2004-05-16 05:05:10.000000000 +0900
++++ configure 2004-05-16 05:08:20.000000000 +0900
+@@ -5416,14 +5416,22 @@
+
+ if $use_threads
+ then
+- echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
+-echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6
+- pkg="$LOCALBASE/pthreads"
+- lib1="-L$pkg/lib -Wl,-R$pkg/lib"
+- lib2="-lpthread -lm -lgcc -lpthread"
+- LIBS="$lib1 $lib2 $LIBS"
+- CPPFLAGS="$CPPFLAGS -I$pkg/include"
+- STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include"
++ if test -f /usr/include/pthreads.h
++ then
++ echo "$as_me:$LINENO: result: native pthreads" >&5
++ LIBS="-lpthread $LIBS"
++ CPPFLAGS="$CPPFLAGS -I/usr/include"
++ STD_CINCLUDES="$STD_CINCLUDES -I/usr/include"
++ else
++ echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
++ echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6
++ pkg="$LOCALBASE/pthreads"
++ lib1="-L$pkg/lib -Wl,-R$pkg/lib"
++ lib2="-lpthread -lm -lgcc -lpthread"
++ LIBS="$lib1 $lib2 $LIBS"
++ CPPFLAGS="$CPPFLAGS -I$pkg/include"
++ STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include"
++ fi
+ fi
+ fi
+ fi