How to LIB_DEPEND on pgsql client ?

Ion-Mihai Tetcu itetcu at apropo.ro
Wed Jun 2 21:21:49 GMT 2004


On Wed, 2 Jun 2004 13:36:13 -0700
Ade Lovett <ade at FreeBSD.org> wrote:

[ sorry for bad formatting of first message ]
 
> On Jun 02, 2004, at 09:38, Ion-Mihai Tetcu wrote:
> > What do I need to tell to my Makefile to make a port depend on
> > Postgresql client, which was removed ? The client can be built with
> > -DWITHOUT_SERVER, but how do I do this from the Makefile; should I
> > use a custom script ?
> 
> Well, to be honest, I think it's fair to say that the pgsql ports are 
> in a little state of flux right now, and really need to be recoded for
> (at least) separate -client/-server (like mysql). 

Maybe also USE|WANT_POSTRESQL, POSTGRESQL_VER, etc. then ?

> I intend to take a  look at porting over the NetBSD pkgsrc setup
> (which has -libs,-client, -server, and a myriad of other components)
> which would provide considerably more flexibility than right now
> (imagine a set of machines where one or two need the full pgsql
> environment, and the others only need client support), but that may be
> some time away.

Yes, I can imagine very well ;-) it's exactly what I need. I guess I'll
override the targets and use some scripts for now.

Thanks,

-- 
IOnut
Unregistered ;) FreeBSD "user"



More information about the freebsd-ports mailing list