From f03191739e3440683381a1192edcd44df847f560 Mon Sep 17 00:00:00 2001 From: Amy Liffey Date: Tue, 31 Jul 2018 11:58:49 +0100 Subject: [PATCH] app-crypt/codecrypt: compatible with with new crypto++ Closes: https://bugs.gentoo.org/655086 Submitted-by: Mirek Kratochvil Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- .../{codecrypt-1.8.ebuild => codecrypt-1.8-r1.ebuild} | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) rename app-crypt/codecrypt/{codecrypt-1.8.ebuild => codecrypt-1.8-r1.ebuild} (65%) 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 f885b161e891..effd43182526 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 } -- 2.26.2