tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Use stricter PATH during build
On Thu, 11 Dec 2008 01:58:02 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> On Tue, Dec 09, 2008 at 06:56:04PM -0500, Greg Troxel wrote:
> > If there isn't consensus to just add it (if it breaks a lot of packages,
> > seems premature), how about committing it but defaulting to off, with
> > PKG_DEVELOPER_STRICT_PATH=YES enabling it?
>
> Let me put it differently. A while ago I started to fix build breakage
> when PATH doesn't contain PREFIX/bin. I gave up fighting the windmills
> after a while. This will give even worse fallout. Who will fix that?
I never have ${PREFIX}/bin in ${PATH} when I build packages,
and I seldom encounter breakage. Removing ${PREFIX}/bin from ${PATH}
in bsd.pkg.mk sounds sane to me. Removing the standard search path
might be pushing it, though.
> The real issue is that this is very like to just disable features
> silently.
We already have the opposite, worse problem with packages that
silently enable features based on what happens to be available in
${PREFIX}/bin. Python software is especially good at this :-(
-Tobias
Home |
Main Index |
Thread Index |
Old Index