Optional Patches
Matthew Pounsett
matt at conundrum.com
Wed May 18 21:46:40 UTC 2011
Following up my own post. Bleargh.
On 2011/05/18, at 17:29, Matthew Pounsett wrote:
> .if defined(FOO)
> PATCH_SITES= http://location.site.com/path/
> PATCHFILES= port-${PORTVERSION}.patch
> PATCH_DIST_STRIP= -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.
More information about the freebsd-ports
mailing list