dev-ada/gps: Add ~x86. Fix build with gnatcoll shared
authorTupone Alfredo <tupone@gentoo.org>
Fri, 16 Mar 2018 19:12:01 +0000 (20:12 +0100)
committerTupone Alfredo <tupone@gentoo.org>
Fri, 16 Mar 2018 19:12:01 +0000 (20:12 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-ada/gps/gps-2017.ebuild

index 5196c95b9426f05faf0f56dd8cb7ae8181f8bfcc..c33f7a002f7c66fc5127008de20272e45e7cd189 100644 (file)
@@ -16,7 +16,7 @@ SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed03b
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
 RDEPEND="${PYTHON_DEPS}
@@ -63,7 +63,9 @@ src_configure() {
 }
 
 src_compile() {
-       emake GPRBUILD_FLAGS="-v ${MAKEOPTS}"
+       emake GPRBUILD_FLAGS="-v ${MAKEOPTS} \
+               -XLIBRARY_TYPE=relocatable \
+               -XXMLADA_BUILD=relocatable"
 }
 
 src_install() {