Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 18:16:25 -0800
From:      Yuri <yuri@rawbw.com>
To:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Again, flavors or options?
Message-ID:  <85f87eb1-ab21-e802-866c-93d7edbfb92a@rawbw.com>

next in thread | raw e-mail | index | archive | help
I have the port for the digital currency. It has 3 parts that install 
non-intersecting file sets: daemon, cli, qt-ui. The commonality: same 
repository, same build options, same license, mostly same port options.

I am attracted to the idea to use flavors to let users choose which part 
do they want: FLAVORS=default daemon qt cli

"default" will install all of them, others will install individual 
parts. Option list will be slightly different for each flavor.


One alternative: only have port options. Then some options can't be 
conditional on which parts are built.

Another alternative: 3 slave ports. I don't like this idea at all.


Do you think flavors are a good fit for this task?


Yuri




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85f87eb1-ab21-e802-866c-93d7edbfb92a>