summaryrefslogtreecommitdiff
path: root/graphics/phplot
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/phplot')
-rw-r--r--graphics/phplot/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/phplot/Makefile b/graphics/phplot/Makefile
index 97bd214bc2a9..3bf5000ad4b7 100644
--- a/graphics/phplot/Makefile
+++ b/graphics/phplot/Makefile
@@ -15,7 +15,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= yukinopo@livedoor.com
COMMENT= A PHP class for creating scientific and business charts
+.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
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
NO_BUILD= YES