tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Question about PKG_OPTIONS_REQUIRED_GROUPS



Am Sun, Oct 30, 2022 at 11:00:26PM +0100 schrieb Hauke Fath:
> On Sun, 30 Oct 2022 20:52:16 +0100, Roland Illig wrote:
> >> I am using PKG_OPTIONS_REQUIRED_GROUPS in a package to select a web
> >> server dependency.
> >> 
> >> Is there an easy way to learn which option from the group was chosen? I
> >> could set a variable in options.mk, but there should be a prettier
> >> way...
> > 
> > What do you want to do with this information?
> 
> I want the chosen web server's name to install the corresponding sample 
> config file to PKG_SYSCONFDIR.

It sounds better to just install the sample configuration fragments into
share/doc/${PKGNAME}. No reason to restrict that to one server either.

Joerg


Home | Main Index | Thread Index | Old Index