tech-pkg archive

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

Re: use of PKGMAKECONF




To: tech-pkg%netbsd.org@localhost

Subject: Re: use of PKGMAKECONF

From: Greg Troxel <gdt%ir.bbn.com@localhost>

Date: Mon, 07 Jan 2008 16:03:06 -0500


George Georgalis <george%galis.org@localhost> writes:

> On Mon, Jan 07, 2008 at 02:49:41PM -0500, Johnny C. Lam wrote:
>> George Georgalis wrote:
>>> /usr/pkgsrc/doc/pkgsrc.txt says:
>>>   * PKGMAKECONF: Location of the mk.conf file used by a package's 
>>> BSD-style
>>>     Makefile. If this is not set, MAKECONF is set to /dev/null to avoid 
>>> picking
>>>     up settings used by builds in /usr/src.
>>> However pkgsrc seems to use /etc/mk.conf if it
>>> exists (PKGMAKECONF unset).
>>
>> I think you're misunderstanding the documentation for PKGMAKECONF.
>>
>> pkgsrc itself uses /etc/mk.conf (or if you bootstrapped your bmake, it uses 
>> ${PKG_SYSCONFBASE}/mk.conf).  PKGMAKECONF is the file used by packages that 
>> themselves use BSD makefiles (makefiles in ${WRKSRC}). The two are 
>> different.
>
> okay, I didn't realize they where different....
> thanks,
> // George

The documentation is correct, but I misread when George posted it as
well.  I think if the last sentence would be less confusing as:

  If this is not set, MAKECONF is set to /dev/null to avoid picking up
  settings intended to control builds of the base system or pkgsrc
  infrastructure.





References:

use of PKGMAKECONF
From: George Georgalis

Re: use of PKGMAKECONF
From: Johnny C. Lam

Re: use of PKGMAKECONF
From: George Georgalis




Prev by Date: Re: use of PKGMAKECONF

Next by Date: Re: patch filenames

Previous by Thread: Re: use of PKGMAKECONF

Next by Thread: daily pkgsrc CVS update output

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index