On Wed, Feb 11, 2004 at 02:11:19PM -0500, Benjamin Reed wrote: > Daniel Macks wrote: > > >It we want to go programming-language-style: > > > > Depends: %type_perl_version == 5.8.1 && thing-pm > > Depends: %type_nox == -nox || x11 > > > >It we want to be a bit more linguistic/thought-process oriented: > > > > Depends: %type_perl_version = 5.8.1 ? thing-pm > > Actually, I think the part that seemed most confusing to me was the > whole "%type_perl_version" thing. Is it a perl hash? is it a % > expansion? Is it neither? Is it a reference to some internal function, > or just a token? What is the significance of "type"? It seems to be > overloading the existing % stuff in a way that just feels weird to me.
Oh! Well why didn't anybody *say* so:) That was just pseudocode. Early in the -devel variants discussions, it was decided that we should overload the Type: field. So we just need a way to get at that info. If we have: Type: perl (5.8.0 5.8.1), x11 (-nox "") We could have %type_perl and %type_x11, or %type[perl] and %type[x11]. The first is reminiscent of automake templates, the latter as C arrays with constants or enums. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel