diff options
author | Nick Sayer <nsayer@FreeBSD.org> | 1999-06-28 23:57:39 +0000 |
---|---|---|
committer | Nick Sayer <nsayer@FreeBSD.org> | 1999-06-28 23:57:39 +0000 |
commit | 3a7f536abbbcd079b2e3257e3ed9deb87a1ab69a (patch) | |
tree | 7eea8f67d6e9fca16356140862c29e2134bcee39 /www | |
parent | Update to version 1.1.8 to match JDK. (diff) |
Add support to the apache13-php3 port for adding the mcrypt and mhash
libraries.
Notes
Notes:
svn path=/head/; revision=19890
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_php3/scripts/configure.php | 10 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 10 | ||||
-rw-r--r-- | www/mod_php5/scripts/configure.php | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index 4d8f074346bd..958470a1fe33 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -12,6 +12,8 @@ modssl "Apache: SSL support" OFF \ GD "PHP3: GD library support" ON \ FreeType "PHP3: TrueType font rendering (implies GD)" OFF \ zlib "PHP3: zlib library support" ON \ +mcrypt "PHP3: Encryption support" OFF \ +mhash "PHP3: Crypto-hashing support" OFF \ pdflib "PHP3: pdflib support" OFF \ IMAP "PHP3: IMAP support" OFF \ MySQL "PHP3: MySQL database support" ON \ @@ -60,6 +62,14 @@ while [ "$1" ]; do \"zlib\") echo "PHP3_CONF_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ;; + \"mcrypt\") + echo "BUILD_DEPENDS+= \${PREFIX}/lib/libmcrypt.a:\${PORTSDIR}/security/mcrypt" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo "PHP3_CONF_ARGS+= --with-mcrypt" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + ;; + \"mhash\") + echo "BUILD_DEPENDS+= \${PREFIX}/lib/libmhash.a:\${PORTSDIR}/security/mhash" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo "PHP3_CONF_ARGS+= --with-mhash" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + ;; \"pdflib\") 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 diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index 4d8f074346bd..958470a1fe33 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -12,6 +12,8 @@ modssl "Apache: SSL support" OFF \ GD "PHP3: GD library support" ON \ FreeType "PHP3: TrueType font rendering (implies GD)" OFF \ zlib "PHP3: zlib library support" ON \ +mcrypt "PHP3: Encryption support" OFF \ +mhash "PHP3: Crypto-hashing support" OFF \ pdflib "PHP3: pdflib support" OFF \ IMAP "PHP3: IMAP support" OFF \ MySQL "PHP3: MySQL database support" ON \ @@ -60,6 +62,14 @@ while [ "$1" ]; do \"zlib\") echo "PHP3_CONF_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ;; + \"mcrypt\") + echo "BUILD_DEPENDS+= \${PREFIX}/lib/libmcrypt.a:\${PORTSDIR}/security/mcrypt" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo "PHP3_CONF_ARGS+= --with-mcrypt" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + ;; + \"mhash\") + echo "BUILD_DEPENDS+= \${PREFIX}/lib/libmhash.a:\${PORTSDIR}/security/mhash" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo "PHP3_CONF_ARGS+= --with-mhash" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + ;; \"pdflib\") 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 diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php index 4d8f074346bd..958470a1fe33 100644 --- a/www/mod_php5/scripts/configure.php +++ b/www/mod_php5/scripts/configure.php @@ -12,6 +12,8 @@ modssl "Apache: SSL support" OFF \ GD "PHP3: GD library support" ON \ FreeType "PHP3: TrueType font rendering (implies GD)" OFF \ zlib "PHP3: zlib library support" ON \ +mcrypt "PHP3: Encryption support" OFF \ +mhash "PHP3: Crypto-hashing support" OFF \ pdflib "PHP3: pdflib support" OFF \ IMAP "PHP3: IMAP support" OFF \ MySQL "PHP3: MySQL database support" ON \ @@ -60,6 +62,14 @@ while [ "$1" ]; do \"zlib\") echo "PHP3_CONF_ARGS+= --with-zlib" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ;; + \"mcrypt\") + echo "BUILD_DEPENDS+= \${PREFIX}/lib/libmcrypt.a:\${PORTSDIR}/security/mcrypt" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo "PHP3_CONF_ARGS+= --with-mcrypt" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + ;; + \"mhash\") + echo "BUILD_DEPENDS+= \${PREFIX}/lib/libmhash.a:\${PORTSDIR}/security/mhash" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + echo "PHP3_CONF_ARGS+= --with-mhash" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc + ;; \"pdflib\") 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 |