Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2016 11:00:35 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427374 - head/dns/powerdns-recursor
Message-ID:  <201611291100.uATB0ZuO005196@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Tue Nov 29 11:00:35 2016
New Revision: 427374
URL: https://svnweb.freebsd.org/changeset/ports/427374

Log:
  Fix build on FreeBSD 9.3
  
  PR:		214816
  Submitted by:	tremere@cainites.net (maintainer)
  MFH:		2016Q4

Modified:
  head/dns/powerdns-recursor/Makefile

Modified: head/dns/powerdns-recursor/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile	Tue Nov 29 10:55:36 2016	(r427373)
+++ head/dns/powerdns-recursor/Makefile	Tue Nov 29 11:00:35 2016	(r427374)
@@ -18,10 +18,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
 
@@ -54,4 +54,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?201611291100.uATB0ZuO005196>