media-sound/ardour: libsigc++-2.6.0 preparation. See bug 564414
authorAndreas Schuerch <nativemad@gentoo.org>
Sun, 1 Nov 2015 12:05:10 +0000 (13:05 +0100)
committerAndreas Schuerch <nativemad@gentoo.org>
Sun, 1 Nov 2015 12:05:10 +0000 (13:05 +0100)
Package-Manager: portage-2.2.20.1

media-sound/ardour/ardour-4.4.ebuild
media-sound/ardour/ardour-9999.ebuild

index edeb9ed201cdb2de1859cbcff50595f8b14574c8..e679540ab020434a6a86c89c0c3ed6dbd06250e1 100644 (file)
@@ -69,6 +69,12 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        doc? ( app-doc/doxygen[dot] )"
 
+pkg_setup() {
+       if has_version \>=dev-libs/libsigc++-2.6 ; then
+               append-cxxflags -std=c++11
+       fi
+}
+
 src_prepare(){
        if ! [[ ${PV} == *9999* ]]; then
                epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch
index da43984fdba142fc2d67419ba75bc858b49cb259..81a76d3c3a2ea5254e316eb9f5b872e19287f88f 100644 (file)
@@ -69,6 +69,12 @@ DEPEND="${RDEPEND}
        virtual/pkgconfig
        doc? ( app-doc/doxygen[dot] )"
 
+pkg_setup() {
+       if has_version \>=dev-libs/libsigc++-2.6 ; then
+               append-cxxflags -std=c++11
+       fi
+}
+
 src_prepare(){
        if ! [[ ${PV} == *9999* ]]; then
                epatch "${FILESDIR}"/${PN}-4.x-revision-naming.patch