From owner-freebsd-ports Thu Jun 7 22:50: 8 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 6F30437B403 for ; Thu, 7 Jun 2001 22:50:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f585o6310161; Thu, 7 Jun 2001 22:50:06 -0700 (PDT) (envelope-from gnats) Date: Thu, 7 Jun 2001 22:50:06 -0700 (PDT) Message-Id: <200106080550.f585o6310161@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Mark Pulford Subject: Re: ports/20601: DESTDIR and /etc/shells Reply-To: Mark Pulford 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: Mark Pulford To: Peter Pentchev Cc: freebsd-ports@FreeBSD.org Subject: Re: ports/20601: DESTDIR and /etc/shells Date: Fri, 8 Jun 2001 02:33:06 +0930 On Thu, Jun 07, 2001 at 07:51:36PM +0300, Peter Pentchev wrote: > A very simplistic fix for the case of shells is attached. It's made > for the shells/bash2 port, but it could be applied (with a little tweaking) > to many other ports of shells. This shall resolve this particular problem, > but leave the bigger one - of relative/absolute paths hardcoded in built > programs and config files and such - still open. The first problem should be documented in the Porters Handbook, currently it doesn't mention any complications with DESTDIR. That would help stop the problem in the future, but that still leaves a large number of ports to check.. Perhaps introduce a "RUNTIME_PREFIX" variable which ports can use to determine what the prefix will be at runtime? Regards, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message