pkgsrc/net/bind96/patches/patch-ad
taca 2400a412ff Update net/bind96 package to 9.6.2pl2 (9.6.2-P2).
--- 9.6.2-P2 released ---

2876.	[bug]		Named could return SERVFAIL for negative responses
			from unsigned zones. [RT #21131]

	--- 9.6.2-P1 released ---

2852.	[bug]		Handle broken DNSSEC trust chains better. [RT #15619]
2010-05-26 15:57:37 +00:00

74 lines
2.3 KiB
Text

$NetBSD: patch-ad,v 1.4 2010/05/26 15:57:37 taca Exp $
--- configure.orig 2009-10-16 04:30:13.000000000 +0000
+++ configure
@@ -23124,6 +23124,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 ;;
@@ -23212,7 +23214,7 @@ echo "$as_me: WARNING: linking with PTL2
echo "${ECHO_T}native" >&6; }
LIBS="-lpthread $LIBS"
else
- if test ! -d $LOCALBASE/pthreads
+ if test ! -d $LOCALBASE/pthreads -a ! -f /usr/include/pthread.h
then
{ echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6; }
@@ -23223,14 +23225,23 @@ echo "$as_me: error: \"could not find th
if $use_threads
then
- { echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5
+ if test -f /usr/include/pthread.h
+ then
+ { echo "$as_me:$LINENO: result: native pthreads" >&5
+$as_echo "native pthreads" >&6; }
+ LIBS="-lpthread $LIBS"
+ CPPFLAGS="$CPPFLAGS -I/usr/include"
+ STD_CINDLUES="$STD_CINDLUES -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"
+ 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
@@ -25648,9 +25659,9 @@ case $use_libtool in
O=lo
A=la
LIBTOOL_MKDEP_SED='s;\.o;\.lo;'
- LIBTOOL_MODE_COMPILE='--mode=compile'
+ LIBTOOL_MODE_COMPILE='--mode=compile --tag=CC'
LIBTOOL_MODE_INSTALL='--mode=install'
- LIBTOOL_MODE_LINK='--mode=link'
+ LIBTOOL_MODE_LINK='--mode=link --tag=CC'
case "$host" in
*) LIBTOOL_ALLOW_UNDEFINED= ;;
esac
@@ -32072,7 +32083,7 @@ echo "${ECHO_T}no" >&6; }
fi
if test -n "-L$use_dlz_postgres_lib -lpq"
then
- DLZ_DRIVER_LIBS="$DLZ_DRIVER_LIBS -L$use_dlz_postgres_lib -lpq"
+ DLZ_DRIVER_LIBS="$DLZ_DRIVER_LIBS -L${PREFIX}/lib -lpq"
fi