pkgsrc-Users archive

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

Re: PKG_OPTIONS.apache don't seem to work



On Sun, 14 Feb 2010, Paul Newhouse wrote:
>
> Installation is in all default locations.
>
> I'm confused about why suexec is found but not apache-shared-modules?
>
>    : grep apache /etc/mk.conf /usr/pkg/etc/mk.conf
>    /etc/mk.conf:PKG_OPTIONS.apache  += suexec
>    /etc/mk.conf:PKG_OPTIONS.apache  += apache-shared-modules
>    /etc/mk.conf:PKG_OPTIONS.apache22  += suexec
>    /etc/mk.conf:PKG_OPTIONS.apache22  += apache-shared-modules
>    /usr/pkg/etc/mk.conf:PKG_OPTIONS.apache += suexec
>    /usr/pkg/etc/mk.conf:PKG_OPTIONS.apache += apache-shared-modules
>    /usr/pkg/etc/mk.conf:PKG_OPTIONS.apache22  += suexec
>    /usr/pkg/etc/mk.conf:PKG_OPTIONS.apache22  += apache-shared-modules
>   : (cd www/apache22 && make show-options)
>    Any of the following general options may be selected:
>            apache-shared-modules   Build all modules as shared for apache22.
>            suexec
>   These options are enabled by default:
>   These options are currently enabled:
>            suexec
>   You can select which build options to use by setting PKG_DEFAULT_OPTIONS
>    or PKG_OPTIONS.apache.

 How about followings?
 % make show-var VARNAME=PKG_OPTIONS.apache

: (cd www/apache22 && make show-var VARNAME=PKG_OPTIONS.apache)
suexec

Do you have any conditional sections in your /etc/mk.conf (and accidentally put your PKG_OPTIONS into the section meant to building the system)? Is MAKECONF set in your environment?

--
Stephen



Home | Main Index | Thread Index | Old Index