Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2018 12:36:07 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Tomasz CEDRO <tomek@cedro.info>
Cc:        mayuresh@kathe.in, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, owner-freebsd-questions@freebsd.org
Subject:   Re: package : chez-scheme-9.5 : x11 dependencies : why?
Message-ID:  <20181023123607.bca0fac8.freebsd@edvax.de>
In-Reply-To: <CAFYkXjnX+zROMM6wLYfKrrFpkdOHZKUUsuw5Tjgo2UX7ZEpWow@mail.gmail.com>
References:  <3cbeeae36d508d23eaec97715a8b8760@kathe.in> <20181022174216.e31b6f05.freebsd@edvax.de> <04ce19a12fa88f988c3186611de1efac@kathe.in> <CAFYkXjnX+zROMM6wLYfKrrFpkdOHZKUUsuw5Tjgo2UX7ZEpWow@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 23 Oct 2018 08:17:25 +0200, Tomasz CEDRO wrote:
> Maybe this is a good time to ask: is for PKG possible or can be possible in
> future to support different package variants / build options? :-)

Yes, "pkg flavors" is the surrounding concept here. It will
allow you to select from more than one set of build options
for a certain package. It's comparable to the "-no-x11" or
"-without-gui" or "de-" packages that already existed in
ye olden pkg_* times, but it will be much more versatile.

This concept is explained for ports, but will arrive in binary
packages too, if I understand the improvement in pkg right:
The regular build structure will build (sub-)packages according
to "flavored Makefiles", and those can then be obtained from
the regular repositories. The dependency resolution will then
act according to the actual dependencies.

The following resources might be interesting:

https://www.freebsd.org/doc/en/books/porters-handbook/flavors.html

https://wiki.freebsd.org/Ports/FlavorsAndSubPackages

https://forums.freebsd.org/threads/how-to-go-with-flavor.65669/


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20181023123607.bca0fac8.freebsd>