Sync the manual with actual bsd.port.mk which consistently uses SETENV.

Also break the overly long line for `fake' and remove indent to be
consistent with the other targets while here.

Feedback? OK?

Index: share/man/man5/bsd.port.mk.5
===================================================================
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
retrieving revision 1.503
diff -u -p -r1.503 bsd.port.mk.5
--- share/man/man5/bsd.port.mk.5        16 Nov 2018 10:06:11 -0000      1.503
+++ share/man/man5/bsd.port.mk.5        2 Dec 2018 17:02:11 -0000
@@ -132,7 +132,7 @@ Default target.
 Build the port.
 Essentially invoke
 .Bd -literal
-env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \e
+${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \e
        -f ${MAKE_FILE} ${ALL_TARGET}
 .Ed
 .It Cm check-register
@@ -757,7 +757,7 @@ but affects only one single subpackage i
 Run regression tests for the port.
 Essentially depend on a correct build and invoke
 .Bd -literal
-env -i ${ALL_TEST_ENV} ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} \e
+${SETENV} ${ALL_TEST_ENV} ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} \e
        -f ${MAKE_FILE} ${TEST_TARGET} ${TEST_LOG}
 .Ed
 .Pp
@@ -3564,8 +3564,9 @@ texinfo's install-info).
 If no
 .Cm do-install
 override is present, the port is installed using
-.Bd -literal -offset 2n
-env -i ${MAKE_ENV} ${FAKE_SETUP} ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} -f 
${MAKE_FILE} ${FAKE_TARGET}
+.Bd -literal
+${SETENV} ${MAKE_ENV} ${FAKE_SETUP} ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} \e
+       -f ${MAKE_FILE} ${FAKE_TARGET}
 .Ed
 .Pp
 Note that this does set both PREFIX and ${DESTDIRNAME}.

Reply via email to