File pdns-2.9.21.1-wrong-pgsql.patch of Package pdns

Index: configure.in
===================================================================
--- configure.in.orig	2007-04-21 15:56:36.000000000 +0200
+++ configure.in	2008-04-23 23:20:28.000000000 +0200
@@ -314,7 +314,7 @@ then
 	PGSQL_libdir=
 	for m in $PGSQL_lib_check; do
 	        if test -d "$m" && \
-		   (test -f "$m/libpq.a" || test -f "$m/libpq++.a")
+		   (test -f "$m/libpq.so" || test -f "$m/libpq++.so")
 	        then
 	                PGSQL_libdir=$m
 	                break
openSUSE Build Service is sponsored by