tech-pkg archive

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

Re: use of PKGMAKECONF



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


-- 
George Georgalis, information system scientist <IXOYE><



Home | Main Index | Thread Index | Old Index