From 4eae5d8326499af0041530eedc5ca14d9840575a Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 19 Feb 2013 22:35:15 +0000 Subject: Request C++11 when building with clang. --- net/powerdns-recursor/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/powerdns-recursor/Makefile b/net/powerdns-recursor/Makefile index 39eef5e5f5e..915b491aaab 100644 --- a/net/powerdns-recursor/Makefile +++ b/net/powerdns-recursor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2012/10/23 17:19:00 asau Exp $ +# $NetBSD: Makefile,v 1.9 2013/02/19 22:35:15 joerg Exp $ # DISTNAME= pdns-recursor-3.3 @@ -28,7 +28,11 @@ INSTALL_MAKE_FLAGS+= CONFIGDIR=${EGDIR} MANDIR=${PREFIX}/${PKGMANDIR} CONF_FILES+= ${EGDIR}/recursor.conf-dist \ ${PKG_SYSCONFDIR}/recursor.conf -.include "../../mk/bsd.prefs.mk" +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -std=c++11 +.endif + .include "options.mk" post-patch: -- cgit v1.2.3