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 317B31396D9 for ; Sat, 4 Nov 2017 14:26:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E037E0C2F; Sat, 4 Nov 2017 14:26:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0ACF1E0C2F for ; Sat, 4 Nov 2017 14:26:54 +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 5339933BF51 for ; Sat, 4 Nov 2017 14:26:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B5C3C94B5 for ; Sat, 4 Nov 2017 14:26:51 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1509805479.59e5b94ccd20a044eaa752ca5077c7d6d2b065b4.dilfridge@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-r1.ebuild dev-lang/perl/perl-5.26.9999.ebuild dev-lang/perl/perl-5.28.9999.ebuild X-VCS-Directories: dev-lang/perl/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 59e5b94ccd20a044eaa752ca5077c7d6d2b065b4 X-VCS-Branch: master Date: Sat, 4 Nov 2017 14:26:51 +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: 41f3449f-f708-4bfa-939e-1bc9b10d9ce4 X-Archives-Hash: cd5a2e14fad891b42c8980a1bc7e3d03 commit: 59e5b94ccd20a044eaa752ca5077c7d6d2b065b4 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Nov 4 14:24:39 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sat Nov 4 14:24:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e5b94c dev-lang/perl: Darwinism: Survival of the fittest command line switches. Bug 636370 Closes: https://bugs.gentoo.org/636370 Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-lang/perl/perl-5.26.1-r1.ebuild | 7 ++++++- dev-lang/perl/perl-5.26.9999.ebuild | 7 ++++++- dev-lang/perl/perl-5.28.9999.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/dev-lang/perl/perl-5.26.1-r1.ebuild b/dev-lang/perl/perl-5.26.1-r1.ebuild index cf679447573..f4f6054d372 100644 --- a/dev-lang/perl/perl-5.26.1-r1.ebuild +++ b/dev-lang/perl/perl-5.26.1-r1.ebuild @@ -347,6 +347,12 @@ src_configure() { # Perl has problems compiling with -Os in your flags with glibc use elibc_uclibc || replace-flags "-Os" "-O2" + # xlocale.h is going away in glibc-2.26, so it's counterproductive + # if we use it and include it in CORE/perl.h ... Perl builds just + # fine with glibc and locale.h only. + # However, the darwin prefix people have no locale.h ... + use elibc_glibc && myconf -Ui_xlocale + # This flag makes compiling crash in interesting ways filter-flags "-malign-double" @@ -511,7 +517,6 @@ src_configure() { -Dsh="${EPREFIX}"/bin/sh \ -Dtargetsh="${EPREFIX}"/bin/sh \ -Uusenm \ - -Ui_xlocale \ "${myconf[@]}" \ "${EXTRA_ECONF[@]}" diff --git a/dev-lang/perl/perl-5.26.9999.ebuild b/dev-lang/perl/perl-5.26.9999.ebuild index e8cc6de7891..3dc88edc18b 100644 --- a/dev-lang/perl/perl-5.26.9999.ebuild +++ b/dev-lang/perl/perl-5.26.9999.ebuild @@ -347,6 +347,12 @@ src_configure() { # Perl has problems compiling with -Os in your flags with glibc use elibc_uclibc || replace-flags "-Os" "-O2" + # xlocale.h is going away in glibc-2.26, so it's counterproductive + # if we use it and include it in CORE/perl.h ... Perl builds just + # fine with glibc and locale.h only. + # However, the darwin prefix people have no locale.h ... + use elibc_glibc && myconf -Ui_xlocale + # This flag makes compiling crash in interesting ways filter-flags "-malign-double" @@ -511,7 +517,6 @@ src_configure() { -Dsh="${EPREFIX}"/bin/sh \ -Dtargetsh="${EPREFIX}"/bin/sh \ -Uusenm \ - -Ui_xlocale \ "${myconf[@]}" \ "${EXTRA_ECONF[@]}" diff --git a/dev-lang/perl/perl-5.28.9999.ebuild b/dev-lang/perl/perl-5.28.9999.ebuild index 610c4292771..70e967b70d3 100644 --- a/dev-lang/perl/perl-5.28.9999.ebuild +++ b/dev-lang/perl/perl-5.28.9999.ebuild @@ -347,6 +347,12 @@ src_configure() { # Perl has problems compiling with -Os in your flags with glibc use elibc_uclibc || replace-flags "-Os" "-O2" + # xlocale.h is going away in glibc-2.26, so it's counterproductive + # if we use it and include it in CORE/perl.h ... Perl builds just + # fine with glibc and locale.h only. + # However, the darwin prefix people have no locale.h ... + use elibc_glibc && myconf -Ui_xlocale + # This flag makes compiling crash in interesting ways filter-flags "-malign-double" @@ -511,7 +517,6 @@ src_configure() { -Dsh="${EPREFIX}"/bin/sh \ -Dtargetsh="${EPREFIX}"/bin/sh \ -Uusenm \ - -Ui_xlocale \ "${myconf[@]}" \ "${EXTRA_ECONF[@]}"