Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  7 Aug 2003 11:35:34 +0000 (GMT)
From:      Yonatan@xpert.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55337: teach graphics/jpgraph about apache2
Message-ID:  <20030807113534.8F817668@110.xpert.com>
Resent-Message-ID: <200308070840.h778eIA9026899@freefall.freebsd.org>

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

>Number:         55337
>Category:       ports
>Synopsis:       teach graphics/jpgraph about apache2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 07 01:40:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yonatan@xpert.com
>Release:        FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD Temujin 4.8-RC FreeBSD 4.8-RC #1: Sat Apr 12 03:02:22 GMT 2003 root@Temujin:/usr/obj/usr/src/sys/TEMUJIN-G i386

>Description:
	jpgraph requires php, and looks for it where php-cli and mod_php installs it. When mod_php is compiled WITH_APACHE2, it installs in a different place.
>How-To-Repeat:
	install Apache2 and mod_php WITH_APACHE2 and try to install jpgraph. You'll get a complaint that PHP 4.04 or above is needed.
>Fix:

--- jpgraph-fix begins here ---
--- Makefile.orig	Wed Aug  6 16:04:32 2003
+++ Makefile	Wed Aug  6 16:05:04 2003
@@ -18,7 +18,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if !exists(${LOCALBASE}/bin/php) && !exists(${LOCALBASE}/libexec/apache/libphp4.so)
+.if !exists(${LOCALBASE}/bin/php) && !exists(${LOCALBASE}/libexec/apache/libphp4.so) && !exists(${LOCALBASE}/libexec/apache2/libphp4.so)
 BROKEN=	"need PHP 4.04 or above"
 .endif
 
--- jpgraph-fix ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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