ports and DESTDIR (was: Second "RFC" on pkg-data idea for
ports)
Alexander Leidinger
Alexander at Leidinger.net
Wed Apr 14 13:16:57 PDT 2004
On Wed, 14 Apr 2004 16:03:02 -0400
Garance A Drosihn <drosih at rpi.edu> wrote:
> Another complication is that many ports include cross-references
> to themselves or other programs "on the system". If you install
> to /otherhost/usr/local/bin, then those ports will embed that
> installation path in the files they install. When you then
> run it on the other system, it references /other/usr/local
> instead of the /usr/local that you want it to use.
>
> I know I have been bitten by this on some occasions, although I
> can't think of a specific example right now...
Only if you misuse PREFIX for this. DESTDIR is an install-time only
variable.
Bye,
Alexander.
--
I'm available to get hired.
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
More information about the freebsd-ports
mailing list