summaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-05-04 14:50:33 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-05-04 14:50:33 +0000
commited4924ec6f5781c9f399e9a6306aa9ac16ea28f3 (patch)
tree2572f54c315dfb7dab12605395dd334fde788252 /www/mod_php4
parentBuild and install static version of the library (${PREFIX}/lib/libc-client4.a), (diff)
Add option for IMAP support.
Notes
Notes: svn path=/head/; revision=18464
Diffstat (limited to 'www/mod_php4')
-rw-r--r--www/mod_php4/Makefile5
-rw-r--r--www/mod_php4/scripts/configure.php5
2 files changed, 9 insertions, 1 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile
index 84c48e2e2df6..4a433475d616 100644
--- a/www/mod_php4/Makefile
+++ b/www/mod_php4/Makefile
@@ -3,7 +3,7 @@
# Date created: So 21 Jun 1998 16:09:39 CEST
# Whom: Stefan Herrmann <stefan@asterix.webaffairs.net>
#
-# $Id: Makefile,v 1.72 1999/04/11 22:23:30 dirk Exp $
+# $Id: Makefile,v 1.73 1999/04/13 15:40:20 dirk Exp $
#
DISTNAME= apache_${VERSION_APACHE}
@@ -94,6 +94,9 @@ pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
.endif
+post-extract:
+ @${LN} -s php-${VERSION_PHP3} ${WRKDIR}/php3
+
pre-configure:
@cd ${WRKSRC} \
&& ./configure > /dev/null \
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index 770d24b9f1a7..3d9d5d2a30c0 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -13,6 +13,7 @@ GD "PHP3: GD library support" ON \
FreeType "PHP3: TrueType font rendering (implies GD)" OFF \
zlib "PHP3: zlib library support" ON \
pdflib "PHP3: pdflib support" OFF \
+IMAP "PHP3: IMAP support" OFF \
MySQL "PHP3: MySQL database support" ON \
PostgreSQL "PHP3: PostgreSQL database support" OFF \
mSQL "PHP3: mSQL database support" OFF \
@@ -63,6 +64,10 @@ while [ "$1" ]; do
echo "BUILD_DEPENDS+= \${PREFIX}/lib/libpdf.a:\${PORTSDIR}/print/pdflib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "PHP3_CONF_ARGS+= --with-pdflib=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
;;
+ \"IMAP\")
+ echo "BUILD_DEPENDS+= \${PREFIX}/lib/libc-client4.a:\${PORTSDIR}/mail/imap-uw" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ echo "PHP3_CONF_ARGS+= --with-imap=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ ;;
\"MySQL\")
echo "LIB_DEPENDS+= mysqlclient.6:\${PORTSDIR}/databases/mysql322" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
echo "PHP3_CONF_ARGS+= --with-mysql=\${PREFIX}" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc