Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 19:29:08 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        Dan Langille <dan@langille.org>
Cc:        "David W. Chapman Jr." <dwcjr@inethouston.net>, ports@FreeBSD.ORG, jeremy@external.org
Subject:   Re: %SUBDIR% not being expanded during make -V MASTER_SITES
Message-ID:  <20020209212930.1523.qmail@exxodus.fedaykin.here>
In-Reply-To: <200202091748.g19Hm7i65482@lists.unixathome.org>; from dan@langille.org on Sat, Feb 09, 2002 at 12:47:08PM -0500
References:  <200202091648.g19Gmji65054@lists.unixathome.org> <20020209172716.GB784@leviathan.inethouston.net> <200202091748.g19Hm7i65482@lists.unixathome.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 09, 2002 at 12:47:08PM -0500, Dan Langille wrote:
> On 9 Feb 2002 at 11:27, David W. Chapman Jr. wrote:
> 
> > On Sat, Feb 09, 2002 at 11:47:58AM -0500, Dan Langille wrote:
> > > I'm not picking on biology/kinemage, I've seen this in several ports.
> > > 
> > > Should the output contain %SUBDIR%?
> > > 
> > > It's not what I expected.
> >
> > I believe this was broken a few days ago and not fixed yet.
> 
> Any reason it's not fixed?  Does someone need to be proded?

	As far as I know, it is supposed to be that way. At least,
it is the way I "devised" this. It is due to the MASTER_SITES_NN
patch, it is better to not touch the MASTER_SITES variables directly.
	It is not guaranteed that accessing variables will produce
anything useable. The good way is to use targets such as mentioned in
line 1529 of bsd.port.mk

# synonyms, mnemonics
master-sites-all: master-sites-ALL
patch-sites-all: patch-sites-ALL
master-sites-default: master-sites-DEFAULT
patch-sites-default: patch-sites-DEFAULT

# compatibility with old behavior
master-sites: master-sites-DEFAULT
patch-sites: patch-sites-DEFAULT

	Try either 'make master-sites-all' or 'make patch-sites-all'

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020209212930.1523.qmail>