dev-lang/perl: fix fix for #645804 during bootstrap

Closes: https://bugs.gentoo.org/670836
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
Fabian Groffen
2018-12-06 11:49:05 +01:00
parent ecaa995bf0
commit 2e39a7b89d
4 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -331,7 +331,7 @@ src_prepare() {
fi
# Use errno.h from prefix rather than from host system, bug #645804
if use prefix && ! use prefix-guest; then
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
fi

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -331,7 +331,7 @@ src_prepare() {
fi
# Use errno.h from prefix rather than from host system, bug #645804
if use prefix && ! use prefix-guest; then
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
fi

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -331,7 +331,7 @@ src_prepare() {
fi
# Use errno.h from prefix rather than from host system, bug #645804
if use prefix && ! use prefix-guest; then
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
fi

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -331,7 +331,7 @@ src_prepare() {
fi
# Use errno.h from prefix rather than from host system, bug #645804
if use prefix && ! use prefix-guest; then
if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then
sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die
fi