pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Best way to tweak PLIST on version bump



Mayuresh <mayuresh%acm.org@localhost> writes:

> I succeeded in rebuild of games/gcompris with a version upgrade from very
> ancient to current one.
>
> When running install, I find that PLIST changes are required. Files that
> no more exist are reported, though I am not sure if there are any newly
> added files.
>
> 1. Shall I use make print-PLIST to generate a new PLIST or there is any
> other manual method to be followed?

as others said:

make print-PLIST > PLIST.new
read the diff, think
make PLIST be like PLIST.new, paying attention to variables

> 2. After tweaking PLIST, do I have to run make clean and build again and
> then install? Can't I just make install target refer to new PLIST?

install?  PLIST is used for package creation, not install, and I find
that I can fix the PLIST and 'make package'.  I am using DESTDIR, of
course, which I think is default but I have PKG_DEVELOPER=yes.

Use ccache.  Then building isn't so bad.

Attachment: pgpjdrrgk2Yh4.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index