Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 02:33:06 +0930
From:      Mark Pulford <mark@kyne.com.au>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/20601: DESTDIR and /etc/shells
Message-ID:  <20010608023306.B11584@hamster.kyne.com.au>
In-Reply-To: <20010607195136.H724@ringworld.oblivion.bg>; from roam@orbitel.bg on Thu, Jun 07
References:  <200106071451.f57EpG068632@freefall.freebsd.org> <20010607183214.A72332@victor.teaser.fr> <20010607195136.H724@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010608023306.B11584>