Created
April 26, 2013 11:47
-
-
Save Habbie/5466896 to your computer and use it in GitHub Desktop.
Build fix for pgsqlbackend @ FreeBSD
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.21-svn.20060819.884/configure.in pdns-2.9.21-svn.20060819.884-fix/configure.in | |
--- pdns-2.9.21-svn.20060819.884/configure.in Sat Aug 19 14:35:36 2006 | |
+++ pdns-2.9.21-svn.20060819.884-pgsqlbackend-build-freebsd/configure.in Mon Sep 18 15:44:36 2006 | |
@@ -423,6 +423,15 @@ | |
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=`echo $modulelibs|sed 's/-lresolv//g'` | |
+ modulelibs=`echo $modulelibs|sed 's/-lnsl//g'` | |
+ ;; | |
+ esac | |
+ fi | |
done | |
for a in $dynmodules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment