summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2013-05-06 14:59:34 +0000
committerjoerg <joerg>2013-05-06 14:59:34 +0000
commitaa1145c04fd36e8186425c52bc16b327a767cae0 (patch)
tree8676194540854b6524fecb8dff7a9f239fd874b5
parent09affaa899b5e780edb7a6d5926fb35a40ba9c44 (diff)
downloadpkgsrc-aa1145c04fd36e8186425c52bc16b327a767cae0.tar.gz
Request C++11 for clang.
-rw-r--r--textproc/FlightCrew/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/FlightCrew/Makefile b/textproc/FlightCrew/Makefile
index e167b20fe5b..c4dc28a5100 100644
--- a/textproc/FlightCrew/Makefile
+++ b/textproc/FlightCrew/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2013/02/16 11:24:38 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2013/05/06 14:59:34 joerg Exp $
#
DISTNAME= FlightCrew-0.7.2-Code
@@ -41,6 +41,8 @@ SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
# GCC 4.4 and above needs this
.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)
_WRAP_EXTRA_ARGS.CXX+= -std=c++0x
+.elif !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CXX+= -std=c++11
.endif
.include "../../devel/googletest/buildlink3.mk"