Again, flavors or options?

Yuri yuri at rawbw.com
Thu Dec 21 02:16:27 UTC 2017


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



More information about the freebsd-ports mailing list