public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gps/
Date: Wed, 22 Nov 2017 18:10:46 +0000 (UTC)	[thread overview]
Message-ID: <1511374233.0a8f60efdf18f7b64aefc5cba8e0132acd85c277.tupone@gentoo> (raw)

commit:     0a8f60efdf18f7b64aefc5cba8e0132acd85c277
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 22 18:10:33 2017 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 18:10:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8f60ef

dev-ada/gps: use only (gnat)gcc-6.3.0 compiler

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-ada/gps/gps-2017.ebuild | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/dev-ada/gps/gps-2017.ebuild b/dev-ada/gps/gps-2017.ebuild
index a07971aa8bb..8741b915152 100644
--- a/dev-ada/gps/gps-2017.ebuild
+++ b/dev-ada/gps/gps-2017.ebuild
@@ -36,26 +36,13 @@ S="${WORKDIR}"/${MYP}
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
-pkg_setup() {
-	GCC=${ADA:-$(tc-getCC)}
-	GNATLS="${GCC/gcc/gnatls}"
-	GNAT="${GCC/gcc/gnat}"
-	GNATMAKE="${GCC/gcc/gnatmake}"
-	if [[ -z "$(type ${GNATLS} 2>/dev/null)" ]] ; then
-		eerror "You need a gcc compiler that provides the Ada Compiler:"
-		eerror "1) use gcc-config to select the right compiler or"
-		eerror "2) set ADA=gcc-6.3.0 in make.conf"
-		die "ada compiler not available"
-	fi
-	python-single-r1_pkg_setup
-}
-
 src_prepare() {
 	default
+	GCC_PV=6.3.0
 	mv configure.{in,ac} || die
 	sed -i \
-		-e "s:@GNATMAKE@:${GNATMAKE}:g" \
-		-e "s:@GNAT@:${GNAT}:g" \
+		-e "s:@GNATMAKE@:gnatmake-${GCC_PV}:g" \
+		-e "s:@GNAT@:gnat-${GCC_PV}:g" \
 		aclocal.m4 \
 		|| die
 	eautoreconf


             reply	other threads:[~2017-11-22 18:10 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22 18:10 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-11-25 21:00 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gps/ Alfredo Tupone
2017-12-05 20:01 Alfredo Tupone
2017-12-29 16:10 Alfredo Tupone
2018-03-15 10:05 Alfredo Tupone
2018-03-16 19:12 Alfredo Tupone
2018-04-20  6:29 Alfredo Tupone
2018-04-20 18:25 Alfredo Tupone
2018-10-31 11:42 Alfredo Tupone
2018-11-01  6:07 Alfredo Tupone
2018-11-17 13:34 Alfredo Tupone
2018-11-17 21:59 Alfredo Tupone
2018-11-18 10:07 Alfredo Tupone
2018-11-24 20:11 Alfredo Tupone
2018-11-29 21:04 Alfredo Tupone
2018-11-30 19:45 Alfredo Tupone
2018-12-17 13:41 Alfredo Tupone
2018-12-28 14:35 Alfredo Tupone
2019-01-01 16:26 Alfredo Tupone
2019-01-02 18:25 Alfredo Tupone
2019-07-23  7:10 Alfredo Tupone
2019-11-05 10:53 Alfredo Tupone
2019-11-05 20:15 Alfredo Tupone
2019-11-07 18:14 Alfredo Tupone
2019-11-09 19:04 Alfredo Tupone
2019-11-09 19:06 Alfredo Tupone
2019-11-18 20:07 Alfredo Tupone
2019-12-14 21:55 Alfredo Tupone
2020-02-09 16:18 Michał Górny
2020-03-16 14:34 Alfredo Tupone
2020-03-18 21:45 Alfredo Tupone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1511374233.0a8f60efdf18f7b64aefc5cba8e0132acd85c277.tupone@gentoo \
    --to=tupone@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox