tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PKG_SYSCONFDIR.${PKG_SYSCONFVAR}
On Fri, Sep 01, 2017 at 07:33:52PM +0100, Iain Hibbert wrote:
>
> % cd /usr/pkgsrc/pkgtools/pkg_comp
> % make show-var VARNAME=PKG_SYSCONFBASE
> /usr/pkg/etc
> % make show-var VARNAME=PKG_SYSCONFSUBDIR
> pkg_comp
> % make show-var VARNAME=PKG_SYSCONFVAR
> pkg_comp
> % make show-var 'VARNAME=PKG_SYSCONFDIR.${PKG_SYSCONFVAR}'
> /root/pkg_comp
> % make show-var VARNAME=PKG_SYSCONFDIR
> /root/pkg_comp
>
> note that when I set PKG_SYSCONFDIR.pkg_comp in this way, which I
> understand this is the correct method for the user to specify the config
> files location, the files are installed ok (in /root/pkg_comp) but the
> package cannot find them, since it is looking in the
> wrong place (/usr/pkg/etc/pkg_comp)
I have committed a change to pkgtools/pkg_comp in order to address
this issue. Please let me know if pkg_comp-2.0nb2 works in the way
that you expect.
Regards,
--
Johnny C. Lam
jlam%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index