Skip to content

Commit

Permalink
dev-ada/asis: Stable
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
  • Loading branch information
atupone committed Nov 27, 2018
1 parent c43f422 commit 4fa4e84
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions dev-ada/asis/asis-2018.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,10 +13,14 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819e0c7a447df26c27ab8

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="gnat_2016 gnat_2017 +gnat_2018"

RDEPEND="dev-ada/gnatcoll-core[gnat_2016=,gnat_2017=,gnat_2018=,shared]"
RDEPEND="dev-ada/gnat_util[gnat_2016=,gnat_2017=,gnat_2018=]
|| (
dev-ada/gnatcoll-core[gnat_2016=,gnat_2017=,gnat_2018=,shared]
dev-ada/gnatcoll[gnat_2016=,gnat_2017=,gnat_2018=,projects,shared]
)"
DEPEND="${RDEPEND}
dev-ada/gprbuild[gnat_2016=,gnat_2017=,gnat_2018=]"

Expand All @@ -25,9 +29,11 @@ S="${WORKDIR}"/${MYP}
PATCHES=( "${FILESDIR}"/${PN}-2017-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"
}
Expand All @@ -36,6 +42,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"
rm -r "${D}"/usr/share/gpr/manifests || die
Expand Down

0 comments on commit 4fa4e84

Please sign in to comment.