Date: Sun, 07 Jan 2018 21:17:50 -0800 From: "Chris H" <portmaster@BSDforge.com> To: "Kirk Coombs" <freebsd-ports@coombscloud.com> Cc: <freebsd-ports@freebsd.org> Subject: Re: Avoiding "make clean" when changing pkg-plist and other files? Message-ID: <7c8296b31a01293da32fc8b7600f42b2@udns.ultimatedns.net> In-Reply-To: <ACC3A320-B6BA-499B-823C-8393905A2958@coombscloud.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 7 Jan 2018 19:02:35 -0700 "Kirk Coombs" <freebsd-ports@coombscloud=2E= com> said > Hello, >=20 > I=E2=80=99m working on building my very first port (for the server compon= ent from > https://www=2Eurbackup=2Eorg/ <https://www=2Eurbackup=2Eorg/>)=2E Since this my fir= st > attempt at porting, I have ended up iterating a lot on the pkg-plist, new > files in the =E2=80=98files=E2=80=99 directory, etc=2E as I try new things = and explore the > options in the Porter=E2=80=99s Handbook=2E To test any of these changes, I= find that > I need to do a =E2=80=98make clean=E2=80=99 from the port's directory in = order for them > to be used on the next =E2=80=98make build=E2=80=99--which obviously dele= tes any > compiling work that had been done previously=2E Since this application take= s a > few minutes to compile, that can be a bit annoying and slow down the > iterative debugging and learning process=2E >=20 > Is there an easy way to avoid having to do a full =E2=80=98make clean= =E2=80=99 when you > change pkg-plist, etc=2E? Nothing is jumping out at me in the Porter= =E2=80=99s > Handbook, 'man port', or my web searches=2E I'm not exactly sure what commands you're currently using to accomplish your intended goal(s)=2E But if it's just pkg-plist that you're working on; you might find: make -DBATCH makeplist helpful=2E HTH --Chris >=20 > Thanks! >=20 > Kirk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c8296b31a01293da32fc8b7600f42b2>