commit:     fb80dd5a2d4ef90e0401d408e6ed12f0d6e5cde4
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 17:57:06 2016 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 17:57:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb80dd5a

dev-libs/crypto++: fix shared library on non intel

Bug: 597514

 .../crypto++/{crypto++-5.6.4-r3.ebuild => crypto++-5.6.4-r4.ebuild}   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/crypto++/crypto++-5.6.4-r3.ebuild 
b/dev-libs/crypto++/crypto++-5.6.4-r4.ebuild
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 f19fedd..a119cd7 100644
--- a/dev-libs/crypto++/crypto++-5.6.4-r3.ebuild
+++ b/dev-libs/crypto++/crypto++-5.6.4-r4.ebuild
@@ -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))

Reply via email to