On Tue, Apr 8, 2008 at 12:13 AM, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote: > What about the concept of Compile "variants" like MacPorts 'port' > command uses? > > Their portfiles (like compile receipt) can contain stuff like this: > > configure.args --mandir=${prefix}/share/man --disable-flac > variant flac { > depends_lib port:flac > configure.args-delete --disable-flac > configure.args-append --enable-flac > } > > this is used like 'port install libsndfile +flac'. > > It may even be possible to combine multiple variants... See the long and involved discussions of useflags on the list in the past, and the UseFlags script [1] in tools. We're going to make a new Scripts release soon, I gather, so I'll post a specification of how they all work in the next couple of days.
[1] http://svn.gobolinux.org/file.php?repname=tools&path=%2Ftrunk%2FScripts%2Fbin%2FUseFlags -Michael _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel