summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 11:04:30 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-10-06 11:05:07 +0300
commite0b2068fa16248598bfe4a7790e532a43a01972c (patch)
tree7cb967fe9281e242f7c5ea4e3f13b1f16c07c3d1 /net-libs/gnutls
parentmedia-gfx/gimp-9999: fixed plug-ins path (diff)
downloadgentoo-e0b2068fa16248598bfe4a7790e532a43a01972c.tar.gz
gentoo-e0b2068fa16248598bfe4a7790e532a43a01972c.tar.bz2
gentoo-e0b2068fa16248598bfe4a7790e532a43a01972c.zip
net-libs/gnutls: revert explicit prefix added for cross-compile
multilib does not work with this configuration. Closes: https://bugs.gentoo.org/show_bug.cgi?id=667862 Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-libs/gnutls')
-rw-r--r--net-libs/gnutls/gnutls-3.5.19-r1.ebuild2
-rw-r--r--net-libs/gnutls/gnutls-3.6.3.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-libs/gnutls/gnutls-3.5.19-r1.ebuild b/net-libs/gnutls/gnutls-3.5.19-r1.ebuild
index 21b4a74b0dc1..9fc06eac7ed6 100644
--- a/net-libs/gnutls/gnutls-3.5.19-r1.ebuild
+++ b/net-libs/gnutls/gnutls-3.5.19-r1.ebuild
@@ -117,7 +117,7 @@ multilib_src_configure() {
--with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt" \
--without-included-libtasn1 \
"${libconf[@]}" \
- $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
+ $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
}
multilib_src_install_all() {
diff --git a/net-libs/gnutls/gnutls-3.6.3.ebuild b/net-libs/gnutls/gnutls-3.6.3.ebuild
index 92679e621dc4..e28279bbf276 100644
--- a/net-libs/gnutls/gnutls-3.6.3.ebuild
+++ b/net-libs/gnutls/gnutls-3.6.3.ebuild
@@ -113,7 +113,7 @@ multilib_src_configure() {
--with-unbound-root-key-file="${EPREFIX}/etc/dnssec/root-anchors.txt" \
--without-included-libtasn1 \
"${libconf[@]}" \
- $("${S}/configure" --help | grep -- --with-.*-prefix | sed -e 's/prefix.*/prefix/' -e "s#\$#=${EROOT}/usr#")
+ $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
}
multilib_src_install_all() {