Subject: Re: Dynamic PLISTs
To: None <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 04/07/2004 08:13:07
On Wed, 7 Apr 2004, Julio M. Merino Vidal wrote:

> Yes, doing dynamic PLISTs mean staged installs as a prerequisite, and
> this is what, IIRC, everybody says is difficult.  Almost all packages out

I'd like to have staged installs simply so I can build binary packages for
reuse without having to potentially change the build system itself.

> Am I missing the real reason for why we don't do this?  If not, and people
> agrees, could we do it?  (We could simply add support for staged installs
> and dynamic lists, but keep the default behavior as is now.  Then, start
> converting packages one by one, when needed/wanted.)

I agree. I'd like to see staged installs.

I agree. I definitely would like to see dynamic PLISTs -- I am currently
using a new variable, PKGMANDIR as "share/man", and I have converted many
of my PLISTs to use it.

OpenBSD's ports supports staged installs. But their old .mk code is very
different from ours and is too much to compare. But this old .mk code may
give some ideas. (The new OpenBSD ports uses perl.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/