dns/powerdns-recursor: fix build and update

Don't add -L/usr/lib unconditionally, it makes gcc8 (used on gcc architectures) link to base libstdc++.
Update to 4.1.13.

PR:		237947
Approved by:	tcberner (mentor), tremere@cainites.net (maintainer)
Differential Revision:	https://reviews.freebsd.org/D20423
This commit is contained in:
Piotr Kubaj 2019-05-27 19:14:18 +00:00
parent 5d0e1d8778
commit abd28af5aa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502813
3 changed files with 19 additions and 6 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= recursor
DISTVERSION= 4.1.12
PORTREVISION= 1
DISTVERSION= 4.1.13
CATEGORIES= dns ipv6
MASTER_SITES= http://downloads.powerdns.com/releases/
PKGNAMEPREFIX= powerdns-
@ -17,7 +16,6 @@ LICENSE= GPLv2
BROKEN_armv6= fails to compile: use of overloaded operator << is ambiguous
BROKEN_armv7= fails to compile: use of overloaded operator << is ambiguous
BROKEN_sparc64= fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt
BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
LIB_DEPENDS= libboost_context.so:devel/boost-libs \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1554205295
SHA256 (pdns-recursor-4.1.12.tar.bz2) = e41c0a9825915084794edd86e31bb9bde558a5efa8e178c168b82546fecdb0c8
SIZE (pdns-recursor-4.1.12.tar.bz2) = 1245110
TIMESTAMP = 1558440772
SHA256 (pdns-recursor-4.1.13.tar.bz2) = 1328b75b1ff3df0b0ea097db793dd7c4a8fdb681bf2df87f96c9347fd1d6466f
SIZE (pdns-recursor-4.1.13.tar.bz2) = 1246775

View File

@ -0,0 +1,15 @@
--- configure.orig 2019-05-17 10:25:29 UTC
+++ configure
@@ -19350,8 +19350,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