summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-06 19:53:27 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-06 19:53:27 +0000
commitca89e43c7da1223d595c504572053aad409d0dbb (patch)
tree965ef2cd739ba53fc1f3e396e19f43cefdef4a6e /inputmethod
parentfa5d57a5c6f341b3f9868d1aa23ba8e93cce3682 (diff)
downloadpkgsrc-ca89e43c7da1223d595c504572053aad409d0dbb.tar.gz
Uses C++-2011 features
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ibus-pinyin/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/inputmethod/ibus-pinyin/Makefile b/inputmethod/ibus-pinyin/Makefile
index 9329c5d8136..cba191597e9 100644
--- a/inputmethod/ibus-pinyin/Makefile
+++ b/inputmethod/ibus-pinyin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/11/13 04:42:08 obache Exp $
+# $NetBSD: Makefile,v 1.9 2011/12/06 19:53:27 joerg Exp $
#
DISTNAME= ibus-pinyin-1.3.11
@@ -43,11 +43,16 @@ CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-headers}
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
.if ${OPSYS} == "Linux"
. include "../../devel/libuuid/buildlink3.mk"
.endif
+.if (!empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)) || !empty(PKGSRC_COMPILER:Mclang)
+CXXFLAGS+= -std=c++0x
+.endif
+
.include "../../inputmethod/ibus/bad-env-usage.mk"
.include "../../databases/sqlite3/buildlink3.mk"