summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2018-07-31 11:58:49 +0100
committerAmy Liffey <amynka@gentoo.org>2018-07-31 12:16:34 +0100
commitf03191739e3440683381a1192edcd44df847f560 (patch)
tree1944e15c1577c15cf9894c0305e1ae1ee617f75b
parentprofiles/package.mask: last-rite old e17 libs (diff)
downloadgentoo-f03191739e3440683381a1192edcd44df847f560.tar.gz
gentoo-f03191739e3440683381a1192edcd44df847f560.tar.bz2
gentoo-f03191739e3440683381a1192edcd44df847f560.zip
app-crypt/codecrypt: compatible with with new crypto++
Closes: https://bugs.gentoo.org/655086 Submitted-by: Mirek Kratochvil <exa.exa@gmail.com> Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--app-crypt/codecrypt/codecrypt-1.8-r1.ebuild (renamed from app-crypt/codecrypt/codecrypt-1.8.ebuild)9
1 files changed, 4 insertions, 5 deletions
diff --git a/app-crypt/codecrypt/codecrypt-1.8.ebuild b/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
}