pkgsrc-Bugs archive

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

Re: pkg/33223 (pkg_comp doesn't provide PKG_SYSCONFBASEDIR)



On 4/10/06, César Catrián Carreño <ccatrian%eml.cc@localhost> wrote:
> On Sun,  9 Apr 2006 19:37:38 +0000 (UTC)
> jmmv%netbsd.org@localhost wrote:
> > You are not supposed to set PKG_SYSCONFBASEDIR; this is automatically 
> > derived
> > from other variables.  What you want is PKG_SYSCONFBASE.
>
> Julio: what I meant is that both PKG_SYSCONFBASE and PKG_SYSCONFBASEDIR
> are not resolved. '$ make show-var' inside the chroot shows nothing.

'make show-var' is not supposed to show anything.  What you probably want is:
'make show-var VARNAME=PKG_SYSCONFDIR' within any package.

I just tried to changed the PKG_SYSCONFBASE variable in the predefined
template to something non-standard (e.g. /etc/pkg), created a new sandox with
that modified config and ran the above command in print/cups.  It works fine.

pkg_comp:default.conf# make show-var VARNAME=PKG_SYSCONFDIR
/etc/pkg/cups
pkg_comp:default.conf#

--
Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
The Julipedia - http://julipedia.blogspot.com/



Home | Main Index | Thread Index | Old Index