net-p2p/qbittorrent: sync live ebuild
authorDavide Pesavento <pesa@gentoo.org>
Thu, 5 May 2016 01:07:15 +0000 (03:07 +0200)
committerDavide Pesavento <pesa@gentoo.org>
Thu, 5 May 2016 01:07:15 +0000 (03:07 +0200)
Package-Manager: portage-2.2.28

net-p2p/qbittorrent/qbittorrent-9999.ebuild

index c98d0ca8a65f68d7811771dd915aba699280114f..70a4b9642c57de9314dda97727c8a572e80da688 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit qmake-utils
+inherit flag-o-matic qmake-utils
 
 DESCRIPTION="BitTorrent client in C++ and Qt"
 HOMEPAGE="http://www.qbittorrent.org/"
@@ -58,6 +58,12 @@ DEPEND="${RDEPEND}
 DOCS=(AUTHORS Changelog CONTRIBUTING.md README.md TODO)
 
 src_configure() {
+       # workaround build issue with older boost
+       # https://github.com/qbittorrent/qBittorrent/issues/4112
+       if has_version '<dev-libs/boost-1.58'; then
+               append-cppflags -DBOOST_NO_CXX11_REF_QUALIFIERS
+       fi
+
        econf \
                --with-qjson=system \
                --with-qtsingleapplication=system \