From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 1 21:10:10 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2855F16A41F for ; Thu, 1 Sep 2005 21:10:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 911E743D46 for ; Thu, 1 Sep 2005 21:10:09 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j81LA9IV086776 for ; Thu, 1 Sep 2005 21:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j81LA9lj086775; Thu, 1 Sep 2005 21:10:09 GMT (envelope-from gnats) Resent-Date: Thu, 1 Sep 2005 21:10:09 GMT Resent-Message-Id: <200509012110.j81LA9lj086775@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vivek Khera Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1030916A41F for ; Thu, 1 Sep 2005 21:02:19 +0000 (GMT) (envelope-from vivek@lorax.kcilink.com) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4D7143D45 for ; Thu, 1 Sep 2005 21:02:18 +0000 (GMT) (envelope-from vivek@lorax.kcilink.com) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 0C40B3F03 for ; Thu, 1 Sep 2005 17:02:18 -0400 (EDT) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19275-01 for ; Thu, 1 Sep 2005 17:02:17 -0400 (EDT) Received: by lorax.kcilink.com (Postfix, from userid 120) id 57AE73E4C; Thu, 1 Sep 2005 17:02:17 -0400 (EDT) Message-Id: <20050901210217.57AE73E4C@lorax.kcilink.com> Date: Thu, 1 Sep 2005 17:02:17 -0400 (EDT) From: Vivek Khera To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/85588: drupal port misses Postgres 8.0 installation X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vivek Khera List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2005 21:10:10 -0000 >Number: 85588 >Category: ports >Synopsis: drupal port misses Postgres 8.0 installation >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 01 21:10:09 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD lorax.kcilink.com 4.11-STABLE FreeBSD 4.11-STABLE #24: Fri May 13 16:08:06 EDT 2005 vivek@lorax.kcilink.com:/u/lorax1/usr/obj/u/lorax1/usr/src/sys/LORAX i386 >Description: ports/www/drupal tries to detect postgres exists, and then loads in the necessary dependencies for the database layer. however, it only notices postgres 7.3 and 7.4. The following patch generalizes it to notice any version of postgres. (I suspect it should really be a CONFIG option, but I have not the time for that right now). Also, FYI, without the DB stuff, it has no dependency on PHP directly... >How-To-Repeat: >Fix: --- #Makefile~ Thu Sep 1 16:59:03 2005 +++ Makefile Thu Sep 1 16:59:03 2005 @@ -16,7 +16,7 @@ .include -.if exists(${LOCALBASE}/lib/libpq.so.3) +.if exists(${LOCALBASE}/lib/libpq.so) RUN_DEPENDS+= ${LOCALBASE}/share/pear/DB.php:${PORTSDIR}/databases/pear-DB .endif >Release-Note: >Audit-Trail: >Unformatted: