dev-ada/asis: Require shared library for both xmlada and gnatcoll
authorTupone Alfredo <tupone@gentoo.org>
Thu, 8 Mar 2018 10:17:12 +0000 (11:17 +0100)
committerTupone Alfredo <tupone@gentoo.org>
Thu, 8 Mar 2018 10:17:35 +0000 (11:17 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-ada/asis/asis-2016.ebuild
dev-ada/asis/asis-2017.ebuild

index 48c6312f8b75bb7cd4862ef6dc134ad6d598d41b..c54e214eb9e34d368385d07b7608db8204949a82 100644 (file)
@@ -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
@@ -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"
 }
index 82141cacc339f4e865ca5380aa9aef0055eaa14b..abe7adfd62fc0bb202914a882bd48651962c06a3 100644 (file)
@@ -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
@@ -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"
 }