Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2004 12:51:36 -0500
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject:   Re: HEADS UP: New bsd.*.mk changes
Message-ID:  <20040120175136.GC3365@toxic.magnesium.net>
In-Reply-To: <1074620919.757.51.camel@gyros>
References:  <1074590694.85583.20.camel@shumai.marcuscom.com> <400D2939.5090203@fillmore-labs.com> <1074617147.757.16.camel@gyros> <20040120171315.GH94636@FreeBSD.org> <1074619795.757.43.camel@gyros> <400D68A1.4030501@fillmore-labs.com> <1074620919.757.51.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (01.20.2004 @ 1248 PST): Joe Marcus Clarke said, in 3.9K: <<
> > Can we at least have
> > 
> > OPTIONSNAME?=${PKGNAMEPREFIX}${PORTNAME}
> > 
> > here? It makes sense for all the localized ports, perl, ruby, python, linux
> > and others.
> 
> That makes sense...maybe having the whole trifecta is a good idea, too:
> ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
> 
> And what about UNIQUENAME instead of OPTIONSNAME?  This way, it could be
> used for other purposes.
>> end of "Re: HEADS UP: New bsd.*.mk changes" from Joe Marcus Clarke <<

If all you're going for is a unique identifier for each port, this is
guaranteed unique:

${.CURDIR:S@${PORTSDIR}@@:S@/@_@g}

x11_gnome2, etc.

# Adam


--
Adam Weinberger
adam@vectors.cx // adamw@FreeBSD.org // adamw@magnesium.net
http://www.vectors.cx



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