From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-build/libtool/
Date: Tue, 26 Mar 2024 23:03:46 +0000 (UTC) [thread overview]
Message-ID: <1711494193.1c76376ce6ddd5fa26c30de8de00afd775b013f1.sam@gentoo> (raw)
commit: 1c76376ce6ddd5fa26c30de8de00afd775b013f1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 22:55:01 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 23:03:13 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c76376c
dev-build/libtool: don't hardcode path to grep & friends
Closes: https://bugs.gentoo.org/927837
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libtool/{libtool-2.4.7-r3.ebuild => libtool-2.4.7-r4.ebuild} | 8 ++++++--
dev-build/libtool/libtool-9999.ebuild | 8 ++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/dev-build/libtool/libtool-2.4.7-r3.ebuild b/dev-build/libtool/libtool-2.4.7-r4.ebuild
similarity index 92%
rename from dev-build/libtool/libtool-2.4.7-r3.ebuild
rename to dev-build/libtool/libtool-2.4.7-r4.ebuild
index 75bdf19f6d2a..d165475452d8 100644
--- a/dev-build/libtool/libtool-2.4.7-r3.ebuild
+++ b/dev-build/libtool/libtool-2.4.7-r4.ebuild
@@ -98,11 +98,15 @@ src_configure() {
# to find a bash shell. if /bin/sh is bash, it uses that. this can
# cause problems for people who switch /bin/sh on the fly to other
# shells, so just force libtool to use /bin/bash all the time.
- export CONFIG_SHELL="${EPREFIX}"/bin/bash
-
# Do not bother hardcoding the full path to sed.
# Just rely on $PATH. bug #574550
+ export CONFIG_SHELL="${EPREFIX}"/bin/bash
export ac_cv_path_SED="$(basename "$(type -P sed)")"
+ export ac_cv_path_EGREP="$(basename "$(type -P grep)") -E"
+ export ac_cv_path_EGREP_TRADITIONAL="$(basename "$(type -P grep)") -E"
+ export ac_cv_path_FGREP="$(basename "$(type -P grep)") -F"
+ export ac_cv_path_GREP="$(basename "$(type -P grep)")"
+ export ac_cv_path_lt_DD="$(basename "$(type -P dd)")"
[[ ${CHOST} == *-darwin* ]] && local myconf="--program-prefix=g"
diff --git a/dev-build/libtool/libtool-9999.ebuild b/dev-build/libtool/libtool-9999.ebuild
index 033495d8ee02..f25c4861a85e 100644
--- a/dev-build/libtool/libtool-9999.ebuild
+++ b/dev-build/libtool/libtool-9999.ebuild
@@ -96,11 +96,15 @@ src_configure() {
# to find a bash shell. if /bin/sh is bash, it uses that. this can
# cause problems for people who switch /bin/sh on the fly to other
# shells, so just force libtool to use /bin/bash all the time.
- export CONFIG_SHELL="${EPREFIX}"/bin/bash
-
# Do not bother hardcoding the full path to sed.
# Just rely on $PATH. bug #574550
+ export CONFIG_SHELL="${EPREFIX}"/bin/bash
export ac_cv_path_SED="$(basename "$(type -P sed)")"
+ export ac_cv_path_EGREP="$(basename "$(type -P grep)") -E"
+ export ac_cv_path_EGREP_TRADITIONAL="$(basename "$(type -P grep)") -E"
+ export ac_cv_path_FGREP="$(basename "$(type -P grep)") -F"
+ export ac_cv_path_GREP="$(basename "$(type -P grep)")"
+ export ac_cv_path_lt_DD="$(basename "$(type -P dd)")"
[[ ${CHOST} == *-darwin* ]] && local myconf="--program-prefix=g"
next reply other threads:[~2024-03-26 23:03 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-26 23:03 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-25 15:52 [gentoo-commits] repo/gentoo:master commit in: dev-build/libtool/ Matt Turner
2025-01-06 8:09 Sam James
2025-01-06 8:04 Sam James
2025-01-06 8:04 Sam James
2025-01-06 8:04 Sam James
2025-01-06 8:04 Sam James
2025-01-06 8:04 Sam James
2025-01-06 8:04 Sam James
2025-01-06 7:23 Sam James
2024-11-21 12:23 Sam James
2024-09-30 2:36 Sam James
2024-09-30 2:36 Sam James
2024-09-30 2:36 Sam James
2024-09-25 16:53 Sam James
2024-08-29 23:08 Sam James
2024-08-14 22:53 Sam James
2024-05-16 0:51 Sam James
2024-05-15 9:16 Sam James
2024-03-29 2:28 Sam James
2024-03-24 10:57 Sam James
2024-03-24 9:07 Sam James
2024-03-24 9:07 Sam James
2024-03-02 16:54 Arthur Zamarin
2024-02-18 13:20 Sam James
2024-01-18 1:52 Mike Frysinger
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=1711494193.1c76376ce6ddd5fa26c30de8de00afd775b013f1.sam@gentoo \
--to=sam@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