I don't think this helps.

It's the same for clean, update-patches, install, update-plist, port-lib-depends-check, [...] and we already have "and of course, use the same settings for the subsequent invocations of make" in the section showing how to work with flavours.

--
 Sent from a phone, apologies for poor formatting.

On 4 January 2023 07:28:39 Jason McIntyre <j...@kerhand.co.uk> wrote:

On Mon, Jan 02, 2023 at 07:00:27AM -0500, Jon Fineman wrote:
I was trying to make clean a port I was updating and it wasn't clear
to me that I should be adding the FLAVOR variable to the make line to
clean the correct build.

My suggested change below might help other people.

Jon


anyone?
jmc



Index: ports.7
===================================================================
RCS file: /cvs/src/share/man/man7/ports.7,v
retrieving revision 1.130
diff -u -p -r1.130 ports.7
--- ports.7     20 Jul 2022 16:37:50 -0000      1.130
+++ ports.7     2 Jan 2023 11:38:27 -0000
@@ -324,6 +324,9 @@ This does not recurse to dependencies un
  .Ev CLEANDEPENDS
  is defined to
  .Dv Yes .
+To clean a build of
+.Cm FLAVORS
+you need to specify all of the flavors you built with.
  .It Cm distclean
  Remove the port's distfile(s).
  This does not recurse to dependencies.


Reply via email to