From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gps/files/, dev-ada/gps/
Date: Thu, 26 Jul 2018 20:06:04 +0000 (UTC) [thread overview]
Message-ID: <1532635552.aff3399c534657a3d399e7ff82ea5af845569908.tupone@gentoo> (raw)
commit: aff3399c534657a3d399e7ff82ea5af845569908
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 26 20:05:52 2018 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jul 26 20:05:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff3399c
dev-ada/gps: respect ADAFLAGS/CFLAGS
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-ada/gps/files/gps-2018-gentoo.patch | 56 +++++++++++++++++++++++++--------
dev-ada/gps/gps-2018.ebuild | 6 ++--
2 files changed, 46 insertions(+), 16 deletions(-)
diff --git a/dev-ada/gps/files/gps-2018-gentoo.patch b/dev-ada/gps/files/gps-2018-gentoo.patch
index d03a0111122..06a080b69d5 100644
--- a/dev-ada/gps/files/gps-2018-gentoo.patch
+++ b/dev-ada/gps/files/gps-2018-gentoo.patch
@@ -1,25 +1,15 @@
--- a/gps/Makefile 2018-07-09 20:27:34.950424490 +0200
+++ b/gps/Makefile 2018-07-09 20:37:39.510558817 +0200
-@@ -47,7 +47,7 @@
+@@ -47,7 +47,8 @@
for f in ../kernel/generated/*; do cat $$f | tr -d '\015' > $$f-aux; mv -f $$f-aux $$f; done
endif
$(GPRBUILD) $(GPRBUILD_FLAGS) -m -p -ws \
- $(GPRBUILD_BUILD_TYPE_FLAGS) -Pgps -largs `pkg-config gmodule-2.0 --libs`
-+ $(GPRBUILD_BUILD_TYPE_FLAGS) -Pgps -largs `pkg-config gmodule-2.0 --libs` -lpython2.7
++ $(GPRBUILD_BUILD_TYPE_FLAGS) -Pgps -largs `pkg-config gmodule-2.0 --libs` -lpython2.7 \
++ -cargs:Ada ${ADAFLAGS} -cargs:C ${CFLAGS}
resources:
ifeq ($(OS),Windows_NT)
---- a/testsuite/Makefile 2018-07-09 21:45:48.115937491 +0200
-+++ b/testsuite/Makefile 2018-07-09 21:46:15.896547268 +0200
-@@ -13,7 +13,7 @@
- endif
-
- all default: package
-- $(GPRBUILD) -P testsuite_drivers.gpr -m -XOS=${OS} -j0 -XLIBRARY_TYPE=relocatable -XXMLADA_BUILD=relocatable
-+ $(GPRBUILD) -P testsuite_drivers.gpr -m -XOS=${OS} -j0 -XLIBRARY_TYPE=relocatable -XXMLADA_BUILD=relocatable -largs -lpython2.7
-
- package:
- mkdir -p share/doc
--- a/Makefile.in 2018-07-09 21:51:08.422550386 +0200
+++ b/Makefile.in 2018-07-09 21:51:32.187225891 +0200
@@ -10,7 +10,7 @@
@@ -85,3 +75,43 @@
<string />
</project_attribute>
+--- a/gnatcoll_extras/gnatcoll_extras.gpr 2018-07-22 14:42:17.618161040 +0200
++++ b/gnatcoll_extras/gnatcoll_extras.gpr 2018-07-22 14:43:33.973070921 +0200
+@@ -14,6 +14,7 @@
+ for Switches ("C") use
+ ("-g", "-O2")
+ & Shared.Gtk_Cflags & Shared.Pygobject_Include & Shared.Python_Cflags;
++ for Driver ("C") use External ("CC", "gcc");
+ end Compiler;
+
+ end GNATCOLL_Extras;
+--- a/widgets/widgets.gpr 2018-07-22 21:46:23.907355738 +0200
++++ b/widgets/widgets.gpr 2018-07-22 21:47:02.673825994 +0200
+@@ -14,6 +14,7 @@
+ for Switches ("C") use
+ ("-g", "-O2")
+ & Shared.Gtk_Cflags;
++ for Driver ("C") use External ("CC", "gcc");
+ end Compiler;
+
+ end Widgets;
+--- a/common/common.gpr.in 2018-07-25 08:05:45.227060250 +0200
++++ b/common/common.gpr.in 2018-07-25 08:06:55.067009811 +0200
+@@ -23,6 +23,7 @@
+ for Switches ("dynamic_arrays.adb") use No_Checks;
+ when "Debug" =>
+ end case;
++ for Driver ("C") use External ("CC", "gcc");
+ end Compiler;
+
+ package Binder is
+--- a/shared.gpr.in 2018-07-25 08:11:47.317597391 +0200
++++ b/shared.gpr.in 2018-07-25 08:10:56.774362671 +0200
+@@ -60,6 +60,7 @@
+ );
+ for Switches ("C") use Optimize & ("-g", "-O2");
+ end case;
++ for Driver ("C") use External ("CC", "gcc");
+ end Compiler;
+
+ package Binder is
diff --git a/dev-ada/gps/gps-2018.ebuild b/dev-ada/gps/gps-2018.ebuild
index e67c569534f..5a97ccc8bd2 100644
--- a/dev-ada/gps/gps-2018.ebuild
+++ b/dev-ada/gps/gps-2018.ebuild
@@ -66,10 +66,10 @@ src_configure() {
}
src_compile() {
- emake -C gps GPRBUILD_FLAGS="-v ${MAKEOPTS}" \
+ CC=/usr/bin/gcc-7.3.1 emake -C gps GPRBUILD_FLAGS="-v ${MAKEOPTS}" \
Build=Production
- gprbuild -v -p -Pcli/cli.gpr -XLIBRARY_TYPE=relocatable
- emake -C testsuite
+ gprbuild -v -p -Pcli/cli.gpr ${MAKEOPTS} -XLIBRARY_TYPE=relocatable \
+ -cargs:Ada ${ADAFLAGS}
}
src_install() {
next reply other threads:[~2018-07-26 20:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 20:06 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-11-17 21:07 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gps/files/, dev-ada/gps/ Alfredo Tupone
2019-10-22 6:46 Alfredo Tupone
2018-07-12 6:30 Alfredo Tupone
2017-12-10 20:45 Alfredo Tupone
2017-11-25 17:43 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1532635552.aff3399c534657a3d399e7ff82ea5af845569908.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox