configure breaks if PATCH_WRKSRC != WRKSRC (culprit: AUTOTOOLS)

Michael Johnson ahze at ahze.net
Wed Feb 7 20:50:52 UTC 2007


On 2/7/07, Fernan Aguero <fernan at iib.unsam.edu.ar> wrote:
>
> Hi,
>
> I'm working on an update to the biology/emboss port that I
> maintain, and I need to include an external patch.
>
> So I modified the port to fetch the patchfile and apply it.
> For this I had to set PATCH_WRKSRC. This works fine, but now
> the configure target breaks.
>
> I isolated the problem to a single line: the one that
> defines PATCH_WRKSRC.


You could take a different approach and use
PATCH_STRIP=-p1 (see patch(1) about -p)

Michael


More information about the freebsd-ports mailing list