Date: Thu, 15 Apr 2004 18:54:35 +0200 From: Jens Schweikhardt <schweikh@schweikhardt.net> To: Garance A Drosihn <drosih@rpi.edu> Cc: freebsd-ports@freebsd.org Subject: Re: ports and DESTDIR (was: Second "RFC" on pkg-data idea for ports) Message-ID: <20040415165435.GB992@schweikhardt.net> In-Reply-To: <p06020404bca348995845@[128.113.24.47]> References: <p0602040cbca10a7dbe52@[128.113.24.47]> <200404131516.i3DFGMJA078941@green.homeunix.org> <20040413181311.GA5858@schweikhardt.net> <20040414210630.4353e27c@Magellan.Leidinger.net> <p06020404bca348995845@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance, # 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. No, not when it's done right. PREFIX is not DESTDIR. # 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... The either someone used DESTDIR when actually PREFIX was meant or some Makefile was bogusly using PREFIX:=$DESTDIR/$PREFIX or equivalent. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040415165435.GB992>