public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] profiles/default/linux: export cache variables for sed and friends
@ 2024-12-04 22:55 Sam James
  2024-12-06  0:44 ` Michael Orlitzky
  0 siblings, 1 reply; 12+ messages in thread
From: Sam James @ 2024-12-04 22:55 UTC (permalink / raw
  To: gentoo-dev; +Cc: base-system, Sam James

Prompted by yet another instance of this, this time at
https://forums.gentoo.org/viewtopic-t-1171999.html.

The results of these tests are often hardcoded into installed files
which causes issues if using a binpkg of them from a merged-usr system
on a non-merged-usr system. Just set the cache variables to avoid that.

Bug: https://bugs.gentoo.org/927837
Bug: https://bugs.gentoo.org/927864
Bug: https://bugs.gentoo.org/935721
Signed-off-by: Sam James <sam@gentoo.org>
---
 profiles/default/linux/make.defaults | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/profiles/default/linux/make.defaults b/profiles/default/linux/make.defaults
index 12dd86f25c531..f74c0cb8e3a5d 100644
--- a/profiles/default/linux/make.defaults
+++ b/profiles/default/linux/make.defaults
@@ -58,3 +58,14 @@ enable_year2038="no"
 # on others. Spoof the same result as configure gets on a modern glibc system
 # for now. See bug #447970 and bug #922652.
 gl_cv_func_getcwd_path_max="yes"
+
+# Sam James <sam@gentoo.org> (2024-12-04)
+# The results of these tests are often hardcoded into installed files
+# which causes issues if using a binpkg of them from a merged-usr system
+# on a non-merged-usr system. Just set the cache variables to avoid that.
+ac_cv_path_SED="sed"
+ac_cv_path_EGREP="grep -E"
+ac_cv_path_EGREP_TRADITIONAL="grep -E"
+ac_cv_path_FGREP="grep -F"
+ac_cv_path_GREP="grep"
+ac_cv_path_lt_DD="dd"
-- 
2.47.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-12-10 22:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-04 22:55 [gentoo-dev] [PATCH] profiles/default/linux: export cache variables for sed and friends Sam James
2024-12-06  0:44 ` Michael Orlitzky
2024-12-10  5:46   ` Sam James
2024-12-10  8:02     ` Ionen Wolkens
2024-12-10  8:13       ` Sam James
2024-12-10  8:26       ` Eli Schwartz
2024-12-10  8:57         ` Ionen Wolkens
2024-12-10  9:22         ` Ionen Wolkens
2024-12-10  5:54   ` Eli Schwartz
2024-12-10 18:31     ` Michael Orlitzky
2024-12-10 19:33       ` Eli Schwartz
2024-12-10 22:03         ` Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox