Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2016 17:12:29 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r427386 - branches/2016Q4/dns/powerdns-recursor
Message-ID:  <201611291712.uATHCTSP057908@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Tue Nov 29 17:12:28 2016
New Revision: 427386
URL: https://svnweb.freebsd.org/changeset/ports/427386

Log:
  MFH: r427374
  
  Fix build on FreeBSD 9.3
  
  PR:		214816
  Submitted by:	tremere@cainites.net (maintainer)
  
  Approved by:	ports-secteam (feld)

Modified:
  branches/2016Q4/dns/powerdns-recursor/Makefile
Directory Properties:
  branches/2016Q4/   (props changed)

Modified: branches/2016Q4/dns/powerdns-recursor/Makefile
==============================================================================
--- branches/2016Q4/dns/powerdns-recursor/Makefile	Tue Nov 29 16:10:00 2016	(r427385)
+++ branches/2016Q4/dns/powerdns-recursor/Makefile	Tue Nov 29 17:12:28 2016	(r427386)
@@ -17,10 +17,10 @@ BUILD_DEPENDS=	${LOCALBASE}/include/boos
 LIB_DEPENDS=	libboost_context.so:devel/boost-libs
 
 BROKEN_sparc64=	Does not compile on sparc64
-BROKEN_FreeBSD_9=	linker error
 
-USES=		compiler:c++11-lib cpe gmake pkgconfig ssl tar:bzip2
+USES=		compiler:c++11-lib cpe gmake localbase pkgconfig ssl tar:bzip2
 GNU_CONFIGURE=	YES
+CXXFLAGS+=	-D_GLIBCXX_USE_C99
 
 CPE_VENDOR=	powerdns
 
@@ -53,4 +53,15 @@ USERS=		pdns_recursor
 GROUPS=		pdns
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_9=	FreeBSD 9.x requires SSL from ports
+.endif
+
+.if ${OSVERSION} < 1000000 && ${ARCH} == i386
+#BUILD_DEPENDS=		${LOCALBASE}/lib/libatomic_ops.a:devel/libatomic_ops
+LDFLAGS+=		-latomic
+.endif
+
+.include <bsd.port.post.mk>



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