commit:     542cefd7c9fbcbea8d86e19da07d3576df2d6f97
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  8 11:19:45 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep  8 11:21:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542cefd7

sys-devel/crossdev: bump up to 20190908

reenable --with-headers for mingw targets

gcc can't build libgcc2.c on --without-headers setup.
Needs more investigation.

Reported-by: Kyle Elbert
Closes: https://bugs.gentoo.org/693770
Closes: https://bugs.gentoo.org/693730
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/crossdev/Manifest                 |  1 +
 sys-devel/crossdev/crossdev-20190908.ebuild | 36 +++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index cf1c1c70df3..a09f06e6489 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -3,3 +3,4 @@ DIST crossdev-20181202.tar.xz 27184 BLAKE2B 
d1770f5148d666b22a20576b638e71bf6325
 DIST crossdev-20190311.tar.xz 27176 BLAKE2B 
444828314b4e5363e9603a1fea8034e0b2b604a164d8efd6c31bf15591080daebd936eb2881c83e165f945742d11f54b04bf5f59b4ff39c048e55fef9989d268
 SHA512 
1f572df09204e297efd6e97001aad929226f26e9ddc706568680d75b1746a624e86c1578c5d3ee1e52ece0bbafdd17ae59565f3098864f018768c2901821f4ff
 DIST crossdev-20190712.tar.xz 27240 BLAKE2B 
a2d09a21df1eeeb16ad03c7415a58e3d3424221b08d1a672167945df8ebe9b6c1898ee3f684d8653ed088cc1ef0155de0156b14e2a77bb47389c6f3e277039d7
 SHA512 
987c29b7e36f94e1bd14c4072514a04d6655a41a922cc179e6cd12bc78a71dd60202d202c40a107365297fe11c6e2bdcbd2a3cea21b5b7260c0b8608d9d3ade5
 DIST crossdev-20190901.tar.xz 27180 BLAKE2B 
879616453e883c54c9646e9111aba0fca86bda36c3f1fb327a4036a140c58b6b09498fb8e2b6d8e19dcd5efe15245d70585c6b4b463ec9f58ed5c2b84395fa49
 SHA512 
42d31626f798136df1d9000d0de325d53d51746a8f187001279090b112fe05862930110d2ef877d14dfc9a6d111649f3e335e1bb8e023696a69129592b6a8976
+DIST crossdev-20190908.tar.xz 27216 BLAKE2B 
f756735108c257b5070031f60f39cd93ce4d146e1f7d0e33df40384033c92d545f11b3aaf7b6313fa3fc402af6d0daa8ec0dd1e0aadb42a9a2f23b05768fbcda
 SHA512 
70fb3a5995c284745fa4aae5844c368e7b8f5190a9ec15384b1db455ff6202bf88e33e16ededb6d127f82bab0aa1d0fd859652c8d4907e9cf7f4e7c95bdfa540

diff --git a/sys-devel/crossdev/crossdev-20190908.ebuild 
b/sys-devel/crossdev/crossdev-20190908.ebuild
new file mode 100644
index 00000000000..36e054f04b2
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20190908.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == "99999999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git"
+else
+       SRC_URI="mirror://gentoo/${P}.tar.xz
+               https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+fi
+
+DESCRIPTION="Gentoo Cross-toolchain generator"
+HOMEPAGE="https://www.gentoo.org/";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+       >=sys-apps/portage-2.1
+       >=app-portage/portage-utils-0.55
+       app-shells/bash
+       sys-apps/gentoo-functions
+       !sys-devel/crossdev-wrappers"
+DEPEND="app-arch/xz-utils"
+
+src_install() {
+       default
+
+       if [[ "${PV}" == "99999999" ]] ; then
+               sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED%/}"/usr/bin/crossdev 
|| die
+       fi
+}

Reply via email to