Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/crossdev/
Date: Sat, 18 Aug 2018 15:55:27
Message-Id: 1534607716.4973ec4ffb8b74e3d9f30fb065a67f5ef4bd5967.slyfox@gentoo
1 commit: 4973ec4ffb8b74e3d9f30fb065a67f5ef4bd5967
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 18 15:54:03 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 18 15:55:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4973ec4f
7
8 sys-devel/crossdev: bump up to 20180818
9
10 Single new patch:
11
12 crossdev: default to USE=-pie for bare-metal mips targets
13
14 When built with pie-by-default compiling gcc fails as:
15 cc1: error: position-independent code requires ‘-mabicalls’
16
17 Tested as:
18 USE=-pie crossdev -t mipsel-elf
19
20 Reported-by: rhn
21 Package-Manager: Portage-2.3.46, Repoman-2.3.10
22
23 sys-devel/crossdev/Manifest | 1 +
24 sys-devel/crossdev/crossdev-20180818.ebuild | 39 +++++++++++++++++++++++++++++
25 2 files changed, 40 insertions(+)
26
27 diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
28 index 7cf182e99bc..822a9b861bf 100644
29 --- a/sys-devel/crossdev/Manifest
30 +++ b/sys-devel/crossdev/Manifest
31 @@ -2,3 +2,4 @@ DIST crossdev-20171230.tar.xz 23016 BLAKE2B 4661b3f9fac314b7346f0de7227d12ae2d68
32 DIST crossdev-20180410.tar.xz 26716 BLAKE2B 67f47052af4299028470613900e7f1b91fd2b861cce71d2a4b40bb1bf16a7b9b8967eed18dabcca819d89cfb30cbf1253498b2ef9eab8d941a6d611d333b6d65 SHA512 2e70f8c01e7b1484e76dee82fb3342cbcbd60ee3458e2c6acf5b642e01be95546fe03fc00c82d59fa871aae9f5a6728f45f9f7cb4bc27c4cdf56c4fd8a93b754
33 DIST crossdev-20180508.tar.xz 26728 BLAKE2B ab92cac544ee787ca91c794191c51faeab99e88bc2fc695c5e913e4137cc941457f5b27bf22f3b6a7991fa46ebdc2e5b4238a01425c5021fa9fc05ca23c51f49 SHA512 a96afeeb03747ce67a39b53b925361d07117b49316b5c657413125413d006de25249b0d3d1804c8a946c288c80beb42aa7c32362b57ac81399d26a67ceccfe04
34 DIST crossdev-20180731.tar.xz 26808 BLAKE2B eea12e6405546ca5a8409a853afdcbb25f3f2a7336c428b7c6a5d38b29d772989da7c0a59ce282ee925a9126e396bead17798a25bff1b5019a28ba0ef3bc55fc SHA512 245144b57242b7ae1bca65f457bfb60ec4fe1a4cb5f332dc5ac42d14740dda49e7e5266b10e60bebc84be7fabbac827335fcbc8e0dd74e24f423ddfef33edb7e
35 +DIST crossdev-20180818.tar.xz 26904 BLAKE2B 8fce23db9a00429ec8f8487a72cd5724200336bbd1d50ef62d1170cdd2ccb2b3255ba47c516b89f0394fd7e7c935842269eddeddbc308ffdd1194edd7cc916cd SHA512 11ecd46026c1ec673fc18e86d3cc8570341288b2cf4c4a54aa62d3afddb2ad3d3005a30f2b5b35264af89511975b532cb6014009d0f5ec0b18c0256f49196cb5
36
37 diff --git a/sys-devel/crossdev/crossdev-20180818.ebuild b/sys-devel/crossdev/crossdev-20180818.ebuild
38 new file mode 100644
39 index 00000000000..d1adb4564b5
40 --- /dev/null
41 +++ b/sys-devel/crossdev/crossdev-20180818.ebuild
42 @@ -0,0 +1,39 @@
43 +# Copyright 1999-2018 Gentoo Foundation
44 +# Distributed under the terms of the GNU General Public License v2
45 +
46 +EAPI=6
47 +
48 +if [[ ${PV} == "99999999" ]] ; then
49 + inherit git-r3
50 + EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git"
51 +else
52 + SRC_URI="mirror://gentoo/${P}.tar.xz
53 + https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
54 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
55 +fi
56 +
57 +DESCRIPTION="Gentoo Cross-toolchain generator"
58 +HOMEPAGE="https://www.gentoo.org/"
59 +
60 +LICENSE="GPL-2"
61 +SLOT="0"
62 +IUSE=""
63 +
64 +RDEPEND="
65 + || (
66 + >=sys-apps/portage-2.1
67 + sys-apps/portage-mgorny
68 + )
69 + >=app-portage/portage-utils-0.55
70 + app-shells/bash
71 + sys-apps/gentoo-functions
72 + !sys-devel/crossdev-wrappers"
73 +DEPEND="app-arch/xz-utils"
74 +
75 +src_install() {
76 + default
77 +
78 + if [[ "${PV}" == "99999999" ]] ; then
79 + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED%/}"/usr/bin/crossdev || die
80 + fi
81 +}