mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ada/xmlada: Respect ADA (env vars)
Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
@@ -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
|
||||
|
||||
10
dev-ada/xmlada/files/xmlada-2017-gentoo.patch
Normal file
10
dev-ada/xmlada/files/xmlada-2017-gentoo.patch
Normal 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
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user