teach graphics/jpgraph about apache2

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.

PR:		ports/55337
Submitted by:	Yonatan@xpert.com <Yonatan@xpert.com>
This commit is contained in:
Edwin Groothuis 2003-08-25 01:52:14 +00:00
parent 53e8276a23
commit d7fb81a04e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87638

View file

@ -18,7 +18,7 @@ NO_BUILD= yes
.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