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