dev-ada/gnat_util: gnat_util-2019 is only godd for gnat_2019
authorTupone Alfredo <tupone@gentoo.org>
Thu, 6 Jun 2019 06:56:52 +0000 (08:56 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Thu, 6 Jun 2019 06:56:52 +0000 (08:56 +0200)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ada/gnat_util/gnat_util-2019.ebuild

index dc2c8bcc1a305d13dc9ca9bbaf142e50d7859c15..9620ea7270557ccc048972f703723e6abd254861 100644 (file)
@@ -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