Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 19:23:45 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55315: Support working dependencies with PHP3_PORT and PHP4_PORT
Message-ID:  <200308061723.h76HNj6D048574@home.dinoex.sub.de>
Resent-Message-ID: <200308061730.h76HU91p042945@freefall.freebsd.org>

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

>Number:         55315
>Category:       ports
>Synopsis:       Support working dependencies with PHP3_PORT and PHP4_PORT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 10:30:09 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
privat
>Environment:

	mod_php*, phppgadmin

>Description:

	phppgadmin needs mod_php4, but with postgres suport,
	which is not default.

>How-To-Repeat:

	try to install and run both packages.
	maintainer emailes at 2003-05-12

>Fix:

	Allow use of slave-ports, make dependend port configurable
	e.G. make PHP4_PORT=www/mod_php4-psql

	apply this patch:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/databases/phppgadmin/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	7 Mar 2003 05:58:30 -0000	1.10
+++ Makefile	6 Aug 2003 17:16:45 -0000
@@ -17,16 +17,18 @@
 
 .if !defined(WITH_PHP3)
 .if defined(WITH_APACHE2)
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+RUN_DEPENDS+=	${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/${PHP4_PORT}
 .else
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
 .endif
 .else
-RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
+RUN_DEPENDS+=	${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/${PHP3_PORT}
 .endif
 POSTGRESQL_PORT?=	databases/postgresql7
 LIB_DEPENDS=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
 
+PHP4_PORT?=	www/mod_php4
+PHP3_PORT?=	www/mod_php3
 WRKSRC=		${WRKDIR}/phpPgAdmin
 NO_BUILD=	YES
 

>Release-Note:
>Audit-Trail:
>Unformatted:



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