From owner-freebsd-ports Thu Jun 7 23:20: 6 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 742E037B408 for ; Thu, 7 Jun 2001 23:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f586K2q15182; Thu, 7 Jun 2001 23:20:02 -0700 (PDT) (envelope-from gnats) Date: Thu, 7 Jun 2001 23:20:02 -0700 (PDT) Message-Id: <200106080620.f586K2q15182@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/20601: DESTDIR and /etc/shells Reply-To: Peter Pentchev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/20601; it has been noted by GNATS. From: Peter Pentchev To: Laurent Wacrenier 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