aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2019-06-24 11:49:26 +0000
committerMark Linimon <linimon@FreeBSD.org>2019-06-24 11:49:26 +0000
commitcb0b9b5b3570911d0859242a86a3344c39cbf35a (patch)
tree1c80b1a727f3bbfca0e332dab011d53b808a8545 /dns
parent90e4b548d64d954f1039abba589e78cc4f0764f0 (diff)
downloadports-cb0b9b5b3570911d0859242a86a3344c39cbf35a.tar.gz
ports-cb0b9b5b3570911d0859242a86a3344c39cbf35a.zip
Similar to r502813 for dns/powerdns-recursor, fix build on GCC-based
systems: Don't add -L/usr/lib unconditionally, it makes gcc8 (used on GCC-based systems) link to base libstdc++. Given that this is a build fix that does not affect clang-based systems, there should be no need to bump portrevision. PR: 238742 Reported by: pkubaj Approved by: maintainer
Notes
Notes: svn path=/head/; revision=505025
Diffstat (limited to 'dns')
-rw-r--r--dns/powerdns/files/patch-configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/dns/powerdns/files/patch-configure b/dns/powerdns/files/patch-configure
new file mode 100644
index 000000000000..e07547e68394
--- /dev/null
+++ b/dns/powerdns/files/patch-configure
@@ -0,0 +1,15 @@
+--- configure.orig 2019-03-22 11:48:09 UTC
++++ configure
+@@ -18170,8 +18170,10 @@ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/crypto.h in $ssldir" >&5
+ $as_echo_n "checking for openssl/crypto.h in $ssldir... " >&6; }
+ if test -f "$ssldir/include/openssl/crypto.h"; then
+- LIBCRYPTO_INCLUDES="-I$ssldir/include"
+- LIBCRYPTO_LDFLAGS="-L$ssldir/lib"
++ if test $ssldir != /usr; then
++ LIBCRYPTO_INCLUDES="-I$ssldir/include"
++ LIBCRYPTO_LDFLAGS="-L$ssldir/lib"
++ fi
+ LIBCRYPTO_LIBS="-lcrypto"
+ found=true
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5