Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 08:03:25 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61409: lang/php4 should use POSTGRESQL_PORT
Message-ID:  <200401160703.i0G73PE6092229@home.dinoex.sub.de>
Resent-Message-ID: <200401160710.i0G7AHdX011477@freefall.freebsd.org>

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

>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:



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