Subject: Re: Use of PLIST_SRC?
To: Hauke Fath <firstname.lastname@example.org>
From: Johnny Lam <email@example.com>
Date: 02/09/2006 09:31:09
Hauke Fath wrote:
> I habe a question about the proper use of PLIST_SRC.
> Working on wip/tsm which comes as a set of rpm archives, I find that I
> want a static PLIST for stuff like sample files along with the one
> dynamically created by rpm2pkg(8).
> From doc/pkgsrc.txt, 10.6 I get the impression that PLIST_SRC is a list
> of filenames, and that the file contents are concatenated eventually.
> OTOH, the wip/tsm Makefile as well as
> emul/suse_linux/Makefile.application seem to assume that PLIST_SRC is
> exactly one file. In emul/suse_linux/Makefile.application, providing a
> static PLIST disables the dynamic creation of a PLIST.
> Obviously, the documented behaviour fits my needs better. Who is correct
> - the docs or the implementation?
The documentation is correct -- PLIST_SRC can be a list of files. As
you've noted, the emul/suse_linux/Makefile.common file uses different
semantics for PLIST_SRC, but if you want to modify that, I'll be happy
to review a patch.
-- Johnny Lam <firstname.lastname@example.org>