NAME
update-patches —
create or update patches for a given
port.
SYNOPSIS
update-patches |
DESCRIPTION
update-patches is a helper script for the
target update-patches in
bsd.port.mk(5). It takes no argument, but uses quite a few
environment variables as implicit parameters.
update-patches looks under
WRKDIST for patched files. Those are files with
extension PATCHORIG, except for those matching also
DISTORIG.
Once those files are found, they are matched against the contents
of directory PATCHDIR, most specifically files
matching wildcard PATCH_LIST. Matching files are
regenerated using
$ diff -u -p -a ${DIFF_ARGS}
$file$PATCHORIG $fileand compared. Modified patches are updated and reported, new patches are generated, and old patches that no longer seem to exist are also reported.
update-patches patches with problematic
cvs(1) keywords are also reported.
update-patches prints the list of changed
patches for further study.