commit: f03191739e3440683381a1192edcd44df847f560 Author: Amy Liffey <amynka <AT> gentoo <DOT> org> AuthorDate: Tue Jul 31 10:58:49 2018 +0000 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> CommitDate: Tue Jul 31 11:16:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0319173
app-crypt/codecrypt: compatible with with new crypto++ Closes: https://bugs.gentoo.org/655086 Submitted-by: Mirek Kratochvil <exa.exa <AT> gmail.com> Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../codecrypt/{codecrypt-1.8.ebuild => codecrypt-1.8-r1.ebuild} | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app-crypt/codecrypt/codecrypt-1.8.ebuild b/app-crypt/codecrypt/codecrypt-1.8-r1.ebuild similarity index 65% rename from app-crypt/codecrypt/codecrypt-1.8.ebuild rename to app-crypt/codecrypt/codecrypt-1.8-r1.ebuild index f885b161e89..effd4318252 100644 --- a/app-crypt/codecrypt/codecrypt-1.8.ebuild +++ b/app-crypt/codecrypt/codecrypt-1.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,14 +15,13 @@ KEYWORDS="~amd64 ~arm ~x86" IUSE="+cryptopp" DEPEND="dev-libs/gmp:= - cryptopp? ( dev-libs/crypto++ ) + cryptopp? ( >=dev-libs/crypto++-7 ) sci-libs/fftw:3.0" RDEPEND="${DEPEND}" - src_prepare() { default - # workaround -- gentoo is missing crypto++ pkg-config file - sed -i -e 's/PKG_CHECK_MODULES(\[CRYPTOPP\],.*/LDFLAGS="$LDFLAGS -lcrypto++"/' configure.ac || die + # workaround -- the library renamed the pkg-config file + sed -i -e 's/PKG_CHECK_MODULES(\[CRYPTOPP\],.*/PKG_CHECK_MODULES([CRYPTOPP], [libcryptopp])/' configure.ac || die eautoreconf }
