commit:     709682396918812d6983fd73740adf30c89be136
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 09:18:07 2019 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 09:26:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70968239

dev-ada/gprbuild: use wrapper for gcc and gnatmake

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/gprbuild/gprbuild-2017-r2.ebuild | 6 +++---
 dev-ada/gprbuild/gprbuild-2019-r1.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-ada/gprbuild/gprbuild-2017-r2.ebuild 
b/dev-ada/gprbuild/gprbuild-2017-r2.ebuild
index 4f38907463f..dc676658391 100644
--- a/dev-ada/gprbuild/gprbuild-2017-r2.ebuild
+++ b/dev-ada/gprbuild/gprbuild-2017-r2.ebuild
@@ -66,13 +66,13 @@ src_compile() {
        incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
                -I${xmlada_src}/schema -I${xmlada_src}/unicode \
                -I${xmlada_src}/input_sources"
-       ${GCC} -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
+       gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
        for bin in ${bin_progs}; do
-               ${GNATMAKE} -j$(makeopts_jobs) ${incflags} $ADAFLAGS 
${bin}-main \
+               gnatmake -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \
                        -o ${bin} -largs gpr_imports.o || die
        done
        for lib in $lib_progs; do
-               ${GNATMAKE} -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
+               gnatmake -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
                        -largs gpr_imports.o || die
        done
 }

diff --git a/dev-ada/gprbuild/gprbuild-2019-r1.ebuild 
b/dev-ada/gprbuild/gprbuild-2019-r1.ebuild
index 025a4ab8e39..f5ef22a5442 100644
--- a/dev-ada/gprbuild/gprbuild-2019-r1.ebuild
+++ b/dev-ada/gprbuild/gprbuild-2019-r1.ebuild
@@ -57,13 +57,13 @@ src_compile() {
        incflags="-Isrc -Igpr/src -I${xmlada_src}/sax -I${xmlada_src}/dom \
                -I${xmlada_src}/schema -I${xmlada_src}/unicode \
                -I${xmlada_src}/input_sources"
-       ${GCC} -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
+       gcc -c ${CFLAGS} gpr/src/gpr_imports.c -o gpr_imports.o || die
        for bin in ${bin_progs}; do
-               ${GNATMAKE} -j$(makeopts_jobs) ${incflags} $ADAFLAGS 
${bin}-main \
+               gnatmake -j$(makeopts_jobs) ${incflags} $ADAFLAGS ${bin}-main \
                        -o ${bin} -largs gpr_imports.o || die
        done
        for lib in $lib_progs; do
-               ${GNATMAKE} -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
+               gnatmake -j$(makeopts_jobs) ${incflags} ${lib} $ADAFLAGS \
                        -largs gpr_imports.o || die
        done
 }

Reply via email to