From 00acf2d296994d1fbb56f50e93ffaf0e2148e726 Mon Sep 17 00:00:00 2001 From: Tupone Alfredo Date: Thu, 6 Jun 2019 08:56:52 +0200 Subject: [PATCH] dev-ada/gnat_util: gnat_util-2019 is only godd for gnat_2019 Signed-off-by: Alfredo Tupone Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- dev-ada/gnat_util/gnat_util-2019.ebuild | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/dev-ada/gnat_util/gnat_util-2019.ebuild b/dev-ada/gnat_util/gnat_util-2019.ebuild index dc2c8bcc1a30..9620ea727055 100644 --- a/dev-ada/gnat_util/gnat_util-2019.ebuild +++ b/dev-ada/gnat_util/gnat_util-2019.ebuild @@ -15,24 +15,19 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5cdf8e5031e87a8f1d425090 LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+gnat_2018 gnat_2019 +shared static-libs static-pic" +IUSE="+gnat_2019 +shared static-libs static-pic" -RDEPEND="gnat_2018? ( dev-lang/gnat-gpl:7.3.1 ) - gnat_2019? ( dev-lang/gnat-gpl:8.3.1 )" +RDEPEND="dev-lang/gnat-gpl:8.3.1" DEPEND="${RDEPEND} - dev-ada/gprbuild[gnat_2018(-)?,gnat_2019(-)?]" -REQUIRED_USE="^^ ( gnat_2018 gnat_2019 )" + dev-ada/gprbuild[gnat_2019]" +REQUIRED_USE="gnat_2019" S="${WORKDIR}"/${MYP}-194CA-src PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch ) src_compile() { - if use gnat_2018; then - GCC_PV=7.3.1 - else - GCC_PV=8.3.1 - fi + GCC_PV=8.3.1 GNATMAKE=${CHOST}-gnatmake-${GCC_PV} emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \ BUILDER="gprbuild -j$(makeopts_jobs)" generate_sources -- 2.26.2