Re: plist-check not reporting orphaned files present in a @comment

From: Felix Palmen <zirias_at_freebsd.org>
Date: Sun, 20 Aug 2023 06:00:35 UTC
* Tatsuki Makino <tatsuki_makino@hotmail.com> [20230820 05:52]:
> By the way,
> 
> Felix Palmen wrote on 2023/08/18 03:00:
> > 
> > .if ${ARCH} == amd64
> > PLIST_SUB+=     AMD64="" NO_AMD64="@comment _nonexisting/"
> > .else
> > PLIST_SUB+=     AMD64="@comment _nonexisting/" NO_AMD64=""
> > .endif
> > .if ${ARCH} == aarch64
> > PLIST_SUB+=     AARCH64="" NO_AARCH64="@comment _nonexisting/"
> > .else
> > PLIST_SUB+=     AARCH64="@comment _nonexisting/" NO_AARCH64=""
> > .endif
> > .if ${ARCH} == i386
> > PLIST_SUB+=     I386="" NO_I386="@comment _nonexisting/"
> > .else
> > PLIST_SUB+=     I386="@comment _nonexisting/" NO_I386=""
> > .endif
> 
> Is the above written in zfbsd-ports/devel/linuxheaders44 ?
> That of the Building a Linuxulator userland from source thread.

Currently copy&pasted in several of these ports. It proved reliable with
testport to see if the pkg-plist is correct :) In case I get somewhere
with this project, I'll look into moving this to some USES.

Cheers, Felix

-- 
 Felix Palmen <zirias@FreeBSD.org>     {private}   felix@palmen-it.de
 -- ports committer --                     {web}  http://palmen-it.de
 {pgp public key}  http://palmen-it.de/pub.txt
 {pgp fingerprint} 6936 13D5 5BBF 4837 B212  3ACC 54AD E006 9879 F231