Creating patch files, skip post-patch

Jan Beich jbeich at FreeBSD.org
Tue Jan 2 09:19:59 UTC 2018


Matthias Fechner <idefix at fechner.net> writes:

> Dear all,
>
> I have some ports I maintain and in some of them I have
> post-patch-{{OPTION}}-on Makefile targets in that is patching files.
> But to update the files I need a file where only the patches from
> files/patch-* are applied.
>
> Is there a possibility to skip the post-patch target from the Makefile
> so I can do:
>
> make patch (without post-patch from Makefile)
> modify the files
> make makepatch

Try do-patch e.g.,

  $ make clean extract do-patch makepatch EXTRA_PATCHES= BATCH=


More information about the freebsd-ports mailing list