Skip to content

Commit

Permalink
dev-ada/asis: Require shared library for both xmlada and gnatcoll
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
atupone committed Mar 8, 2018
1 parent 5d27fd7 commit 4913e93
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
12 changes: 9 additions & 3 deletions dev-ada/asis/asis-2016.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -31,10 +31,16 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )

src_compile() {
emake PROCESSORS=$(makeopts_jobs)
emake tools PROCESSORS=$(makeopts_jobs)
emake tools PROCESSORS=$(makeopts_jobs) \
GPRBUILD_FLAGS="-vl \
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable"
}

src_install() {
emake prefix="${D}"/usr install
emake prefix="${D}"/usr install-tools
emake prefix="${D}"/usr install-tools \
GPRINSTALL="gprinstall \
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable"
}
12 changes: 9 additions & 3 deletions dev-ada/asis/asis-2017.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -30,10 +30,16 @@ PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )

src_compile() {
emake PROCESSORS=$(makeopts_jobs)
emake tools PROCESSORS=$(makeopts_jobs)
emake tools PROCESSORS=$(makeopts_jobs) \
GPRBUILD_FLAGS="-vl \
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable"
}

src_install() {
emake prefix="${D}"/usr install
emake prefix="${D}"/usr install-tools
emake prefix="${D}"/usr install-tools \
GPRINSTALL="gprinstall \
-XLIBRARY_TYPE=relocatable \
-XXMLADA_BUILD=relocatable"
}

0 comments on commit 4913e93

Please sign in to comment.