Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gnat_util/
Date: Tue, 27 Nov 2018 19:08:19
Message-Id: 1543345683.c43f4222b7c773c7c1dfcf09fe500b6444cca54d.tupone@gentoo
1 commit: c43f4222b7c773c7c1dfcf09fe500b6444cca54d
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 27 19:08:03 2018 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 27 19:08:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c43f4222
7
8 dev-ada/gnat_util: Stable
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ada/gnat_util/gnat_util-2018.ebuild | 9 ++++-----
14 1 file changed, 4 insertions(+), 5 deletions(-)
15
16 diff --git a/dev-ada/gnat_util/gnat_util-2018.ebuild b/dev-ada/gnat_util/gnat_util-2018.ebuild
17 index a60bab1f325..c7b5206b2a5 100644
18 --- a/dev-ada/gnat_util/gnat_util-2018.ebuild
19 +++ b/dev-ada/gnat_util/gnat_util-2018.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26 @@ -14,7 +14,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27a6b
27
28 LICENSE="GPL-3"
29 SLOT="0"
30 -KEYWORDS="~amd64 ~x86"
31 +KEYWORDS="amd64 x86"
32 IUSE="gnat_2016 gnat_2017 +gnat_2018 +shared static-libs static-pic"
33
34 RDEPEND="dev-lang/gnat-gpl:7.3.1"
35 @@ -28,16 +28,15 @@ PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
36
37 src_compile() {
38 GCC_PV=7.3.1
39 - GCC=${CHOST}-gcc-${GCC_PV}
40 GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
41 emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \
42 BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
43 if use static-libs; then
44 - emake CC="${GCC}" BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static
45 + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-static
46 fi
47 for kind in shared static-pic; do
48 if use ${kind}; then
49 - emake CC="${GCC}" BUILDER="gprbuild -v -j$(makeopts_jobs)" \
50 + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" \
51 build-${kind}
52 fi
53 done