Files
pkgsrc-ng/net/bind99/patches/patch-configure
2014-11-05 12:41:07 +01:00

36 lines
861 B
Plaintext

$NetBSD: patch-configure,v 1.8 2014/02/02 07:58:20 taca Exp $
* Add DragonFly support.
* Link proper postgresql library.
* Avoid using "==" for argument of test(1).
--- configure.orig 2014-01-27 18:58:24.000000000 +0000
+++ configure
@@ -11685,7 +11685,7 @@ done
;;
esac
- if test "X$PYTHON" == "X"
+ if test "X$PYTHON" = "X"
then
case "$use_python" in
unspec)
@@ -14410,6 +14410,8 @@ case $host in
use_threads=false ;;
*-freebsd*)
use_threads=true ;;
+*-dragonfly*)
+ use_threads=false ;;
*-bsdi[234]*)
# Thread signals do not work reliably on some versions of BSD/OS.
use_threads=false ;;
@@ -19538,7 +19540,7 @@ $as_echo "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