dev-ada/aws: remove GCC hack
authorTupone Alfredo <tupone@gentoo.org>
Sat, 10 Nov 2018 14:24:28 +0000 (15:24 +0100)
committerTupone Alfredo <tupone@gentoo.org>
Sat, 10 Nov 2018 14:26:52 +0000 (15:26 +0100)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ada/aws/aws-2017.ebuild
dev-ada/aws/aws-2018.ebuild
dev-ada/aws/files/aws-2016-gentoo.patch

index 77fbba8c796493d3954f8b6e0c75ecaf0c519c71..081d598a0027a1913405560f3bf1a20a7b1654d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -29,16 +29,12 @@ S="${WORKDIR}"/${MY_P}
 PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
 
 src_configure() {
-       emake -j1 setup prefix=/usr
+       emake -j1 setup prefix=/usr \
+               GPRBUILD="/usr/bin/gprbuild -v"
 }
 
 src_compile() {
-       if use gnat_2016; then
-               GCC_PV=4.9.4
-       else
-               GCC_PV=6.3.0
-       fi
-       emake GCC=${CHOST}-gcc-${GCC_PV} \
+       emake \
                PROCESSORS=$(makeopts_jobs) \
                DEBUG=true \
                GPRBUILD="/usr/bin/gprbuild -v"
index 4222e66bbdd8a94e3c30f3924a4fde7737e74c10..f18391af41059375cd8e89a942014c4eb7485117 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,18 +28,12 @@ S="${WORKDIR}"/${MY_P}
 PATCHES=( "${FILESDIR}"/${PN}-2016-gentoo.patch )
 
 src_configure() {
-       emake -j1 setup prefix=/usr ENABLE_SHARED=true
+       emake -j1 setup prefix=/usr ENABLE_SHARED=true \
+               GPRBUILD="/usr/bin/gprbuild -v"
 }
 
 src_compile() {
-       if use gnat_2018; then
-               GCC_PV=7.3.1
-       elif use gnat_2017; then
-               GCC_PV=6.3.0
-       else
-               GCC_PV=4.9.4
-       fi
-       emake GCC=${CHOST}-gcc-${GCC_PV} \
+       emake \
                PROCESSORS=$(makeopts_jobs) \
                GPRBUILD="/usr/bin/gprbuild -v"
 }
index b33073afa4438aa4491d9b0e3e6fe3db7a205a35..8894e014e3339f3ec199db61866196e6fb4345ab 100644 (file)
@@ -1,13 +1,5 @@
---- aws-gpl-2016-src/shared.gpr.old    2017-01-30 20:00:39.022743691 +0100
-+++ aws-gpl-2016-src/shared.gpr        2017-01-30 20:01:20.524985069 +0100
-@@ -130,6 +130,7 @@
-    package Compiler is
-       for Driver ("Makefile") use "";
-+      for Driver ("C") use External ("GCC", "gcc");
-       case Build is
-          when "Debug" =>
+--- a/shared.gpr       2017-01-30 20:00:39.022743691 +0100
++++ b/shared.gpr       2017-01-30 20:01:20.524985069 +0100
 @@ -151,11 +151,11 @@
        end case;
  
@@ -23,8 +15,8 @@
        --  Disable validity check on this unit to work-around N728-028
  
        --  ADAFLAGS and CFLAGS should come last so that command line
---- aws-gpl-2016-src/include/include.gpr.old   2017-02-17 22:09:14.361695926 +0100
-+++ aws-gpl-2016-src/include/include.gpr       2017-02-17 22:11:36.497215517 +0100
+--- a/include/include.gpr      2017-02-17 22:09:14.361695926 +0100
++++ b/include/include.gpr      2017-02-17 22:11:36.497215517 +0100
 @@ -54,7 +54,7 @@
  
           when "Release" =>