-.\" $OpenBSD: bsd.port.mk.5,v 1.541 2021/02/25 23:06:52 sthen Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.542 2021/02/28 14:03:09 espie Exp $
.\"
.\" Copyright (c) 2000-2008 Marc Espie
.\"
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: February 25 2021 $
+.Dd $Mdocdate: February 28 2021 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
.It Cm distpatch
Apply distribution patches only.
See
-.Cm patch
-and
+.Cm patch ,
.Ev PATCH_CASES
+and
+.Ev FIX_CRLF_FILES
for details.
.It Cm dump-vars
Dump the values of all relevant variables in a port, prepended with the
.Pa ${WRKDIR}
(but see
.Ev EXTRACT_ONLY ,
-.Ev FIX_CRLF_FILES ,
.Ev FIX_EXTRACT_PERMISSIONS
and
.Ev NO_DEPENDS ) .
.Sq \&No .
.It Ev FIX_CRLF_FILES
Name(s) of files with line endings to correct at the end of
-.Cm extract .
+.Cm distpatch .
Sometimes a port will include files with MS-DOS line endings (CR LF).
To avoid problems with patches (especially when sent by email)
these should be converted to LF.