Daniel Macks wrote: <snip>
I think that looks nice. I do not know why, but I like the "FLAVOR" thingie that comes with BSD ports systems.
Package: foo%type[nox] Type: nox (-nox "") # one variant has "-nox", the other "" Depends: (%type[nox] "") x11 CompileScript: << if [ %type[nox] == "-nox" ]; then ./configure %c --without-x11 else ./configure %c --with-x11 fi make <<
Just because I can combine FLAVORS arbitraraly.
so if there are FLAVOR x11 ssl huge
I can build
only x11 , x11 + ssl, ssl + huge, only huge and so on, you get it. Is that something we could achieve as well ?
On a second note I think (%type[nox] "") is not such a hot syntax, maybe there is a way to express the "" part in an more clear fashion ?
-d
dan
------------------------------------------------------- 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