From owner-freebsd-ports Sat Oct 5 2:41: 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 5993B37B410 for ; Sat, 5 Oct 2002 02:40:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8E6F43EDE for ; Sat, 5 Oct 2002 02:40:08 -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 g959e8Co047662 for ; Sat, 5 Oct 2002 02:40:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g959e8vO047661; Sat, 5 Oct 2002 02:40:08 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F018C37B401 for ; Sat, 5 Oct 2002 02:39:52 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4E1A43E77 for ; Sat, 5 Oct 2002 02:39:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g959doVc004284 for ; Sat, 5 Oct 2002 10:39:50 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from root@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g959dinX004283; Sat, 5 Oct 2002 10:39:44 +0100 (BST) Message-Id: <200210050939.g959dinX004283@happy-idiot-talk.infracaninophile.co.uk> Date: Sat, 5 Oct 2002 10:39:44 +0100 (BST) From: Matthew Seaman Reply-To: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/43706: Make databases/phpmyadmin operate with apache2 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: 43706 >Category: ports >Synopsis: Make databases/phpmyadmin operate with apache2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 05 02:40:07 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 4.7-RC i386 >Organization: Disorganised >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.7-RC FreeBSD 4.7-RC #11: Fri Oct 4 19:17:36 BST 2002 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: Dependency checking for phpmyadmin assumes libphp4.so is installed as DSO for apache13. Attempting to install on an apache2 + mod_php4 system causes a futile attempt to reinstall mod_php4 >How-To-Repeat: cd /usr/ports/www/apache2 make install cd /usr/ports/www/mod_php4 make -DWITH_APACHE2 install cd /usr/ports/databases/phpmyadmin make >Fix: This patch makes the phpmyadmin port respect the WITH_APACHE2 make variable. --- Makefile.orig Sat Oct 5 10:23:38 2002 +++ Makefile Sat Oct 5 10:24:50 2002 @@ -17,7 +17,11 @@ RUN_DEPENDS= ${LOCALBASE}/lib/mysql/libmysqlclient.so:${PORTSDIR}/databases/mysql323-client .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 PHP_VERSION= php .else RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message