From fb80dd5a2d4ef90e0401d408e6ed12f0d6e5cde4 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Fri, 21 Oct 2016 20:57:06 +0300 Subject: [PATCH] dev-libs/crypto++: fix shared library on non intel Bug: 597514 --- .../{crypto++-5.6.4-r3.ebuild => crypto++-5.6.4-r4.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename dev-libs/crypto++/{crypto++-5.6.4-r3.ebuild => crypto++-5.6.4-r4.ebuild} (95%) 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 f19fedd1f21e..a119cd7b519a 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)) -- 2.26.2