Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 10:39:44 +0100 (BST)
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43706: Make databases/phpmyadmin operate with apache2
Message-ID:  <200210050939.g959dinX004283@happy-idiot-talk.infracaninophile.co.uk>

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

>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




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