svn commit: r427386 - branches/2016Q4/dns/powerdns-recursor
Thomas Zander
riggs at FreeBSD.org
Tue Nov 29 17:12:30 UTC 2016
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 at 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>
More information about the svn-ports-branches
mailing list