Date: Mon, 31 Jan 2005 15:38:16 +0200 From: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> To: dirk.meyer@dinoex.sub.org (Dirk Meyer) Cc: freebsd-ports@freebsd.org Subject: Re: [HEADS UP] PostgreSQL ports split into -server & -client Message-ID: <20050131153816.128e4623@it.buh.tecnik93.com> In-Reply-To: <Tfhyg1zblY@dmeyer.dinoex.sub.org> References: <E200B81EA7454A9AFA88A1CF@palle.girgensohn.se> <E200B81EA7454A9AFA88A1CF@palle.girgensohn.se> <20050131025453.GA81974@nowhere> <Tfhyg1zblY@dmeyer.dinoex.sub.org>
index | next in thread | previous in thread | raw e-mail
On Mon, 31 Jan 2005 07:49:34 +0100
dirk.meyer@dinoex.sub.org (Dirk Meyer) wrote:
> Craig Boston schrieb:,
>
> > With 8.0 out and and 7.x likely continuing to be used in production
> > environments for quite some time, it would be nice to have a standard way
> > to select which combination of version and server/client to be used (if
> > there isn't one already; I'm about to go look at the new ports).
>
> I used this macro in bind9-dlz/Makefile:
> POSTGRESQL_PORT?= databases/postgresql7
> LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
What about a user settable WITH_PGSQL_VER equivalent of
DEFAULT_PGSQL_VER like in MySQL case ?
And: I've set in my mail/dspam's Makefile:
......
.if defined(WITH_POSTGRESQL)
USE_PGSQL= yes
+ WANT_PGSQL_VER= 99
+ DEFAULT_PGSQL_VER= 99
+ BROKEN_WITH_PGSQL= 74
.......
and it doesn't complain, just goes on and compiles with the install headers;
having this installed:
# pkg_info -I postg\*
postgresql-7.4.6 The most advanced open-source database available anywhere
postgresql-docs-7.4.6 The PostgreSQL documentation set
And I don't understand it, it should bark on this else:
# And now we are checking if we can use it
.if exists(${PORTSDIR}/databases/postgresql${PGSQL_VER}-client)
......
.else
BROKEN= "unknown PostgreSQL version: ${PGSQL_VER}"
--
IOnut
Unregistered ;) FreeBSD "user"
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050131153816.128e4623>
