1 |
commit: 6d3ba8bbca17e9a7cc21c7211491f3848af92e5d |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 1 17:05:37 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 1 17:05:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3ba8bb |
7 |
|
8 |
sys-devel/crossdev: bump up to 20190901 |
9 |
|
10 |
Set --without-headers by default |
11 |
|
12 |
In https://sourceware.org/PR24577 we discovered that riscv |
13 |
can't really install libc headers as it needs a cross-compiler. |
14 |
|
15 |
Before this change we had the following default build order: |
16 |
- cross-binutils |
17 |
- kernel/libc headers |
18 |
- stage1 gcc |
19 |
- glibc |
20 |
- stage2 gcc |
21 |
|
22 |
After this change it's: |
23 |
- cross-binutils |
24 |
- stage1 gcc |
25 |
- kernel headers |
26 |
- glibc |
27 |
- stage2 gcc |
28 |
|
29 |
Users can still use old headers installation with '--with-headers' option. |
30 |
|
31 |
Bug: https://sourceware.org/PR24577 |
32 |
Bug: https://bugs.gentoo.org/692052 |
33 |
Closes: https://bugs.gentoo.org/686248 |
34 |
Package-Manager: Portage-2.3.74, Repoman-2.3.17 |
35 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
36 |
|
37 |
sys-devel/crossdev/Manifest | 1 + |
38 |
sys-devel/crossdev/crossdev-20190901.ebuild | 36 +++++++++++++++++++++++++++++ |
39 |
2 files changed, 37 insertions(+) |
40 |
|
41 |
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest |
42 |
index 68cfe302fdd..cf1c1c70df3 100644 |
43 |
--- a/sys-devel/crossdev/Manifest |
44 |
+++ b/sys-devel/crossdev/Manifest |
45 |
@@ -2,3 +2,4 @@ DIST crossdev-20181020.tar.xz 27172 BLAKE2B 8a388d5201ab419b865b96a4314190a693a7 |
46 |
DIST crossdev-20181202.tar.xz 27184 BLAKE2B d1770f5148d666b22a20576b638e71bf6325e8a61776b8b47ecaf2e5437150554f6973c5306d233a836e4ffe3ff0480167c9b877c5f9e733681fd502016a19d4 SHA512 896bf050c81f3f34b2be187a851832494c039aa93177c806b689a75d16567f178e4ca33c21282fc320506b76e09b0cde8a45976b6309bf9bc5be8290db3dd8af |
47 |
DIST crossdev-20190311.tar.xz 27176 BLAKE2B 444828314b4e5363e9603a1fea8034e0b2b604a164d8efd6c31bf15591080daebd936eb2881c83e165f945742d11f54b04bf5f59b4ff39c048e55fef9989d268 SHA512 1f572df09204e297efd6e97001aad929226f26e9ddc706568680d75b1746a624e86c1578c5d3ee1e52ece0bbafdd17ae59565f3098864f018768c2901821f4ff |
48 |
DIST crossdev-20190712.tar.xz 27240 BLAKE2B a2d09a21df1eeeb16ad03c7415a58e3d3424221b08d1a672167945df8ebe9b6c1898ee3f684d8653ed088cc1ef0155de0156b14e2a77bb47389c6f3e277039d7 SHA512 987c29b7e36f94e1bd14c4072514a04d6655a41a922cc179e6cd12bc78a71dd60202d202c40a107365297fe11c6e2bdcbd2a3cea21b5b7260c0b8608d9d3ade5 |
49 |
+DIST crossdev-20190901.tar.xz 27180 BLAKE2B 879616453e883c54c9646e9111aba0fca86bda36c3f1fb327a4036a140c58b6b09498fb8e2b6d8e19dcd5efe15245d70585c6b4b463ec9f58ed5c2b84395fa49 SHA512 42d31626f798136df1d9000d0de325d53d51746a8f187001279090b112fe05862930110d2ef877d14dfc9a6d111649f3e335e1bb8e023696a69129592b6a8976 |
50 |
|
51 |
diff --git a/sys-devel/crossdev/crossdev-20190901.ebuild b/sys-devel/crossdev/crossdev-20190901.ebuild |
52 |
new file mode 100644 |
53 |
index 00000000000..36e054f04b2 |
54 |
--- /dev/null |
55 |
+++ b/sys-devel/crossdev/crossdev-20190901.ebuild |
56 |
@@ -0,0 +1,36 @@ |
57 |
+# Copyright 1999-2019 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=7 |
61 |
+ |
62 |
+if [[ ${PV} == "99999999" ]] ; then |
63 |
+ inherit git-r3 |
64 |
+ EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git" |
65 |
+else |
66 |
+ SRC_URI="mirror://gentoo/${P}.tar.xz |
67 |
+ https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz" |
68 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
69 |
+fi |
70 |
+ |
71 |
+DESCRIPTION="Gentoo Cross-toolchain generator" |
72 |
+HOMEPAGE="https://www.gentoo.org/" |
73 |
+ |
74 |
+LICENSE="GPL-2" |
75 |
+SLOT="0" |
76 |
+IUSE="" |
77 |
+ |
78 |
+RDEPEND=" |
79 |
+ >=sys-apps/portage-2.1 |
80 |
+ >=app-portage/portage-utils-0.55 |
81 |
+ app-shells/bash |
82 |
+ sys-apps/gentoo-functions |
83 |
+ !sys-devel/crossdev-wrappers" |
84 |
+DEPEND="app-arch/xz-utils" |
85 |
+ |
86 |
+src_install() { |
87 |
+ default |
88 |
+ |
89 |
+ if [[ "${PV}" == "99999999" ]] ; then |
90 |
+ sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED%/}"/usr/bin/crossdev || die |
91 |
+ fi |
92 |
+} |