mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ada/xmlada: Build using the compiler associated to gprbuild
Package-Manager: Portage-2.3.5, Repoman-2.3.1
This commit is contained in:
@@ -17,13 +17,3 @@
|
||||
|
||||
# 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
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
--- 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
|
||||
@@ -24,8 +24,6 @@ DEPEND="${RDEPEND}
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
src_configure () {
|
||||
econf --prefix="${D}"/usr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user