Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Sep 2005 17:02:17 -0400 (EDT)
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85588: drupal port misses Postgres 8.0 installation
Message-ID:  <20050901210217.57AE73E4C@lorax.kcilink.com>
Resent-Message-ID: <200509012110.j81LA9lj086775@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.pre.mk>
 
-.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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050901210217.57AE73E4C>