summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-27 14:52:27 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-27 14:52:27 +0100
commitd2ed9e8d87e4877b6138a976eac04ca17df15de5 (patch)
tree691e9ff94296318dda062f83465a7735e8f5b98e /dev-ada/asis
parentnet-misc/iputils: Convert live ebuild to use meson (diff)
downloadgentoo-d2ed9e8d87e4877b6138a976eac04ca17df15de5.tar.gz
gentoo-d2ed9e8d87e4877b6138a976eac04ca17df15de5.tar.bz2
gentoo-d2ed9e8d87e4877b6138a976eac04ca17df15de5.zip
dev-ada/asis: Fix build with libgpr-2018
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ada/asis')
-rw-r--r--dev-ada/asis/asis-2017.ebuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-ada/asis/asis-2017.ebuild b/dev-ada/asis/asis-2017.ebuild
index 0f150265f63a..7c251796ff8f 100644
--- a/dev-ada/asis/asis-2017.ebuild
+++ b/dev-ada/asis/asis-2017.ebuild
@@ -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
@@ -16,12 +16,11 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gnat_2016 +gnat_2017"
-DEPEND="dev-ada/gnat_util[gnat_2017]
- dev-ada/gnatcoll[gnat_2017,projects,shared]
- dev-ada/gprbuild[gnat_2017]
- dev-ada/xmlada[gnat_2017]
- dev-lang/gnat-gpl:6.3.0"
-RDEPEND="${RDEPEND}"
+RDEPEND="dev-ada/gnat_util[gnat_2017]
+ dev-ada/gnatcoll[gnat_2017,projects,shared]"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[gnat_2017]"
+
REQUIRED_USE="!gnat_2016 gnat_2017"
S="${WORKDIR}"/${MYP}
@@ -29,9 +28,11 @@ S="${WORKDIR}"/${MYP}
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_compile() {
- emake PROCESSORS=$(makeopts_jobs)
+ emake PROCESSORS=$(makeopts_jobs) \
+ GPRBUILD_FLAGS="-vl"
emake tools PROCESSORS=$(makeopts_jobs) \
GPRBUILD_FLAGS="-vl \
+ -XGPR_BUILD=relocatable \
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable"
}
@@ -40,6 +41,7 @@ src_install() {
emake prefix="${D}"/usr install
emake prefix="${D}"/usr install-tools \
GPRINSTALL="gprinstall \
+ -XGPR_BUILD=relocatable \
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable"
}