Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2000 14:51:04 -0800 (PST)
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: final call: VERSION variable
Message-ID:  <Pine.BSF.4.21.0003301450060.36099-100000@freefall.freebsd.org>
In-Reply-To: <vqcu2ho4p6h.fsf@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Mar 2000, Satoshi - Ports Wraith - Asami wrote:

>  * Also a good idea, except it should probably be +VERSION for consistency
> 
> No, I wrote it that way explicitly so users can install more than one
> version of the same "port" if they want.  Ultimately we want to go to
> something like gnu stow (the /var/opt/pkgname/{bin,share,lib...} and
> the symlink tree from /usr/local) and there is no reason why we have
> to restrict ourselves to one version per port.

The problem remains of how you actually locate this file to find out what
version you have. Having a statically-named file with the version (or
versions) in the contents is easy to read, having a dynamically named file
means you have to scan the directory and parse the contents.

Kris

----
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>



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?Pine.BSF.4.21.0003301450060.36099-100000>