diff options
author | joerg <joerg> | 2011-12-06 19:53:27 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-12-06 19:53:27 +0000 |
commit | b8550166b94cdaee89cd4b15e9e4a5ad8f79b452 (patch) | |
tree | 965ef2cd739ba53fc1f3e396e19f43cefdef4a6e /inputmethod/ibus-pinyin | |
parent | ee64bea39e0f9a24469c8ed7064f2387f2e394e7 (diff) | |
download | pkgsrc-b8550166b94cdaee89cd4b15e9e4a5ad8f79b452.tar.gz |
Uses C++-2011 features
Diffstat (limited to 'inputmethod/ibus-pinyin')
-rw-r--r-- | inputmethod/ibus-pinyin/Makefile | 7 |
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" |