Date: Tue, 27 Jul 2004 21:33:36 -0700 From: Freddie Cash <fcash-ml@sd73.bc.ca> To: freebsd-ports@freebsd.org Subject: Re: Adding dependencies based on OPTIONS Message-ID: <200407272133.36503.fcash-ml@sd73.bc.ca> In-Reply-To: <200407272056.42144.fcash-ml@sd73.bc.ca> References: <200407272056.42144.fcash-ml@sd73.bc.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On July 27, 2004 08:56 pm, Freddie Cash wrote: > Is there an easy way to add dependencies (LIB_DEPENDS in particular) > based on whether or not an option is selected via OPTIONS?? [snip] > Am I going about this the wrong way, or have I just misinterpreted > things? Is there a way to get the ports framework to do this > automatically, or am I going to have to write a custom pre-build: > target to satisfy the dependencies and patching?? Nevermind. Figured that one out. Confused my shell variable syntax with my make variable syntax meaning my .if defined() was never evaluating to true. Slightly different question: Now that I have the port downloading the extra patches if the AV option is chosen, how do I control the order that the patches are applied? All of the non-AV patches are named "patch-<filename>" and the AV patches are named "virus-patch-<filename>". I though patches were applied in alphabetical order, but all the AV patches are being applied first, which won't work. I need a way to force the normal patches (in the files/ directory) to be applied first, then the AV patches to be applied after. Unfortunately, they both patch three of the same files. -- Freddie Cash, CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407272133.36503.fcash-ml>