public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gprbuild/files/, dev-ada/gprbuild/
Date: Thu, 23 Dec 2021 07:53:24 +0000 (UTC)	[thread overview]
Message-ID: <1640245985.778901b50d7e1b0f09ff48274db2de8229a1d503.tupone@gentoo> (raw)

commit:     778901b50d7e1b0f09ff48274db2de8229a1d503
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 07:23:25 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 07:53:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778901b5

dev-ada/gprbuild: use AR or NM env instead

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ada/gprbuild/files/gprbuild-2021-ar.patch   | 11 -----------
 dev-ada/gprbuild/files/gprbuild-2021-nm.patch   |  5 +++--
 dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch |  5 +++--
 dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch |  5 +++--
 dev-ada/gprbuild/gprbuild-2021-r2.ebuild        |  2 +-
 5 files changed, 10 insertions(+), 18 deletions(-)

diff --git a/dev-ada/gprbuild/files/gprbuild-2021-ar.patch b/dev-ada/gprbuild/files/gprbuild-2021-ar.patch
deleted file mode 100644
index 77f0cfead7ed..000000000000
--- a/dev-ada/gprbuild/files/gprbuild-2021-ar.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/share/gprconfig/linker.xml	2021-12-22 22:06:14.895471351 +0100
-+++ b/share/gprconfig/linker.xml	2021-12-22 22:08:01.050767123 +0100
-@@ -864,7 +864,7 @@
-       <host name="^x86_64-.*linux.*" />
-     </hosts>
-     <config>
--   for Archive_Builder  use ("ar", "cr");
-+   for Archive_Builder  use ("${HOST(Ada)}-ar", "cr");
-    for Archive_Builder_Append_Option use ("q");
-    for Archive_Indexer  use ("ranlib");
-    for Archive_Suffix   use ".a";

diff --git a/dev-ada/gprbuild/files/gprbuild-2021-nm.patch b/dev-ada/gprbuild/files/gprbuild-2021-nm.patch
index 2bf41a8e1b07..9fcab1565857 100644
--- a/dev-ada/gprbuild/files/gprbuild-2021-nm.patch
+++ b/dev-ada/gprbuild/files/gprbuild-2021-nm.patch
@@ -1,11 +1,12 @@
 --- a/share/gprconfig/linker.xml	2021-12-21 21:36:45.306813518 +0100
 +++ b/share/gprconfig/linker.xml	2021-12-21 22:20:21.642668870 +0100
-@@ -128,7 +128,7 @@
+@@ -128,7 +128,8 @@
        <host name="^i686.*-linux.*$" />
      </hosts>
      <config>
 -   for Object_Lister use ("nm", "-g");
-+   for Object_Lister use ("${HOST(Ada)}-nm", "-g");
++   NM := External("NM", "nm");
++   for Object_Lister use (NM, "-g");
     for Object_Lister_Matcher use " [TDRB] (.*)";
  
     LDFLAGS := External_As_List ("LDFLAGS", " ");

diff --git a/dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch b/dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch
index 452733493ace..6a9513473bf9 100644
--- a/dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch
+++ b/dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch
@@ -1,11 +1,12 @@
 --- a/share/gprconfig/linker.xml	2021-12-22 22:40:42.611766036 +0100
 +++ b/share/gprconfig/linker.xml	2021-12-22 22:42:28.839096356 +0100
-@@ -877,7 +877,7 @@
+@@ -877,7 +877,8 @@
        <host name="^x86_64-.*linux.*" />
      </hosts>
      <config>
 -   for Archive_Builder  use ("ar", "cr");
-+   for Archive_Builder  use ("${HOST(Ada)}-ar", "cr");
++   AR := External("AR", "ar");
++   for Archive_Builder  use (AR, "cr");
     for Archive_Builder_Append_Option use ("q");
     for Archive_Indexer  use ("ranlib");
     for Archive_Suffix   use ".a";

diff --git a/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch b/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch
index 4455e8befffa..062d7960fce7 100644
--- a/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch
+++ b/dev-ada/gprbuild/files/gprbuild-22.0.0-nm.patch
@@ -1,11 +1,12 @@
 --- a/share/gprconfig/linker.xml	2021-12-21 22:36:01.054738486 +0100
 +++ b/share/gprconfig/linker.xml	2021-12-21 22:36:59.973738600 +0100
-@@ -128,7 +128,7 @@
+@@ -128,7 +128,8 @@
        <host name="^i686.*-linux.*$" />
      </hosts>
      <config>
 -   for Object_Lister use ("nm", "-g");
-+   for Object_Lister use ("${HOST(Ada)}-nm", "-g");
++   NM := External("NM", "nm");
++   for Object_Lister use (NM, "-g");
     for Object_Lister_Matcher use " [TDRB] (.*)";
  
     package Linker is

diff --git a/dev-ada/gprbuild/gprbuild-2021-r2.ebuild b/dev-ada/gprbuild/gprbuild-2021-r2.ebuild
index 405996ac11c4..8bfc6af4419b 100644
--- a/dev-ada/gprbuild/gprbuild-2021-r2.ebuild
+++ b/dev-ada/gprbuild/gprbuild-2021-r2.ebuild
@@ -32,7 +32,7 @@ REQUIRED_USE="${ADA_REQUIRED_USE}"
 PATCHES=(
 	"${FILESDIR}"/${P}-gentoo.patch
 	"${FILESDIR}"/${P}-nm.patch
-	"${FILESDIR}"/${P}-ar.patch
+	"${FILESDIR}"/${PN}-22.0.0-ar.patch
 )
 
 src_prepare() {


             reply	other threads:[~2021-12-23  7:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23  7:53 Alfredo Tupone [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-02  8:23 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gprbuild/files/, dev-ada/gprbuild/ Alfredo Tupone
2022-11-24 20:26 Alfredo Tupone
2022-02-27  9:52 Alfredo Tupone
2021-12-22 21:53 Alfredo Tupone
2021-12-21 21:50 Alfredo Tupone
2021-06-05 13:30 Alfredo Tupone
2021-05-31  8:42 Alfredo Tupone
2021-05-30 13:54 Alfredo Tupone
2019-08-27  7:03 Alfredo Tupone
2019-06-02 16:51 Alfredo Tupone
2018-11-30 19:31 Alfredo Tupone
2018-11-07 19:53 Alfredo Tupone
2018-10-19 20:30 Alfredo Tupone
2018-10-17 19:54 Alfredo Tupone
2018-10-12  7:01 Alfredo Tupone
2018-06-09 19:08 Alfredo Tupone
2017-12-19  8:00 Alfredo Tupone
2017-07-01 16:33 Alfredo Tupone
2017-06-23 19:41 Alfredo Tupone
2017-06-19 20:19 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=1640245985.778901b50d7e1b0f09ff48274db2de8229a1d503.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