Option vs. flavor?

Ben Woods woodsb02 at gmail.com
Sat Dec 16 19:15:10 UTC 2017


On Sun, 17 Dec 2017 at 3:29 am, Thierry Thomas <thierry at freebsd.org> wrote:

> Le sam. 16 déc. 17 à  2:38:51 +0100, Yuri <yuri at rawbw.com>
>  écrivait :
>
> > One port is small by itself, but it semi-optionally requires 4.5GB of
> > static data installed.
> >
> > It is possible to download this data optionally, conditional on the port
> > option DATA_FILES which will be "off" by default, so that the users who
> > need the data will install it with DATA_FILES=on.
> >
> > Alternatively, it is possible to create a flavor, something like
> @withData.
> >
> >
> > Should the option be preferred, or should the flavor be preferred?
>
> I'd say that this is a case for sub-packages.
> --
> Th. Thomas.
>

I believe Sub-packages would normally still download the data for the port
build (make fetch), but it would not be included main pkg.

The original post was requesting that the port make fetch only downloads
the data conditionally based on the option. Not sure how possible that is.

Regards,
Ben
-- 

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-ports mailing list