1 |
commit: e84f62972cbd20ed83db1726eca62ca304a67ed8 |
2 |
Author: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 21 10:33:31 2017 +0000 |
4 |
Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 21 10:33:31 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e84f6297 |
7 |
|
8 |
dev-lang/perl: Stop treating minor devrels as ABI compatible |
9 |
|
10 |
Development releases of Perl are not ABI-intercompatible with each |
11 |
other, regardless of *actual* ABI compat, as Perl itself enforces |
12 |
minor-version breaks in XS code. |
13 |
|
14 |
Hence, this commit: |
15 |
1. Ensures that development releases use the full 5.xx.yyy for the |
16 |
subslot |
17 |
2. Ensures the arch-abi-path from older 5.ODD series is not shared |
18 |
with newer 5.ODD |
19 |
|
20 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
21 |
|
22 |
dev-lang/perl/perl-5.26.9999.ebuild | 9 ++++++--- |
23 |
1 file changed, 6 insertions(+), 3 deletions(-) |
24 |
|
25 |
diff --git a/dev-lang/perl/perl-5.26.9999.ebuild b/dev-lang/perl/perl-5.26.9999.ebuild |
26 |
index 66819aba418..6fcefc8a381 100644 |
27 |
--- a/dev-lang/perl/perl-5.26.9999.ebuild |
28 |
+++ b/dev-lang/perl/perl-5.26.9999.ebuild |
29 |
@@ -15,19 +15,22 @@ if [[ "${PV##*.}" == "9999" ]]; then |
30 |
# Include more versions for blead releases |
31 |
# for circular reasons |
32 |
# Greatest first, don't include yourself |
33 |
- PERL_BIN_OLDVERSEN="5.25.11" |
34 |
+ PERL_BIN_OLDVERSEN="" |
35 |
PERL_OLDVERSEN="5.25.11 5.24.2 5.24.1 5.24.0 5.22.3 5.22.2 5.22.1 5.22.0" |
36 |
DIST_VERSION=5.25.12 |
37 |
SHORT_PV="${DIST_VERSION%.*}" |
38 |
+ # Devel Releases are not ABI-intercompatible |
39 |
+ SUBSLOT="${DIST_VERSION}" |
40 |
MY_P="perl-${DIST_VERSION/_rc/-RC}" |
41 |
PATCH_BASE="perl-5.25.11-patches-${PATCH_VER}" |
42 |
MY_PV="${DIST_VERSION%_rc*}" |
43 |
else |
44 |
- PERL_BIN_OLDVERSEN="5.25.11" |
45 |
+ PERL_BIN_OLDVERSEN="" |
46 |
# Compat reasons |
47 |
PERL_OLDVERSEN="5.25.11" |
48 |
# First 2 digits only |
49 |
SHORT_PV="${PV%.*}" |
50 |
+ SUBSLOT="${SHORT_PV}" |
51 |
MY_P="perl-${PV/_rc/-RC}" |
52 |
PATCH_BASE="${MY_P}-patches-${PATCH_VER}" |
53 |
MY_PV="${PV%_rc*}" |
54 |
@@ -46,7 +49,7 @@ SRC_URI=" |
55 |
HOMEPAGE="http://www.perl.org/" |
56 |
|
57 |
LICENSE="|| ( Artistic GPL-1+ )" |
58 |
-SLOT="0/${SHORT_PV}" |
59 |
+SLOT="0/${SUBSLOT}" |
60 |
|
61 |
if [[ "${PV##*.}" != "9999" ]]; then |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |