From owner-svn-ports-branches@freebsd.org Tue Nov 29 17:12:30 2016 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B008C5BA06; Tue, 29 Nov 2016 17:12:30 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DEAAC17E7; Tue, 29 Nov 2016 17:12:29 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uATHCTRN057909; Tue, 29 Nov 2016 17:12:29 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uATHCTSP057908; Tue, 29 Nov 2016 17:12:29 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201611291712.uATHCTSP057908@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Tue, 29 Nov 2016 17:12:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r427386 - branches/2016Q4/dns/powerdns-recursor X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2016 17:12:30 -0000 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 +.include + +.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