From m.seaman@infracaninophile.co.uk  Sat Oct  5 02:39:52 2002
Return-Path: <m.seaman@infracaninophile.co.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F018C37B401
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <m.seaman@infracaninophile.co.uk>
Reply-To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Make databases/phpmyadmin operate with apache2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43706
>Category:       ports
>Synopsis:       Make databases/phpmyadmin operate with apache2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    nbm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 02:40:07 PDT 2002
>Closed-Date:    Thu Jan 09 06:35:37 PST 2003
>Last-Modified:  Thu Jan 09 06:35:37 PST 2003
>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:
Responsible-Changed-From-To: freebsd-ports->nbm 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Sun Oct 6 18:01:41 PDT 2002 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43706 

From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/43706: Make databases/phpmyadmin operate with apache2
Date: Sat, 4 Jan 2003 12:19:06 +0000

 I see APACHE2 support was added in CVS some time ago now.  Please
 close this PR
 
 	Cheers,
 
 	Matthew
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                       Savill Way
                                                       Marlow
 Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
State-Changed-From-To: open->closed 
State-Changed-By: nbm 
State-Changed-When: Thu Jan 9 06:34:50 PST 2003 
State-Changed-Why:  
Added the apache2 option, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43706 
>Unformatted:
