Created
April 26, 2013 11:47
-
-
Save Habbie/5466897 to your computer and use it in GitHub Desktop.
Updated patch for 2.9.22-rc1, with different approach so sed isn't required anylonger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -rNu pdns-2.9.22-rc1/configure.in pdns-2.9.22-rc1-freebsd_gpgsql/configure.in | |
--- pdns-2.9.22-rc1/configure.in Sun Nov 16 21:01:29 2008 | |
+++ pdns-2.9.22-rc1-freebsd_gpgsql/configure.in Wed Nov 19 09:18:21 2008 | |
@@ -515,6 +515,16 @@ | |
moduleobjects="$moduleobjects ../modules/${a}backend/$b" | |
done | |
modulelibs="$modulelibs `cat $srcdir/modules/${a}backend/OBJECTLIBS`" | |
+ | |
+ if test ${a} == "gpgsql"; then | |
+ case "$host_os" in | |
+ freebsd*) | |
+ ;; | |
+ *) | |
+ modulelibs="$modulelibs -lresolv -lnsl" | |
+ ;; | |
+ esac | |
+ fi | |
done | |
for a in $dynmodules | |
diff -rNu pdns-2.9.22-rc1/modules/gpgsqlbackend/OBJECTLIBS pdns-2.9.22-rc1-freebsd_gpgsql/modules/gpgsqlbackend/OBJECTLIBS | |
--- pdns-2.9.22-rc1/modules/gpgsqlbackend/OBJECTLIBS Sun Feb 3 13:14:00 2008 | |
+++ pdns-2.9.22-rc1-freebsd_gpgsql/modules/gpgsqlbackend/OBJECTLIBS Wed Nov 19 09:16:39 2008 | |
@@ -1,3 +1,3 @@ | |
--lpq -lssl -lcrypto -lcrypt -lresolv -lnsl | |
+-lpq -lssl -lcrypto -lcrypt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment