They break often so we should think, longer-term, about removing it
altogether but may as well give users fair warning before that point.
Closes#24220.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
* Finds pkg-config files such as "lib/pkgconfig/libfoo.pc" and "bin/libfoo-config"
* Does inreplace on paths in such files to allow for better bottle relocation ability
Closes#23825.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
When decided what dependencies should be part of the build environment
(and have appropriate entries added to variables like PKG_CONFIG_PATH),
we select the entire dependency tree except for
(1) inactive optional and recommended deps (2) indirect build-time deps
(i.e., build-time deps of other deps)
There is a third category that sould be excluded: dependencies of direct
build-time deps. These are irrelevant to the build, and including them
can cause unexpected linkages.
* shows green tick if installed or red cross if not
* only highlight dependency if HOMEBREW_NO_EMOJI is set
Closes#18922.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
The one liner should put `#{HOMEBREW_PREFIX}/bin:$PATH` into bash profile.
Previously it was being interpreted by the shell before being put in bash profile.
Closes#24008.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The cc wrapper's make_fuss is only enabled when HOMEBREW_CCCFG contains
'O', which is set by the make wrapper. This means it is disable when
running configure scripts. However, this does not include configure
scripts invoked by make, which inherit the value of HOMEBREW_CCCFG from
the make process. make_fuss will be enabled for these scripts, cause
breakage.
Configure scripts generated by autoconf 2.56 (November 2002) or later
export DUALCASE into the environment of subprocesses. This variable is
only used by the MKS shell, so we can use it as a heuristic to determine
if we are running as a subprocess of a configure script.