pkgsrc-Users archive

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

Re: Malformed conditionals in /etc/mk.conf



Joerg Sonnenberger <joerg%bec.de@localhost> wrote:

> On Wed, Aug 30, 2017 at 01:37:30PM +0200, Christopher Pinon wrote:
> > Martin Husemann <martin%duskware.de@localhost> wrote:
> > 
> > > On Wed, Aug 30, 2017 at 01:08:11PM +0200, Christopher Pinon wrote:
> > > > Note that these conditionals are not mine but are originally present in
> > > > /etc/mk.conf.
> > > 
> > > There is no default /etc/mk.conf in NetBSD?
> > 
> > What I meant is that my file /etc/mk.conf is a slightly modified copy of
> > /usr/pkgsrc/mk/defaults/mk.conf , and that the two conditional
> > statements causing the error are present in
> > /usr/pkgsrc/mk/defaults/mk.conf .
> 
> That file is not meant to be copied into /etc/mk.conf.

Ah, of course. Since I've always done manual updates of packages (using
make update for each package), my copying of mk.conf hasn't posed a
problem until now, when I wanted to use pkg_chk.

Okay, I've now created my own /etc/mk.conf, which only contains my
modifications (no conditional statements!), and pkg_chk no longer
complains. So all is good.

Thank you,
C.


Home | Main Index | Thread Index | Old Index