Skip to content

Commit

Permalink
dev-lang/perl: fix fix for #645804 during bootstrap
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/670836
Signed-off-by: Fabian Groffen <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
grobian committed Dec 6, 2018
1 parent ecaa995 commit 2e39a7b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dev-lang/perl/perl-5.26.2.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions dev-lang/perl/perl-5.26.9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions dev-lang/perl/perl-5.28.0.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions dev-lang/perl/perl-5.28.9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2e39a7b

Please sign in to comment.