ports/61409: lang/php4 should use POSTGRESQL_PORT
dirk.meyer at dinoex.sub.org
dirk.meyer at dinoex.sub.org
Fri Jan 16 07:10:19 UTC 2004
>Number: 61409
>Category: ports
>Synopsis: lang/php4 should use POSTGRESQL_PORT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 15 23:10:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Dirk Meyer
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:
>Description:
User need to choose which postgresql port to build with.
default: databases/postgresql-client
vaild options:
databases/postgresql-client
databases/postgresql7
databases/postgresql72
databases/postgresql73
japanese/postgresql
>How-To-Repeat:
>Fix:
- allow build with diffrent postgresql versions
by using POSTGRESQL_PORT
apply this patch:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/php4/Makefile,v
retrieving revision 1.45
diff -u -r1.45 Makefile
--- Makefile 15 Jan 2004 23:31:49 -0000 1.45
+++ Makefile 16 Jan 2004 06:57:55 -0000
@@ -433,7 +433,8 @@
.endif
.if defined(WITH_POSTGRESQL)
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql-client
+POSTGRESQL_PORT?= databases/postgresql-client
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list