diff options
author | David Seifert <soap@gentoo.org> | 2018-02-19 19:17:20 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2018-02-19 20:40:17 +0100 |
commit | 79df98bed45620214fe893bd8843a3ae1e579243 (patch) | |
tree | 489cec7485ab7b0b95a354c07997fbf39d6c7a61 | |
parent | dev-db/firebird: Always build in C++11 mode (diff) | |
download | gentoo-79df98bed45620214fe893bd8843a3ae1e579243.tar.gz gentoo-79df98bed45620214fe893bd8843a3ae1e579243.tar.bz2 gentoo-79df98bed45620214fe893bd8843a3ae1e579243.zip |
dev-libs/collada-dom: Always build in C++14 mode
Closes: https://bugs.gentoo.org/618960
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | dev-libs/collada-dom/collada-dom-2.5.0.ebuild | 9 | ||||
-rw-r--r-- | dev-libs/collada-dom/collada-dom-9999.ebuild | 9 |
2 files changed, 16 insertions, 2 deletions
diff --git a/dev-libs/collada-dom/collada-dom-2.5.0.ebuild b/dev-libs/collada-dom/collada-dom-2.5.0.ebuild index 46cc5b8cffbf..610f4d0ace18 100644 --- a/dev-libs/collada-dom/collada-dom-2.5.0.ebuild +++ b/dev-libs/collada-dom/collada-dom-2.5.0.ebuild @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/rdiankov/collada-dom" fi -inherit ${SCM} cmake-utils +inherit ${SCM} cmake-utils flag-o-matic if [ "${PV#9999}" != "${PV}" ] ; then KEYWORDS="" @@ -38,3 +38,10 @@ RDEPEND=" " DEPEND="${RDEPEND} virtual/pkgconfig" + +src_configure() { + # bug 618960 + append-cxxflags -std=c++14 + + cmake-utils_src_configure +} diff --git a/dev-libs/collada-dom/collada-dom-9999.ebuild b/dev-libs/collada-dom/collada-dom-9999.ebuild index 46cc5b8cffbf..610f4d0ace18 100644 --- a/dev-libs/collada-dom/collada-dom-9999.ebuild +++ b/dev-libs/collada-dom/collada-dom-9999.ebuild @@ -9,7 +9,7 @@ if [ "${PV#9999}" != "${PV}" ] ; then EGIT_REPO_URI="https://github.com/rdiankov/collada-dom" fi -inherit ${SCM} cmake-utils +inherit ${SCM} cmake-utils flag-o-matic if [ "${PV#9999}" != "${PV}" ] ; then KEYWORDS="" @@ -38,3 +38,10 @@ RDEPEND=" " DEPEND="${RDEPEND} virtual/pkgconfig" + +src_configure() { + # bug 618960 + append-cxxflags -std=c++14 + + cmake-utils_src_configure +} |