From owner-freebsd-ports@FreeBSD.ORG Wed Jun 2 13:36:05 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F9CA16A4CE for ; Wed, 2 Jun 2004 13:36:05 -0700 (PDT) Received: from mail.lovett.com (core.lovett.com [216.168.8.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 852F243D2D for ; Wed, 2 Jun 2004 13:36:05 -0700 (PDT) (envelope-from ade@FreeBSD.org) Received: from ts46-02-qdr1249.mdfrd.or.charter.com ([66.169.242.225] helo=[192.168.1.101]) by mail.lovett.com with asmtp (Exim 4.34; FreeBSD) id 1BVcSz-000Hbs-Eq; Wed, 02 Jun 2004 20:36:05 +0000 In-Reply-To: <20040602193835.496de20b@it.buh.cameradicommercio.ro> References: <20040602193835.496de20b@it.buh.cameradicommercio.ro> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7D836791-B4D4-11D8-B3B3-000A956B6386@FreeBSD.org> Content-Transfer-Encoding: 7bit From: Ade Lovett Date: Wed, 2 Jun 2004 13:36:13 -0700 To: Ion-Mihai Tetcu X-Mailer: Apple Mail (2.618) cc: ports@FreeBSD.ORG Subject: Re: How to LIB_DEPEND on pgsql client ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 20:36:05 -0000 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). 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. -aDe