On 12/5/24 7:44 PM, Michael Orlitzky wrote:
> On 2024-12-04 22:55:22, Sam James wrote:
>> 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.
>> ...
>> +ac_cv_path_SED="sed"
> 
> Obviously it would defeat the purpose to put a full path in there, but
> won't this break software that expects them to be a path (since that's
> what the autoconf macros are documented to do)?


It "should" only ever break software that uses them to configure shebang
lines, but this is uncommon for anything other than SH and BASH.
Attempting to treat EGREP, FGREP, and EGREP_TRADITIONAL as paths of any
sort will be outright broken, even, since "/bin/grep -E" can't be used
as a full filepath anyway.

What circumstances other than a shebang might break without a full path?


-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to