Date: Thu, 7 Jun 2001 23:20:02 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-ports@FreeBSD.org Subject: Re: ports/20601: DESTDIR and /etc/shells Message-ID: <200106080620.f586K2q15182@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/20601; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> To: Laurent Wacrenier <lwa@teaser.fr> Cc: lwa@victor.teaser.fr, markp@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/20601: DESTDIR and /etc/shells Date: Fri, 8 Jun 2001 09:16:01 +0300 On Thu, Jun 07, 2001 at 08:00:50PM +0200, Laurent Wacrenier wrote: > Laurent Wacrenier wrote: > > > > - ${PREFIX} does not contain ${DESTDIR}, If I install bash with DESTDIR=/mnt, > > ${PREFIX} still has its default value of /usr/local, so, you have not > > to trim /mnt from ${PREFIX} in ${DESTDIR}/etc/shells contents. > > Sorry, I re-checked my assertion, you'd right. > ${DESTDIR} is praticaly not used in bsd.port.mk except > to be prepended to actual ${PREFIX}. > > As you saifd, the problem is deeper, some ports hardcoding ${PREFIX} > in theyre binary may be wrong. PREFIX does not contain DESTDIR only if you build and install the port with different environment settings, which is generally a Bad Thing (tm). G'luck, Peter -- I've heard that this sentence is a rumor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106080620.f586K2q15182>