summaryrefslogtreecommitdiff
path: root/net/bind99/patches/patch-configure
blob: 55feb165deace0ff7e8e02942c0db943bfe4017a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-configure,v 1.6 2013/09/21 16:00:34 taca Exp $

* Add DragonFly support.
* Link proper postgresql library.
* Avoid using "==" for argument of test(1).

--- configure.orig	2013-09-05 05:09:08.000000000 +0000
+++ configure
@@ -12187,7 +12187,7 @@ done
 
 			;;
 		esac
-		if test "X$PYTHON" == "X"
+		if test "X$PYTHON" = "X"
 		then
 			case "$use_python" in
 			unspec)
@@ -14911,6 +14911,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 ;;
@@ -19944,7 +19946,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