Date: Wed, 18 May 2011 17:46:17 -0400 From: Matthew Pounsett <matt@conundrum.com> To: freebsd-ports@freebsd.org Subject: Re: Optional Patches Message-ID: <EF36A3B8-AC32-4233-A1B8-63135994073F@conundrum.com> In-Reply-To: <C9301CD1-D2C0-449A-BD85-8488FDC028B5@conundrum.com> References: <C9301CD1-D2C0-449A-BD85-8488FDC028B5@conundrum.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Following up my own post. Bleargh. On 2011/05/18, at 17:29, Matthew Pounsett wrote: > .if defined(FOO) > PATCH_SITES=3D http://location.site.com/path/ > PATCHFILES=3D port-${PORTVERSION}.patch > PATCH_DIST_STRIP=3D -p1 > .endif I should note that I have actually been doing this using '.if = defined(WITH_FOO)', as one would expect for an option named FOO. I've = tried defined(FOO) just in case, but didn't really expect that to work.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EF36A3B8-AC32-4233-A1B8-63135994073F>