pkgsrc-ng/net/bind99/patches/patch-configure
2016-01-21 23:40:00 +01:00

45 lines
1.2 KiB
Plaintext

$NetBSD: patch-configure,v 1.10 2015/02/26 10:14:10 taca Exp $
* Add DragonFly support.
* Link proper postgresql library.
* Avoid using "==" for argument of test(1).
--- configure.orig 2015-02-18 01:56:06.000000000 +0000
+++ configure
@@ -11691,7 +11691,7 @@ fi
test -n "$PYTHON" && break
done
- if test "X$PYTHON" == "X"; then
+ if test "X$PYTHON" = "X"; then
continue;
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking python module 'argparse'" >&5
@@ -11706,7 +11706,7 @@ $as_echo "not found" >&6; }
unset ac_cv_path_PYTHON
unset PYTHON
done
- if test "X$PYTHON" == "X"
+ if test "X$PYTHON" = "X"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python support" >&5
$as_echo_n "checking for python support... " >&6; }
@@ -14560,6 +14560,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 ;;
@@ -19923,7 +19925,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