From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B45E1382C5 for ; Mon, 5 Mar 2018 19:33:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FF1CE082B; Mon, 5 Mar 2018 19:33:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C719E082B for ; Mon, 5 Mar 2018 19:33:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 132DB335C0A for ; Mon, 5 Mar 2018 19:33:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 658591EF for ; Mon, 5 Mar 2018 19:33:08 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1520278167.475f23e198ba9e76dad67a8762eef64c037c55f3.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/perl/perl-5.26.1-r2.ebuild X-VCS-Directories: dev-lang/perl/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 475f23e198ba9e76dad67a8762eef64c037c55f3 X-VCS-Branch: master Date: Mon, 5 Mar 2018 19:33:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a55f68cf-c43d-4263-b5d2-822dfacff738 X-Archives-Hash: d41e18a1448412689fd08b2977165abb commit: 475f23e198ba9e76dad67a8762eef64c037c55f3 Author: Guilherme Amadio gentoo org> AuthorDate: Fri Mar 2 09:19:33 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Mon Mar 5 19:29:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475f23e1 dev-lang/perl: use errno.h from prefix, bug #645804 Closes: https://bugs.gentoo.org/645804 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-lang/perl/perl-5.26.1-r2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-lang/perl/perl-5.26.1-r2.ebuild b/dev-lang/perl/perl-5.26.1-r2.ebuild index 2b6ee9d381d..e23f6e792be 100644 --- a/dev-lang/perl/perl-5.26.1-r2.ebuild +++ b/dev-lang/perl/perl-5.26.1-r2.ebuild @@ -325,6 +325,11 @@ src_prepare() { ext/NDBM_File/Makefile.PL || die fi + # Use errno.h from prefix rather than from host system, bug #645804 + if use prefix; then + sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die + fi + default }