[gobolinux-devel] Compile "variants"
Michael Homer
michael at gobolinux.org
Tue Apr 8 10:56:12 NZST 2008
On Tue, Apr 8, 2008 at 12:13 AM, Jonatan Liljedahl <lijon at kymatica.com> 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
More information about the gobolinux-devel
mailing list