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: Wed, 31 May 2017 07:21:42
Message-Id: 1496215276.62b045ea4e8ff326637259e4b0b7971818a1c579.tupone@gentoo
1 commit: 62b045ea4e8ff326637259e4b0b7971818a1c579
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 31 07:21:16 2017 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Wed May 31 07:21:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b045ea
7
8 dev-ada/gnat_util: Enable verbose mode
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.1
11
12 dev-ada/gnat_util/gnat_util-2016.ebuild | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-ada/gnat_util/gnat_util-2016.ebuild b/dev-ada/gnat_util/gnat_util-2016.ebuild
16 index 51cdbdc1cf9..dd8a3f6cba1 100644
17 --- a/dev-ada/gnat_util/gnat_util-2016.ebuild
18 +++ b/dev-ada/gnat_util/gnat_util-2016.ebuild
19 @@ -27,6 +27,7 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
20 pkg_setup() {
21 GCC=${ADA:-$(tc-getCC)}
22 GNATMAKE="${GCC/gcc/gnatmake}"
23 + CC="${GCC}"
24 if [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
25 eerror "You need a gcc compiler that provides the Ada Compiler:"
26 eerror "1) use gcc-config to select the right compiler or"
27 @@ -36,10 +37,11 @@ pkg_setup() {
28 }
29
30 src_compile() {
31 - emake GNATMAKE=${GNATMAKE} BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
32 + emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \
33 + BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources
34 for kind in shared static static-pic; do
35 if use ${kind}; then
36 - emake BUILDER="gprbuild -j$(makeopts_jobs)" build-${kind}
37 + emake BUILDER="gprbuild -v -j$(makeopts_jobs)" build-${kind}
38 fi
39 done
40 }