Subject: Re: how to conditionally set variable?
To: Jukka Salmi <j+nbsd@2006.salmi.ch>
From: Geert Hendrickx <ghen@netbsd.org>
List: tech-pkg
Date: 02/13/2006 16:04:18
On Mon, Feb 13, 2006 at 03:55:09PM +0100, Jukka Salmi wrote:
> I'd like to define ALLOW_VULNERABLE_PACKAGES when building lang/sun-jdk15
> or lang/sun-jre15, and not to define it when building other packages. I
> added
>
> .if empty(PKGNAME:Nsun-jdk15-*:Nsun-jre15-*)
> ALLOW_VULNERABLE_PACKAGES= # defined
> .endif
You have to set (e.g.)
ALLOW_VULNERABILITIES.sun-jdk15=1121
For any pkg / vulnid combination you wish to allow.
Geert