# Rebuild the tests (and not the XML/Ada code itself)
test: force
+--- xmlada-gpl-2016-src/shared.gpr.in.old 2017-06-20 21:22:08.312775803 +0200
++++ xmlada-gpl-2016-src/shared.gpr.in 2017-06-20 21:22:47.486201843 +0200
+@@ -76,6 +76,7 @@
+ when "profile" =>
+ for Switches ("Ada") use warnings & ("-g", "-pg");
+ end case;
++ for Driver ("Ada") use External ("ADA", "gcc");
+ end compiler;
+
+ package binder is
--- /dev/null
+--- xmlada-gpl-2016-src/shared.gpr.in.old 2017-06-20 21:22:08.312775803 +0200
++++ xmlada-gpl-2016-src/shared.gpr.in 2017-06-20 21:22:47.486201843 +0200
+@@ -76,6 +76,7 @@
+ when "profile" =>
+ for Switches ("Ada") use warnings & ("-g", "-pg");
+ end case;
++ for Driver ("Ada") use External ("ADA", "gcc");
+ end compiler;
+
+ package binder is
DESCRIPTION="Set of modules that provide a simple manipulation of XML streams"
HOMEPAGE="http://libre.adacore.com/"
-SRC_URI="http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0 -> ${MYP}-src.tar.gz"
+SRC_URI="http://mirrors.cdn.adacore.com/art/57399978c7a447658e0affc0 ->
+ ${MYP}-src.tar.gz"
LICENSE="GPL-3"
SLOT="0"
IUSE="+shared static static-pic"
REQUIRED_USE="|| ( shared static static-pic )"
-RDEPEND="dev-lang/gnat-gpl:="
+RDEPEND="dev-lang/gnat-gpl:*"
DEPEND="${RDEPEND}
dev-ada/gprbuild"
IUSE="+shared static static-pic"
REQUIRED_USE="|| ( shared static static-pic )"
-RDEPEND="dev-lang/gnat-gpl:="
+RDEPEND="dev-lang/gnat-gpl:*"
DEPEND="${RDEPEND}
dev-ada/gprbuild"
S="${WORKDIR}"/${MYP}-src
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
src_configure () {
econf --prefix="${D}"/usr
}
IUSE="+shared static static-pic"
REQUIRED_USE="|| ( shared static static-pic )"
-RDEPEND="dev-lang/gnat-gpl:="
+RDEPEND="dev-lang/gnat-gpl:*"
DEPEND="${RDEPEND}
dev-ada/gprbuild"