summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-05-08 17:46:52 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-05-08 17:46:52 +0000
commitc4858e319ef365decc1b962522de2ac98896e317 (patch)
tree62dadec7ff22620d487c1e8fc0c7f78ce8f6de40
parentBuild on only i386. (diff)
- Support for PHP3_PORT and PHP4_PORT
Notes
Notes: svn path=/head/; revision=80461
-rw-r--r--www/twig/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/twig/Makefile b/www/twig/Makefile
index 9d43859a5a4c..42927c754561 100644
--- a/www/twig/Makefile
+++ b/www/twig/Makefile
@@ -15,9 +15,9 @@ MAINTAINER= dinoex@FreeBSD.org
COMMENT= Web Based Email Client and Scheduler
.if !defined(WITH_PHP3)
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/${PHP4_PORT}
.else
-RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/www/mod_php3
+RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/${PHP3_PORT}
.endif
.if !defined(WITH_MYSQL)
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
@@ -25,6 +25,8 @@ LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
.endif
NO_BUILD= YES
+PHP4_PORT?= www/mod_php4
+PHP3_PORT?= www/mod_php3
NO_PACKAGE= need a matching version of mod_php
TWIG?= www/data-dist/twig
PLIST_SUB+= TWIG=${TWIG}