dev-ada/xmlada: Respect ADA (env vars)

Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
Tupone Alfredo
2017-06-20 21:29:58 +02:00
parent 2b6d45c2e1
commit 55c470a2a5
5 changed files with 27 additions and 4 deletions

View File

@@ -17,3 +17,13 @@
# 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

View File

@@ -0,0 +1,10 @@
--- 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

View File

@@ -9,7 +9,8 @@ MYP=${PN}-gpl-${PV}
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"
@@ -17,7 +18,7 @@ KEYWORDS="~amd64"
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"

View File

@@ -18,12 +18,14 @@ KEYWORDS="~amd64"
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
}

View File

@@ -18,7 +18,7 @@ KEYWORDS=""
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"