diff options
author | joerg <joerg@pkgsrc.org> | 2013-02-19 22:35:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-02-19 22:35:15 +0000 |
commit | 4eae5d8326499af0041530eedc5ca14d9840575a (patch) | |
tree | 1e0ca95c282b13254404ec6b4630e0e5705649d4 /net | |
parent | 8104299e316ad5a67f5ca2c5b2319d21f251a08c (diff) | |
download | pkgsrc-4eae5d8326499af0041530eedc5ca14d9840575a.tar.gz |
Request C++11 when building with clang.
Diffstat (limited to 'net')
-rw-r--r-- | net/powerdns-recursor/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
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: |