Date: Wed, 19 Dec 2007 09:53:15 -0600 From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Optional patching Message-ID: <4D1AAAB26DADCFB11343F6B3@utd59514.utdallas.edu>
next in thread | raw e-mail | index | archive | help
Is there a way to include a patch as an option to a port? I maintain the security/barnyard port. There's a patch that is necessary for barnyard to work correctly on a 64bit system. I'm wondering if I can use OPTIONS to make this patch optional if the system is 64 bit, but I'm not sure what the syntax would be inside the if statement. .if defined(WITH_64BIT) do-patch: patchname .endif I assume the patch would have to be in the filesdir but could not be named "patch-foo" or it would always be applied, correct? -- Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1AAAB26DADCFB11343F6B3>