Re: options handling when there are LOTS of options
Joerg Sonnenberger <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.general |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 20, 2010 at 05:03:50PM -0600, Larson, Timothy E. wrote: > Is there a way to make package options take a value, rather than simple > binary (present/nonpresent) switches? I've got a package with over 40 > possible drivers. I think it would be a lot easier to take a > comma-delimited string and pass it straight to configure since that's > the kind of format it's expecting, than to construct such a string from > bunches of individual options. Especially since its configure already > supports "all,!driver" syntax. You can just build the string with .for or the :@ construct. Joerg ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev