Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 21:28:26 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        ports@freebsd.org, Eitan Adler <lists@eitanadler.com>, Vitaly Magerya <vmagerya@gmail.com>
Subject:   Re: ports need a uniq identifier, do you have any suggestion?
Message-ID:  <20120613212826.00000bd4@unknown>
In-Reply-To: <20120611131222.GW60433@ithaqua.etoilebsd.net>
References:  <20120611043001.GO60433@ithaqua.etoilebsd.net> <CAF6rxg=Z5C=_JZ6B9vut-g9mdDq8c6AN_e1TaPAyEFQYkjBBvA@mail.gmail.com> <20120611073017.GT60433@ithaqua.etoilebsd.net> <4FD5E522.4020506@gmail.com> <20120611131222.GW60433@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jun 2012 15:12:22 +0200 Baptiste Daroussin
<bapt@freebsd.org> wrote:

> Plus ${ORIGIN}_${SUBPACKAGE} is fragile because you can have a port
> which is: lang/mylang with a subpackage bla which will give
> lang/mylang_bla and a port lang/mylang_bla with no subpackage which
> will give  lang/mylang_bla

Chose a delimiter which is unlikely to show up in a portname, ore use
e.g. 4 underscores. The generic idea is not bad, you just have to find
a suitable delimiter, and IMO it doesn't matter if it is ugly (like
____), or not.

Bye,
Alexander.

-- 
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



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