Subject: Re: CVS commit: pkgsrc/mk
To: Marc Recht <recht@netbsd.org>
From: D'Arcy J.M. Cain <darcy@NetBSD.org>
List: tech-pkg
Date: 07/24/2004 06:24:49
On Sat, 24 Jul 2004 11:42:41 +0200
Marc Recht <recht@netbsd.org> wrote:
> > Excellent but I wonder if the default is a good idea.  It is so
> > critical that the correct database be chosen that perhaps it should
> > error out unless the package builder specifies which version they
> > want.  This isn't like Python where most scripts will work under the
> > new version.
> 
> The default is (currently) only used if no PostgreSQL version is
> already installed. So, it shouldn't be a problem here. In the second
> step (where both versions could be installed at the same time) it
> selects the one being used.

Perfect.

> I also forgot the mention one variable:
> 
> PGSQL_VERSION_REQD
> A package-settable variable set the required PostgreSQL version.

I guess if a package does require a specific version will also need to
take steps to make sure that it only runs against the version it was
built for.  Do you have an example of such a package or is this just
thinking ahead?

-- 
D'Arcy J.M. Cain <darcy@NetBSD.org>
http://www.NetBSD.org/