dev-libs/crypto++: fix shared library on non intel
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 21 Oct 2016 17:57:06 +0000 (20:57 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 21 Oct 2016 17:57:23 +0000 (20:57 +0300)
Bug: 597514

dev-libs/crypto++/crypto++-5.6.4-r4.ebuild [moved from dev-libs/crypto++/crypto++-5.6.4-r3.ebuild with 95% similarity]

similarity index 95%
rename from dev-libs/crypto++/crypto++-5.6.4-r3.ebuild
rename to dev-libs/crypto++/crypto++-5.6.4-r4.ebuild
index f19fedd1f21e8947091bc488e9788474d52ad469..a119cd7b519af32c27a1f192ccb4a400c104ebfc 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
 
 DESCRIPTION="C++ class library of cryptographic schemes"
 HOMEPAGE="http://cryptopp.com"
@@ -20,6 +20,8 @@ DEPEND="app-arch/unzip"
 S="${WORKDIR}"
 
 src_configure() {
+       append-flags -fPIC # bug#597514
+
        local mycmakeargs=(
                -DBUILD_SHARED=ON
                -DBUILD_STATIC=$(usex static-libs ON $(usex test ON OFF))