From owner-freebsd-ports Sat Sep 21 23:14: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6088737B401 for ; Sat, 21 Sep 2002 23:14:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7B3943E3B for ; Sat, 21 Sep 2002 23:12:43 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8M6BNCo029075 for ; Sat, 21 Sep 2002 23:11:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8M6BNR5029074; Sat, 21 Sep 2002 23:11:23 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C6FB37B401 for ; Sat, 21 Sep 2002 23:09:07 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D8D443E7B for ; Sat, 21 Sep 2002 23:07:47 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8M66Q7R078809 for ; Sat, 21 Sep 2002 23:06:26 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g8M66QAc078808; Sat, 21 Sep 2002 23:06:26 -0700 (PDT) Message-Id: <200209220606.g8M66QAc078808@www.freebsd.org> Date: Sat, 21 Sep 2002 23:06:26 -0700 (PDT) From: Jason Li To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/43225: phpPgAdmin port doesn't work with Apache2 by default Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43225 >Category: ports >Synopsis: phpPgAdmin port doesn't work with Apache2 by default >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 21 23:10:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Jason Li >Release: FreeBSD 5.0-CURRENT >Organization: Frontfree Technology Network >Environment: FreeBSD apache.frontfree.net 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Sun Sep 22 01:44:37 CST 2002 delphij@apache.frontfree.net:/usr/obj/usr/src/sys/APACHE i386 >Description: The phpPgAdmin port requires php4 or php3. Currently php4 supports Apache2 as well as Apache, though that's exprimental, but many people uses php4 with Apache 2.x. I think it's important to support Apache2/php4, unfortunatelly, the port doesn't do this by default. >How-To-Repeat: Make the port under a system have Apache2 and mod_php4 installed >Fix: The following lines in Makefile under ports/databases/phppgadmin .if !defined(WITH_PHP3) RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 .else RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3 .endif should consider to modify to .if !defined(WITH_PHP3) .if defined(WITH_APACHE2) RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4 .else RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 .endif .else RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3 .endif and additional prompt may be needed. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message