public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-config/
Date: Sun, 21 Jun 2020 12:42:06 +0000 (UTC)	[thread overview]
Message-ID: <1592743323.16d45fbb6685fc87caf145c997ed0a781edec633.slyfox@gentoo> (raw)

commit:     16d45fbb6685fc87caf145c997ed0a781edec633
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 12:41:38 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 12:42:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d45fbb

sys-devel/binutils-config: bump up to 5.3.2

Single new change:
add --get-bin-path / --get-lib-path

The options are symmetric to gcc-config's --get-bin-path / --get-lib-path.

Useful to quickly get unprefixed tools into $PATH as:
    export PATH="$(gcc-config -B):$(binutils-config -B):$PATH"

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/binutils-config/Manifest                 |  1 +
 .../binutils-config/binutils-config-5.3.2.ebuild   | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest
index 38ab097bed1..2add03ff704 100644
--- a/sys-devel/binutils-config/Manifest
+++ b/sys-devel/binutils-config/Manifest
@@ -1 +1,2 @@
 DIST binutils-config-5.3.1.tar.xz 6688 BLAKE2B 3bc1b96a96b0c30e425f4ffd42f86a09e2a80cc3ad1dcf77d4b5d2d9eb3d6bc607f78dfff1ae888fe8abfe44405a1e4d1ab325aa92fc5889c18aa3187a506647 SHA512 c6d188b70935604a8a519c036dda210c20e5b6e916fab33e5026bd5c78adfff0a1aa85003759b751275576ff33471b25c920beb6b1c088115f28918389e09ce2
+DIST binutils-config-5.3.2.tar.xz 6840 BLAKE2B 4f02b8d1f3f8d4adca811772edba6167fc0e739f8ff1e895f30745eca45b559da6622bb76a0cac6016d6e864fe7ad6c921c64c7ec1c18c130b3a64a1dd7b9cbc SHA512 03dfecf46fee941b7b9fc35b63ffd22c795ab54f0444f16fc00ed44d27c81f6baaca33170fb700cfc4d767be469f305890882839536363bc466ad200d28d2228

diff --git a/sys-devel/binutils-config/binutils-config-5.3.2.ebuild b/sys-devel/binutils-config/binutils-config-5.3.2.ebuild
new file mode 100644
index 00000000000..5f9cd23da4a
--- /dev/null
+++ b/sys-devel/binutils-config/binutils-config-5.3.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit prefix
+
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/binutils-config.git"
+	inherit git-r3
+else
+	SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="Utility to change the binutils version being used"
+HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Toolchain"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+native-symlinks"
+
+# We also RDEPEND on sys-apps/findutils which is in base @system
+RDEPEND="sys-apps/gentoo-functions"
+
+src_compile() {
+	emake DESTDIR="${D}" PV="${PV}" USE_NATIVE_LINKS="$(usex native-symlinks)"
+}
+
+src_install() {
+	emake DESTDIR="${D}" PV="${PV}" install
+
+	use prefix && eprefixify "${ED}"/usr/bin/${PN}
+}
+
+pkg_postinst() {
+	# Re-register all targets. USE flags or new versions can change
+	# installed symlinks.
+	local x
+	for x in $(binutils-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do
+		binutils-config ${x}
+	done
+}


             reply	other threads:[~2020-06-21 12:42 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-21 12:42 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-08  5:45 [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-config/ Sam James
2024-12-08  5:45 Sam James
2024-11-20  8:31 Sam James
2024-09-24 11:52 Sam James
2024-09-21  8:58 Michał Górny
2024-09-21  8:58 Michał Górny
2024-09-21  8:58 Michał Górny
2024-09-21  8:58 Michał Górny
2024-07-28 17:13 Andreas K. Hüttel
2024-07-28 14:32 Andreas K. Hüttel
2024-07-28 13:05 Andreas K. Hüttel
2023-09-18  0:41 Andreas K. Hüttel
2023-09-18  0:41 Andreas K. Hüttel
2023-04-10  8:21 Sam James
2023-04-10  6:52 Sam James
2023-04-10  6:52 Sam James
2023-04-10  6:52 Sam James
2023-04-10  6:52 Sam James
2023-04-10  6:52 Sam James
2023-04-10  6:52 Sam James
2023-04-10  6:52 Sam James
2023-01-03  6:14 Sam James
2023-01-03  6:14 Sam James
2023-01-03  1:06 Sam James
2022-12-28 15:27 Sam James
2022-04-24  2:35 Sam James
2022-04-02 12:04 Arthur Zamarin
2022-04-01  6:53 Arthur Zamarin
2022-03-31 19:27 Arthur Zamarin
2022-03-28  6:51 Agostino Sarubbo
2022-03-27  6:27 Agostino Sarubbo
2022-03-27  6:25 Agostino Sarubbo
2022-03-27  6:25 Agostino Sarubbo
2022-02-20  6:07 Sam James
2022-01-09 14:57 Mike Gilbert
2021-10-01  7:14 Sam James
2021-05-15 13:58 Sergei Trofimovich
2021-05-09 23:46 Sam James
2021-05-09 23:46 Sam James
2021-05-09  9:17 Agostino Sarubbo
2021-04-30 15:37 Agostino Sarubbo
2021-04-25  9:18 Sergei Trofimovich
2021-04-25  9:18 Sergei Trofimovich
2021-04-25  8:56 Sergei Trofimovich
2021-03-15  9:08 Sergei Trofimovich
2021-02-28  9:50 Sergei Trofimovich
2020-08-06 21:22 Sergei Trofimovich
2020-08-05 14:06 Agostino Sarubbo
2020-08-01 15:35 Sergei Trofimovich
2020-08-01  9:01 Sergei Trofimovich
2020-08-01  8:53 Sergei Trofimovich
2020-07-28 17:28 Sergei Trofimovich
2020-07-27 18:36 Sergei Trofimovich
2020-07-27  3:01 Sam James
2020-07-25 21:50 Sam James
2020-07-25 11:17 Sam James
2020-07-17  3:04 Sam James
2020-07-02 17:05 Sergei Trofimovich
2020-06-29 13:40 Agostino Sarubbo
2020-06-29 13:38 Agostino Sarubbo
2020-06-29 13:37 Agostino Sarubbo
2020-06-29 13:37 Agostino Sarubbo
2020-06-29 13:36 Agostino Sarubbo
2020-06-29 13:36 Agostino Sarubbo
2020-06-29 13:35 Agostino Sarubbo
2020-05-29 22:13 Sergei Trofimovich
2020-05-23  7:55 Sergei Trofimovich
2020-05-23  7:55 Sergei Trofimovich
2020-05-22 20:53 Sergei Trofimovich
2020-05-22 13:37 Sergei Trofimovich
2020-05-22  9:47 Sergei Trofimovich
2020-05-21 22:06 Sergei Trofimovich
2020-05-21 18:25 Sergei Trofimovich
2020-05-02 17:51 Sergei Trofimovich
2020-04-07 10:21 Mart Raudsepp
2020-03-23 23:58 Sergei Trofimovich
2020-02-13 19:52 Sergei Trofimovich
2020-02-13 13:03 Agostino Sarubbo
2020-02-13 12:46 Agostino Sarubbo
2020-02-13 12:38 Agostino Sarubbo
2020-02-13 12:27 Agostino Sarubbo
2020-02-13 12:19 Agostino Sarubbo
2020-02-13 12:10 Agostino Sarubbo
2020-02-13 12:03 Agostino Sarubbo
2020-02-13  8:57 Agostino Sarubbo
2019-11-10 22:20 Sergei Trofimovich
2019-09-19 18:54 Sergei Trofimovich
2019-05-04 19:51 Andreas K. Hüttel
2018-06-19  2:08 Mike Frysinger
2016-04-03  0:56 Mike Frysinger
2016-03-24  5:57 Markus Meier
2016-03-15 11:26 Agostino Sarubbo
2015-08-13  8:59 Ulrich Müller

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=1592743323.16d45fbb6685fc87caf145c997ed0a781edec633.slyfox@gentoo \
    --to=slyfox@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