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



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