On 2013/05/02 12:36, Craig Skinner wrote:
> On 01/05/2013 22:36, Craig Skinner wrote:
> >
> >When I remove the @rcscript stuff from the PLIST & run this:
> >
> >
> >make clean=all && \
> >make clean=fake && \
> >make fetch-all && \
> >make checksum && \
> >make build && \
> >make fake && \
> >make plist || { sudo make plist; sudo chmod g+w pkg/PLIST; }
> >
> >I get:
> >....
> >...
> >Installing /usr/ports/mystuff/net/vgrd/pkg/vgrd.rc as
> >/usr/ports/pobj/vgrd-1.13/fake-i386/etc/rc.d/vgrd
> >===> Updating plist for vgrd-1.13
> >Subpackage -: Stripping dirs from sysutils/libsysexits
> >Scanning destdir
> >Getting old lists
> >1st pass identifying files
> >Attaching annotations
> >Sorting out destdir files
> >make-plist: Bogus element outside of every prefix: /etc/rc.d/vgrd
> >
> >
> >So 'make plist' fails when the rc script is present in the fake tree,
> >while not mentioned in the PLIST.
> >
> >
> 
> Any thoughts on how to get around the bogus element problem?
> 
> Is it essential that I run 'make plist' before 'make package', or can
> I use my handwritten PLIST?

Start with what "make plist" produces, and then edit it.

> I see there is a plist database under /usr/ports/plist & those have
> extra @depend, @name & @comment lines not present in generated
> pkg/PLISTs.

These are the lists as written in +CONTENTS files in the packages,
see the bsd.port.mk(5) manual about PLIST_DB.

Reply via email to