1 |
commit: 84eab008261ffb440c5bdab3c5a29428dcbe1c38 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 27 19:05:39 2018 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 27 19:06:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84eab008 |
7 |
|
8 |
sys-devel/binutils: Add stable branch live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
...{binutils-9999.ebuild => binutils-2.31.9999.ebuild} | 18 ++++++++++++++---- |
13 |
sys-devel/binutils/binutils-9999.ebuild | 17 +++++++++++++---- |
14 |
2 files changed, 27 insertions(+), 8 deletions(-) |
15 |
|
16 |
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-2.31.9999.ebuild |
17 |
similarity index 97% |
18 |
copy from sys-devel/binutils/binutils-9999.ebuild |
19 |
copy to sys-devel/binutils/binutils-2.31.9999.ebuild |
20 |
index c7972aa0b70..5a79c08c6b9 100644 |
21 |
--- a/sys-devel/binutils/binutils-9999.ebuild |
22 |
+++ b/sys-devel/binutils/binutils-2.31.9999.ebuild |
23 |
@@ -20,6 +20,7 @@ IUSE="+cxx doc multitarget +nls static-libs test" |
24 |
# Default: dilfridge :) |
25 |
|
26 |
PATCH_VER=1 |
27 |
+PATCH_BINUTILS_VER=9999 |
28 |
|
29 |
case ${PV} in |
30 |
9999) |
31 |
@@ -27,12 +28,22 @@ case ${PV} in |
32 |
inherit git-r3 |
33 |
S=${WORKDIR}/binutils |
34 |
EGIT_CHECKOUT_DIR=${S} |
35 |
+ SLOT=${PV} |
36 |
+ ;; |
37 |
+ *.9999) |
38 |
+ EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git" |
39 |
+ inherit git-r3 |
40 |
+ S=${WORKDIR}/binutils |
41 |
+ EGIT_CHECKOUT_DIR=${S} |
42 |
+ EGIT_BRANCH=${PV%.9999} |
43 |
+ EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch" |
44 |
+ SLOT=${PV%.9999} |
45 |
;; |
46 |
*) |
47 |
SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" |
48 |
+ SLOT=${PV} |
49 |
;; |
50 |
esac |
51 |
-SLOT="${PV}" |
52 |
|
53 |
# |
54 |
# The Gentoo patchset |
55 |
@@ -79,14 +90,13 @@ MY_BUILDDIR=${WORKDIR}/build |
56 |
|
57 |
src_unpack() { |
58 |
case ${PV} in |
59 |
- 9999) |
60 |
+ *9999) |
61 |
git-r3_src_unpack |
62 |
- default |
63 |
;; |
64 |
*) |
65 |
- default |
66 |
;; |
67 |
esac |
68 |
+ default |
69 |
mkdir -p "${MY_BUILDDIR}" |
70 |
} |
71 |
|
72 |
|
73 |
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild |
74 |
index c7972aa0b70..a2e72661a56 100644 |
75 |
--- a/sys-devel/binutils/binutils-9999.ebuild |
76 |
+++ b/sys-devel/binutils/binutils-9999.ebuild |
77 |
@@ -27,12 +27,22 @@ case ${PV} in |
78 |
inherit git-r3 |
79 |
S=${WORKDIR}/binutils |
80 |
EGIT_CHECKOUT_DIR=${S} |
81 |
+ SLOT=${PV} |
82 |
+ ;; |
83 |
+ *.9999) |
84 |
+ EGIT_REPO_URI="https://sourceware.org/git/binutils-gdb.git" |
85 |
+ inherit git-r3 |
86 |
+ S=${WORKDIR}/binutils |
87 |
+ EGIT_CHECKOUT_DIR=${S} |
88 |
+ EGIT_BRANCH=${PV%.9999} |
89 |
+ EGIT_BRANCH="binutils-${EGIT_BRANCH/./_}-branch" |
90 |
+ SLOT=${PV%.9999} |
91 |
;; |
92 |
*) |
93 |
SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz" |
94 |
+ SLOT=${PV} |
95 |
;; |
96 |
esac |
97 |
-SLOT="${PV}" |
98 |
|
99 |
# |
100 |
# The Gentoo patchset |
101 |
@@ -79,14 +89,13 @@ MY_BUILDDIR=${WORKDIR}/build |
102 |
|
103 |
src_unpack() { |
104 |
case ${PV} in |
105 |
- 9999) |
106 |
+ *9999) |
107 |
git-r3_src_unpack |
108 |
- default |
109 |
;; |
110 |
*) |
111 |
- default |
112 |
;; |
113 |
esac |
114 |
+ default |
115 |
mkdir -p "${MY_BUILDDIR}" |
116 |
} |