From ed4924ec6f5781c9f399e9a6306aa9ac16ea28f3 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Tue, 4 May 1999 14:50:33 +0000 Subject: Add option for IMAP support. --- www/mod_php5/Makefile | 5 ++++- www/mod_php5/scripts/configure.php | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'www/mod_php5') diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile index 84c48e2e2df6..4a433475d616 100644 --- a/www/mod_php5/Makefile +++ b/www/mod_php5/Makefile @@ -3,7 +3,7 @@ # Date created: So 21 Jun 1998 16:09:39 CEST # Whom: Stefan Herrmann # -# $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_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 770d24b9f1a7..3d9d5d2a30c0 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/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 -- cgit v1.2.3