Subject: Re: Variable MASTER_SITE_OVERRIDE is recursive.
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: Brook Milligan <brook@biology.nmsu.edu>
List: tech-pkg
Date: 02/24/2000 15:33:35
   On Wed, 23 Feb 2000, Brook Milligan wrote:
   > I am trying to clean up a previous installation of the python
   > package.  When I type `make clean' I get the following message:
   > 
   > 	Variable MASTER_SITE_OVERRIDE is recursive.
   > 
   > I do not see this in bsd.pkg.mk or in mk.conf and have never run into
   > this problem before.  Clues welcome.

   No clue. Doesn't happen for me. There was some change to this in rev.
   1.406, but this should not affect you. 

   The message itself is from make(1), which is why you don't see in any of
   the named files.

The python package Makefile defines DIST_SUBDIR, which means it
activates the following lines in bsd.pkg.mk (lines 710-713):

.if defined(DIST_SUBDIR)
MASTER_SITE_BACKUP:=	${MASTER_SITE_BACKUP:=${DIST_SUBDIR}/}
MASTER_SITE_OVERRIDE:=	${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}/}
.endif

If I comment out that definition in the python Makefile, the make
clean target works fine and no "recursion" error occurs.

Does it make sense that these assignments introduce recursion?  What
is going on here?

Cheers,
Brook