summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2017-07-01 19:04:43 +0200
committerTupone Alfredo <tupone@gentoo.org>2017-07-01 19:04:43 +0200
commit1c0405d3ca64543da1333880088b8315b0f1ccf3 (patch)
treedb8c05bac8b6d5687be1c6142e792438672343a0 /dev-ada/gnat_util
parentsys-kernel/bliss-initramfs: version bump to 7.1.0 (diff)
downloadgentoo-1c0405d3ca64543da1333880088b8315b0f1ccf3.tar.gz
gentoo-1c0405d3ca64543da1333880088b8315b0f1ccf3.tar.bz2
gentoo-1c0405d3ca64543da1333880088b8315b0f1ccf3.zip
dev-ada/gnat_util: 2017 version is only compatible with gnat-gpl-2017
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-ada/gnat_util')
-rw-r--r--dev-ada/gnat_util/gnat_util-2017.ebuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/dev-ada/gnat_util/gnat_util-2017.ebuild b/dev-ada/gnat_util/gnat_util-2017.ebuild
index 90558f72e05..cd40316597f 100644
--- a/dev-ada/gnat_util/gnat_util-2017.ebuild
+++ b/dev-ada/gnat_util/gnat_util-2017.ebuild
@@ -15,24 +15,18 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed037
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="gnat_2016 gnat_2017 +shared static static-pic"
+IUSE="+shared static static-pic"
-RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
- gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )"
+RDEPEND="dev-lang/gnat-gpl:6.3.0"
DEPEND="${RDEPEND}
- dev-ada/gprbuild[gnat_2016=,gnat_2017=]"
-REQUIRED_USE="^^ ( gnat_2016 gnat_2017 )"
+ dev-ada/gprbuild[gnat_2017]"
S="${WORKDIR}"/${MYP}-src
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_compile() {
- if use gnat_2016; then
- GCC_PV=4.9.4
- else
- GCC_PV=6.3.0
- fi
+ GCC_PV=6.3.0
GCC=${CHOST}-gcc-${GCC_PV}
GNATMAKE=${CHOST}-gnatmake-${GCC_PV}
emake GNATMAKE="${GNATMAKE} ${ADAFLAGS}" \