Date: Mon, 12 Dec 2022 11:25:32 -0800 From: "Pat Maddox" <pat@patmaddox.com> To: "Dave Cottlehuber" <dch@FreeBSD.org> Cc: erlang <freebsd-erlang@freebsd.org> Subject: Re: How is elixir-devel/pkg-plist generated? Message-ID: <F2FE78B9-2688-449F-BC87-E5802EA22CCB@patmaddox.com> In-Reply-To: <f5d3e39f-be02-4e04-a22e-43fb8b3fb470@app.fastmail.com> References: <10BA77E6-E913-4835-AB2B-ABECAD0F4554@patmaddox.com> <f5d3e39f-be02-4e04-a22e-43fb8b3fb470@app.fastmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Dec 2022, at 1:49, Dave Cottlehuber wrote: > On Mon, 12 Dec 2022, at 02:02, Pat Maddox wrote: >> Looking at >> https://github.com/freebsd/freebsd-ports/blob/main/lang/elixir-devel/p= kg-plist >> I assume it=E2=80=99s generated by a script. >> >> Can someone please share the script? >> >> Thanks, >> Pat > > Hey Pat > > make pkg-plist = > https://docs.freebsd.org/en/books/porters-handbook/book/#plist-dynamic > > Although in practice I just update the DISTVERSION run =E2=80=98make = > stage-a=E2=80=99 and fix up a handful of errors manually, this makes it= = > easier to get a feel for what files changed. Thanks Dave! Neither pkg-plist nor stage-a are targets from what I can tell. The packing list is static rather than dynamic because it uses pkg-plist = file. To generate a pkg-plist from the installed files, I believe it is: make stage make makeplist | tail -n +2 | tee pkg-plist Then make clean stage # necessary so pkg-plist will be included in = work/.PLIST.mktmp, and thus the final packing list On my machine, that sequence produces a pkg-plist with 973 lines as = compared to the 1091 currently in git. I=E2=80=99m not sure what the difference is. I=E2=80=99ll need to experim= ent more = with poudriere test to see if I can figure out what=E2=80=99s going on. Pat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F2FE78B9-2688-449F-BC87-E5802EA22CCB>