From owner-freebsd-ports@freebsd.org Mon Jan 8 05:17:51 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CE3BE776A2 for ; Mon, 8 Jan 2018 05:17:51 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB80C6973B for ; Mon, 8 Jan 2018 05:17:50 +0000 (UTC) (envelope-from portmaster@BSDforge.com) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id w085Hi3g078951; Sun, 7 Jan 2018 21:17:50 -0800 (PST) (envelope-from portmaster@BSDforge.com) X-Mailer: UDNSMS MIME-Version: 1.0 Cc: In-Reply-To: From: "Chris H" Reply-To: portmaster@BSDforge.com To: "Kirk Coombs" Subject: Re: Avoiding "make clean" when changing pkg-plist and other files? Date: Sun, 07 Jan 2018 21:17:50 -0800 Message-Id: <7c8296b31a01293da32fc8b7600f42b2@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jan 2018 05:17:51 -0000 On Sun, 7 Jan 2018 19:02:35 -0700 "Kirk Coombs" said > Hello, >=20 > I=E2=80=99m working on building my very first port (for the server compon= ent from > 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