dev-lang/spark: Fix build.
authorTupone Alfredo <tupone@gentoo.org>
Tue, 26 Jun 2018 19:25:16 +0000 (21:25 +0200)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 26 Jun 2018 19:25:16 +0000 (21:25 +0200)
Closes: https://bugs.gentoo.org/658554
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-lang/spark/spark-2017.ebuild

index e63d7069015f7b570b8f9cae20fd1b05c24c7eba..47ad4e812b0fb10056711b22a6a7a963e7c1c0ed 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
@@ -20,8 +20,7 @@ KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="dev-lang/gnat-gpl:6.3.0
-       >=dev-ada/gnatcoll-2017[gnat_2017,projects]
-       || ( dev-ada/gnatcoll[shared] dev-ada/gnatcoll[static] )
+       >=dev-ada/gnatcoll-2017[gnat_2017,projects,shared]
        sci-mathematics/alt-ergo
        sci-mathematics/why3-for-spark"
 DEPEND="${RDEPEND}
@@ -43,7 +42,8 @@ src_prepare() {
 }
 
 src_compile() {
-       emake gnat2why gnatprove
+       emake GPRARGS="-XLIBRARY_TYPE=relocatable" gnat2why
+       emake PROD="-XLIBRARY_TYPE=relocatable" gnatprove
 }
 
 src_install() {