Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/
Date: Wed, 11 Sep 2019 16:03:52
Message-Id: 1568217822.8cda54159254005417ef6bfc943e60f8092aa095.jer@gentoo
1 commit: 8cda54159254005417ef6bfc943e60f8092aa095
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 11 15:32:46 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 11 16:03:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cda5415
7
8 dev-lang/perl: Combine -Dd_u32align definitions, add HPPA
9
10 Although unaligned accesses are not fatal on PARISC, as they are
11 automatically realigned as they occur, this has a non-trivial impact on
12 performance that ought to be fixed upstream. Work around it the same way
13 sparc*-* does and combine both efforts into a single myconf() call.
14
15 Package-Manager: Portage-2.3.75, Repoman-2.3.17
16 Bug: https://bugs.gentoo.org/676062
17 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
18
19 dev-lang/perl/perl-5.28.2-r1.ebuild | 5 +++--
20 dev-lang/perl/perl-5.28.9999.ebuild | 5 +++--
21 dev-lang/perl/perl-5.30.0.ebuild | 5 +++--
22 3 files changed, 9 insertions(+), 6 deletions(-)
23
24 diff --git a/dev-lang/perl/perl-5.28.2-r1.ebuild b/dev-lang/perl/perl-5.28.2-r1.ebuild
25 index 9e4f13f2628..a63c8091115 100644
26 --- a/dev-lang/perl/perl-5.28.2-r1.ebuild
27 +++ b/dev-lang/perl/perl-5.28.2-r1.ebuild
28 @@ -377,7 +377,6 @@ src_configure() {
29 filter-flags "-flto"
30
31 use sparc && myconf -Ud_longdbl
32 - use sparc && myconf -Dd_u32align # bug #676062
33
34 export BUILD_BZIP2=0
35 export BZIP2_INCLUDE=${EROOT}/usr/include
36 @@ -469,7 +468,9 @@ src_configure() {
37
38 # fix unaligned access misdetection
39 # https://rt.perl.org/Public/Bug/Display.html?id=133495
40 - [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'"
41 + # bug #676062
42 + use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \
43 + myconf "-Dd_u32align='define'"
44
45 # Prefix: the host system needs not to follow Gentoo multilib stuff, and in
46 # Prefix itself we don't do multilib either, so make sure perl can find
47
48 diff --git a/dev-lang/perl/perl-5.28.9999.ebuild b/dev-lang/perl/perl-5.28.9999.ebuild
49 index 2c066883bce..c5309aeccc8 100644
50 --- a/dev-lang/perl/perl-5.28.9999.ebuild
51 +++ b/dev-lang/perl/perl-5.28.9999.ebuild
52 @@ -375,7 +375,6 @@ src_configure() {
53 filter-flags "-flto"
54
55 use sparc && myconf -Ud_longdbl
56 - use sparc && myconf -Dd_u32align # bug #676062
57
58 export BUILD_BZIP2=0
59 export BZIP2_INCLUDE=${EROOT}/usr/include
60 @@ -467,7 +466,9 @@ src_configure() {
61
62 # fix unaligned access misdetection
63 # https://rt.perl.org/Public/Bug/Display.html?id=133495
64 - [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'"
65 + # bug #676062
66 + use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \
67 + myconf "-Dd_u32align='define'"
68
69 # Prefix: the host system needs not to follow Gentoo multilib stuff, and in
70 # Prefix itself we don't do multilib either, so make sure perl can find
71
72 diff --git a/dev-lang/perl/perl-5.30.0.ebuild b/dev-lang/perl/perl-5.30.0.ebuild
73 index 922d04be075..8f02f4a820c 100644
74 --- a/dev-lang/perl/perl-5.30.0.ebuild
75 +++ b/dev-lang/perl/perl-5.30.0.ebuild
76 @@ -373,7 +373,6 @@ src_configure() {
77 filter-flags "-flto"
78
79 use sparc && myconf -Ud_longdbl
80 - use sparc && myconf -Dd_u32align # bug #676062
81
82 export BUILD_BZIP2=0
83 export BZIP2_INCLUDE=${EROOT}/usr/include
84 @@ -465,7 +464,9 @@ src_configure() {
85
86 # fix unaligned access misdetection
87 # https://rt.perl.org/Public/Bug/Display.html?id=133495
88 - [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'"
89 + # bug #676062
90 + use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \
91 + myconf "-Dd_u32align='define'"
92
93 # Prefix: the host system needs not to follow Gentoo multilib stuff, and in
94 # Prefix itself we don't do multilib either, so make sure perl can find