dependency on PATH

Andriy Gapon avg at
Thu Nov 11 17:17:19 UTC 2010

It seems that the check for executable dependencies relies on 'which' being able
to find the executables, and so it implicitly depends on those executables being
in PATH.
Is this correct behavior?
Perhaps ports infrastructure could add ${PREFIX}/bin to PATH automatically?
Or could it cause undesired side-effects?

The reason I ask this is because of PORTS_MODULES handling - when a kernel build
starts a port build the PATH variable is specifically set up and doesn't include
typical ports bin directories.

Andriy Gapon

More information about the freebsd-ports mailing list