commit:     2330eee0938dcc2520fe161953ee75a9d9cdf29b
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 18:33:01 2019 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sun Jan 27 18:34:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2330eee0

net-libs/gnutls: hack guile detection

upstream replaced guile.m4 and did not use it correctly.

for now, hack this to detect guile-2.0.

Closes: https://bugs.gentoo.org/show_bug.cgi?id=676402
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/gnutls/gnutls-3.6.6.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net-libs/gnutls/gnutls-3.6.6.ebuild 
b/net-libs/gnutls/gnutls-3.6.6.ebuild
index 9070aaa4a3c..ea49105d00b 100644
--- a/net-libs/gnutls/gnutls-3.6.6.ebuild
+++ b/net-libs/gnutls/gnutls-3.6.6.ebuild
@@ -73,6 +73,11 @@ src_prepare() {
 
        # Use sane .so versioning on FreeBSD.
        elibtoolize
+
+       # detect also guile-2.2, bug#676402
+       # aclocal/autoreconf will require more dependencies
+       # that we want to have
+       sed -i 's/_guile_required_version=2.2$/_guile_required_version=2.0/' 
configure || die
 }
 
 multilib_src_configure() {

Reply via email to