Subject: Re: code: which option from an options group was selected?
To: Alan Barrett <apb@cequrux.com>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 09/19/2005 20:02:48
On Mon, Sep 19, 2005 at 07:43:27PM +0200, Alan Barrett wrote:
> Try something like this (untested):
>
> .for _opt_ in ${PKG_OPTIONS_GROUP.mozilla}
> .if !empty(PKG_OPTIONS:M${_opt_})
> MOZILLA= ${_opt_}
> .endif
> .endfor
Thanks, that works! Could we include template code for this in make bsd.options.mk ?
Geert