From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 6 10:30:27 2003 Return-Path: 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 10EEF37B423 for ; Wed, 6 Aug 2003 10:30:26 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA18443FBF for ; Wed, 6 Aug 2003 10:30:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h76HU9Up042946 for ; Wed, 6 Aug 2003 10:30:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h76HU91p042945; Wed, 6 Aug 2003 10:30:09 -0700 (PDT) Resent-Date: Wed, 6 Aug 2003 10:30:09 -0700 (PDT) Resent-Message-Id: <200308061730.h76HU91p042945@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, dirk.meyer@dinoex.sub.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2508F37B43D for ; Wed, 6 Aug 2003 10:24:06 -0700 (PDT) Received: from uucp.dinoex.sub.de (uucp.dinoex.sub.de [212.184.201.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93C9D43FAF for ; Wed, 6 Aug 2003 10:24:04 -0700 (PDT) (envelope-from dm@home.dinoex.sub.de) Received: from home.dinoex.sub.de (home.dinoex.sub.de [217.6.200.196]) by uucp.dinoex.sub.de (8.12.9/8.12.9) with ESMTP id h76HNdNx069416 for ; Wed, 6 Aug 2003 19:23:40 +0200 (CEST) (envelope-from dm@home.dinoex.sub.de) Received: (from dm@localhost) by home.dinoex.sub.de (8.12.9/8.12.8/Submit) id h76HNj6D048574; Wed, 6 Aug 2003 19:23:45 +0200 (CEST) (envelope-from dm) Message-Id: <200308061723.h76HNj6D048574@home.dinoex.sub.de> Date: Wed, 6 Aug 2003 19:23:45 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/55315: Support working dependencies with PHP3_PORT and PHP4_PORT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dirk.meyer@dinoex.sub.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 17:30:28 -0000 >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: