Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2007 15:50:41 -0500
From:      "Michael Johnson" <ahze@ahze.net>
To:        "FreeBSD Ports" <ports@freebsd.org>, ade@freebsd.org
Subject:   Re: configure breaks if PATCH_WRKSRC != WRKSRC (culprit: AUTOTOOLS)
Message-ID:  <b2203fed0702071250s1215b8e1w65538a45eed6d759@mail.gmail.com>
In-Reply-To: <20070207175419.GA59592@iib.unsam.edu.ar>
References:  <20070207175419.GA59592@iib.unsam.edu.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/7/07, Fernan Aguero <fernan@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



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