diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2018-05-17 12:29:53 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2018-05-17 12:31:12 +0200 |
commit | 773709ec686624a37ca8bd1725bdb6739bd2b278 (patch) | |
tree | ca4a032bc71a1893fda113b1325453f9d3cba24f | |
parent | virtual/os-headers: no linux-headers for prefix-guest (diff) | |
download | gentoo-773709ec686624a37ca8bd1725bdb6739bd2b278.tar.gz gentoo-773709ec686624a37ca8bd1725bdb6739bd2b278.tar.bz2 gentoo-773709ec686624a37ca8bd1725bdb6739bd2b278.zip |
dev-lang/perl: use host errno.h with prefix-guest, bug #645804
Closes: https://bugs.gentoo.org/645804
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | dev-lang/perl/perl-5.26.2.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/perl/perl-5.26.9999.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/perl/perl-5.26.2.ebuild b/dev-lang/perl/perl-5.26.2.ebuild index 2c84ddbd0ed9..4d68b551fc9b 100644 --- a/dev-lang/perl/perl-5.26.2.ebuild +++ b/dev-lang/perl/perl-5.26.2.ebuild @@ -331,7 +331,7 @@ src_prepare() { fi # Use errno.h from prefix rather than from host system, bug #645804 - if use prefix; then + if use prefix && ! use prefix-guest; then sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die fi diff --git a/dev-lang/perl/perl-5.26.9999.ebuild b/dev-lang/perl/perl-5.26.9999.ebuild index 2c84ddbd0ed9..4d68b551fc9b 100644 --- a/dev-lang/perl/perl-5.26.9999.ebuild +++ b/dev-lang/perl/perl-5.26.9999.ebuild @@ -331,7 +331,7 @@ src_prepare() { fi # Use errno.h from prefix rather than from host system, bug #645804 - if use prefix; then + if use prefix && ! use prefix-guest; then sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die fi |