Subject: Re: Make variable to distinguish bsd.pkg.mk?
To: Johnny Chi-Lung Lam <jlbg+@andrew.cmu.edu>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-pkg
Date: 11/23/1998 08:00:11
On Sun, 22 Nov 1998, Johnny Chi-Lung Lam wrote:
> Is it worthwhile to define a make variable
> 
> 	BSD_PKG_MK=1
> 
> in bsd.prefs.mk?  I'd like to have a variable to check in mk.conf to
> determine if mk.conf is being included by bsd.pkg.mk or bsd.prefs.mk
> so I can conditionalize the definition of a whole class of make
> variables.  This should reduce the make variable "namespace pollution"
> that currently exists.

Sounds like a good idea to me.


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>