From owner-freebsd-ports Wed Mar 19 13:30:50 2003 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 E8B7737B401 for ; Wed, 19 Mar 2003 13:30:48 -0800 (PST) Received: from mail.hitmedia.com (mail.hitmedia.com [205.162.11.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 3DA8D43F3F for ; Wed, 19 Mar 2003 13:30:48 -0800 (PST) (envelope-from ryanlists@hostbaby.com) Received: (qmail 63320 invoked from network); 19 Mar 2003 21:30:49 -0000 Received: from unknown (HELO localhost.columbia80.com.) (127.0.0.1) by localhost with SMTP; 19 Mar 2003 21:30:49 -0000 From: Ryan O'Neill To: Andy Harrison , freebsd-ports@freebsd.org Subject: Re: mod_php Date: Wed, 19 Mar 2003 13:30:49 -0800 User-Agent: KMail/1.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303191330.49277.ryanlists@hostbaby.com> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wednesday 19 March 2003 12:07 pm, Andy Harrison wrote: > How would I go about installing this WITH postgres support, but WITHOUT it > downloading and installing postgres on the server? We ran into the same thing and what we ended up doing was removing the LIB_DEPENDS line for postgres in mod_php4's scripts/configure.php file. Automated in an install script, it looks something like this: cd /usr/ports/www/mod_php4 cp scripts/configure.php scripts/configure.php.orig sed -e 's/^.*LIB_DEPENDS.*POSTGRESQL.*$//' scripts/configure.php.orig \ > scripts/configure.php make -DBATCH PHP4_OPTIONS='\"PostgreSQL\"' install Once you remove/comment out that line, you should be able to compile PHP without it trying to install the postgresql port. Also remember: cvsuping your ports will overwrite this change. -- HOSTBABY.COM - web hosting for musicians Ryan O'Neill - ryan@hostbaby.com http://www.hostbaby.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message