Date: Sun, 13 Mar 2005 14:55:50 -0800 From: Doug Barton <dougb@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: Different PATCH_ARGS for PATCHFILES possible? Message-ID: <4234C4F6.3060207@FreeBSD.org> In-Reply-To: <4234BCFF.6060105@FreeBSD.org> References: <4234BCFF.6060105@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Barton wrote: > I have not had to mess with PATCHFILES before, however I've now had to > add extra patches twice in a month and run into the same problem. In > both cases I had to add patches that were supplied by the vendor > relative to a different directory than our patches are, and I've been > unable to find a way to specify PATCH_ARGS differently for just those > patches. > > The (cheesy) solution I've come to so far is to sed the directory > patterns in the patch and then use EXTRA_PATCHES, but is there a better > way? Hrrm, I may have answered my own question. It seems that with a little massaging PATCH_DIST_ARGS does what I want, but it's undocumented. If someone can confirm that this mechanism won't go away any time soon, I could send in a patch to bsd.port.mk that documents this behavior. Doug -- This .signature sanitized for your protection
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4234C4F6.3060207>