On Fri, 18.02.2011 at 16:36:13 +, Alexander Best wrote:
On Fri Feb 18 11, Ulrich Spörlein wrote:
On Tue, 15.02.2011 at 21:10:29 +, Alexander Best wrote:
hi there,
i've run into an issue where $PATH doesn't get discarded during
buildworld. is
this behavior to be
On Tue, 15.02.2011 at 21:10:29 +, Alexander Best wrote:
hi there,
i've run into an issue where $PATH doesn't get discarded during buildworld. is
this behavior to be expected? to reproduce do:
1) be sure /usr/local/bin comes *before* /usr/bin in your $PATH
2) ln -s /bin/cat
On Fri Feb 18 11, Ulrich Spörlein wrote:
On Tue, 15.02.2011 at 21:10:29 +, Alexander Best wrote:
hi there,
i've run into an issue where $PATH doesn't get discarded during buildworld.
is
this behavior to be expected? to reproduce do:
1) be sure /usr/local/bin comes *before*
On Fri, 18 Feb 2011 16:36:13 +
Alexander Best arun...@freebsd.org wrote:
On Fri Feb 18 11, Ulrich Spörlein wrote:
On Tue, 15.02.2011 at 21:10:29 +, Alexander Best wrote:
hi there,
i've run into an issue where $PATH doesn't get discarded during
buildworld. is
this
On 2011-02-18 17:36, Alexander Best wrote:
...
i'd say no. imo nothing from /usr/local/* should ever be invoked when compiling
a target in /usr/src. everything that's needed is in /usr/* (excluding local).
so $PATH should unconditionally be set to sth. like:
PATH=/sbin:/bin:/usr/sbin:/usr/bin;
I generally don't have problems with make in FreeBSD environments, but
often have tons of problems in others, like OpenSolaris,
buildroot/busybox, and so on. To solve this, I clean my environment by
using this shell script (called cleanenv):
#!/bin/sh
env -i PATH=/usr/bin:/bin TERM=${TERM}
hi there,
i've run into an issue where $PATH doesn't get discarded during buildworld. is
this behavior to be expected? to reproduce do:
1) be sure /usr/local/bin comes *before* /usr/bin in your $PATH
2) ln -s /bin/cat /usr/local/bin/cc (some sh script would be better)
3) cd /usr/src ; make