Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/
Date: Sat, 04 Nov 2017 14:26:57
Message-Id: 1509805479.59e5b94ccd20a044eaa752ca5077c7d6d2b065b4.dilfridge@gentoo
1 commit: 59e5b94ccd20a044eaa752ca5077c7d6d2b065b4
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 4 14:24:39 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 4 14:24:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e5b94c
7
8 dev-lang/perl: Darwinism: Survival of the fittest command line switches. Bug 636370
9
10 Closes: https://bugs.gentoo.org/636370
11 Package-Manager: Portage-2.3.13, Repoman-2.3.4
12
13 dev-lang/perl/perl-5.26.1-r1.ebuild | 7 ++++++-
14 dev-lang/perl/perl-5.26.9999.ebuild | 7 ++++++-
15 dev-lang/perl/perl-5.28.9999.ebuild | 7 ++++++-
16 3 files changed, 18 insertions(+), 3 deletions(-)
17
18 diff --git a/dev-lang/perl/perl-5.26.1-r1.ebuild b/dev-lang/perl/perl-5.26.1-r1.ebuild
19 index cf679447573..f4f6054d372 100644
20 --- a/dev-lang/perl/perl-5.26.1-r1.ebuild
21 +++ b/dev-lang/perl/perl-5.26.1-r1.ebuild
22 @@ -347,6 +347,12 @@ src_configure() {
23 # Perl has problems compiling with -Os in your flags with glibc
24 use elibc_uclibc || replace-flags "-Os" "-O2"
25
26 + # xlocale.h is going away in glibc-2.26, so it's counterproductive
27 + # if we use it and include it in CORE/perl.h ... Perl builds just
28 + # fine with glibc and locale.h only.
29 + # However, the darwin prefix people have no locale.h ...
30 + use elibc_glibc && myconf -Ui_xlocale
31 +
32 # This flag makes compiling crash in interesting ways
33 filter-flags "-malign-double"
34
35 @@ -511,7 +517,6 @@ src_configure() {
36 -Dsh="${EPREFIX}"/bin/sh \
37 -Dtargetsh="${EPREFIX}"/bin/sh \
38 -Uusenm \
39 - -Ui_xlocale \
40 "${myconf[@]}" \
41 "${EXTRA_ECONF[@]}"
42
43
44 diff --git a/dev-lang/perl/perl-5.26.9999.ebuild b/dev-lang/perl/perl-5.26.9999.ebuild
45 index e8cc6de7891..3dc88edc18b 100644
46 --- a/dev-lang/perl/perl-5.26.9999.ebuild
47 +++ b/dev-lang/perl/perl-5.26.9999.ebuild
48 @@ -347,6 +347,12 @@ src_configure() {
49 # Perl has problems compiling with -Os in your flags with glibc
50 use elibc_uclibc || replace-flags "-Os" "-O2"
51
52 + # xlocale.h is going away in glibc-2.26, so it's counterproductive
53 + # if we use it and include it in CORE/perl.h ... Perl builds just
54 + # fine with glibc and locale.h only.
55 + # However, the darwin prefix people have no locale.h ...
56 + use elibc_glibc && myconf -Ui_xlocale
57 +
58 # This flag makes compiling crash in interesting ways
59 filter-flags "-malign-double"
60
61 @@ -511,7 +517,6 @@ src_configure() {
62 -Dsh="${EPREFIX}"/bin/sh \
63 -Dtargetsh="${EPREFIX}"/bin/sh \
64 -Uusenm \
65 - -Ui_xlocale \
66 "${myconf[@]}" \
67 "${EXTRA_ECONF[@]}"
68
69
70 diff --git a/dev-lang/perl/perl-5.28.9999.ebuild b/dev-lang/perl/perl-5.28.9999.ebuild
71 index 610c4292771..70e967b70d3 100644
72 --- a/dev-lang/perl/perl-5.28.9999.ebuild
73 +++ b/dev-lang/perl/perl-5.28.9999.ebuild
74 @@ -347,6 +347,12 @@ src_configure() {
75 # Perl has problems compiling with -Os in your flags with glibc
76 use elibc_uclibc || replace-flags "-Os" "-O2"
77
78 + # xlocale.h is going away in glibc-2.26, so it's counterproductive
79 + # if we use it and include it in CORE/perl.h ... Perl builds just
80 + # fine with glibc and locale.h only.
81 + # However, the darwin prefix people have no locale.h ...
82 + use elibc_glibc && myconf -Ui_xlocale
83 +
84 # This flag makes compiling crash in interesting ways
85 filter-flags "-malign-double"
86
87 @@ -511,7 +517,6 @@ src_configure() {
88 -Dsh="${EPREFIX}"/bin/sh \
89 -Dtargetsh="${EPREFIX}"/bin/sh \
90 -Uusenm \
91 - -Ui_xlocale \
92 "${myconf[@]}" \
93 "${EXTRA_ECONF[@]}"