aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_php4
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-05-04 22:50:33 +0800
committerdirk <dirk@FreeBSD.org>1999-05-04 22:50:33 +0800
commit9c3d192f5b2819779fce93db88e7fd5f3e0b528f (patch)
tree1321aab8a79e5d84cdf8d34466ae847cd9c2820e /www/mod_php4
parent031353832b6724c4097f568ebe772a59f458d082 (diff)
downloadfreebsd-ports-gnome-9c3d192f5b2819779fce93db88e7fd5f3e0b528f.tar.gz
freebsd-ports-gnome-9c3d192f5b2819779fce93db88e7fd5f3e0b528f.tar.zst
freebsd-ports-gnome-9c3d192f5b2819779fce93db88e7fd5f3e0b528f.zip
Add option for IMAP support.
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