Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 11:49:26 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505025 - head/dns/powerdns/files
Message-ID:  <201906241149.x5OBnQgw080843@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Mon Jun 24 11:49:26 2019
New Revision: 505025
URL: https://svnweb.freebsd.org/changeset/ports/505025

Log:
  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

Added:
  head/dns/powerdns/files/patch-configure   (contents, props changed)

Added: head/dns/powerdns/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/powerdns/files/patch-configure	Mon Jun 24 11:49:26 2019	(r505025)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906241149.x5OBnQgw080843>