Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jan 2018 10:19:54 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Creating patch files, skip post-patch
Message-ID:  <h8s4-ty6d-wny@FreeBSD.org>
In-Reply-To: <e7cdb5fe-504f-6bbc-7223-30080367a453@fechner.net> (Matthias Fechner's message of "Tue, 2 Jan 2018 09:37:18 %2B0100")
References:  <e7cdb5fe-504f-6bbc-7223-30080367a453@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthias Fechner <idefix@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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h8s4-ty6d-wny>