Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/binutils-config:master commit in: src/
Date: Sat, 08 Jan 2022 19:15:49
Message-Id: 1641669317.d7aedfa1bc07a252041cc12bffb3c7a81e067121.floppym@gentoo
1 commit: d7aedfa1bc07a252041cc12bffb3c7a81e067121
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 8 19:05:55 2022 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 8 19:15:17 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=d7aedfa1
7
8 Use @GENTOO_EPREFIX@ instead of @GENTOO_PORTAGE_EPREFIX@
9
10 This matches the sed expression in the Makefile, and the expression used
11 in gcc-config.
12
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14
15 src/binutils-config | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/src/binutils-config b/src/binutils-config
19 index 6604a14..28bb044 100755
20 --- a/src/binutils-config
21 +++ b/src/binutils-config
22 @@ -6,8 +6,8 @@
23 # config-TARGET: CURRENT=version for TARGET
24 # TARGET-VER: has a TARGET and VER variable
25
26 -EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
27 -if [[ ${EPREFIX} == "@"GENTOO_PORTAGE_EPREFIX"@" ]] ; then
28 +EPREFIX="@GENTOO_EPREFIX@"
29 +if [[ ${EPREFIX} == "@"GENTOO_EPREFIX"@" ]] ; then
30 EPREFIX=""
31 fi