diff options
author | dirk <dirk@FreeBSD.org> | 2001-06-25 02:19:17 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-06-25 02:19:17 +0800 |
commit | 5e4b43acd41b442f9976521bdfddaa62e6b12b52 (patch) | |
tree | c733140fbb7ae329fd5ed9051cbaa2bc982049ad /www/mod_php4 | |
parent | e221a5f7eec2dee8de3578395ed6df5bbef0049e (diff) | |
download | freebsd-ports-gnome-5e4b43acd41b442f9976521bdfddaa62e6b12b52.tar.gz freebsd-ports-gnome-5e4b43acd41b442f9976521bdfddaa62e6b12b52.tar.zst freebsd-ports-gnome-5e4b43acd41b442f9976521bdfddaa62e6b12b52.zip |
Upgrade to 4.0.6:
jstring support was included in php (as mbstring), so
split japanese support into mbregex and mbstring support.
Diffstat (limited to 'www/mod_php4')
-rw-r--r-- | www/mod_php4/Makefile | 3 | ||||
-rw-r--r-- | www/mod_php4/distinfo | 3 | ||||
-rw-r--r-- | www/mod_php4/scripts/configure.php | 19 |
3 files changed, 13 insertions, 12 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index 17a96ace54b3..35eb0477d115 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -6,8 +6,7 @@ # PORTNAME?= mod_php4 -PORTVERSION= 4.0.5 -PORTREVISION= 2 +PORTVERSION= 4.0.6 CATEGORIES?= www MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \ http://php.he.net/${PHP_DISTDIR}/ \ diff --git a/www/mod_php4/distinfo b/www/mod_php4/distinfo index 68aee9d38251..db01ee6dac3c 100644 --- a/www/mod_php4/distinfo +++ b/www/mod_php4/distinfo @@ -1,3 +1,2 @@ -MD5 (php-4.0.5.tar.gz) = 763739f64eeac7099035fd86c1d39ad2 -MD5 (php4_jstring-1.1.1.tar.gz) = ac23be7b9ceb107641f2c5dcbd027cee +MD5 (php-4.0.6.tar.gz) = 5f698521cf2b392cf9bfa87fc1a0fe90 MD5 (php4_mbregex-1.2.1.tar.gz) = 46d151afa9ab668df880a70cf786a2c2 diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php index e05851470ad8..96e34687d33b 100644 --- a/www/mod_php4/scripts/configure.php +++ b/www/mod_php4/scripts/configure.php @@ -36,7 +36,8 @@ CURL "CURL support" OFF \ gettext "gettext library support" OFF \ iconv "iconv support" OFF \ pspell "pspell support" OFF \ -japanese "jstring and mbregex module" OFF \ +mbregex "multibyte regular expressions module" OFF \ +mbstring "multibyte string module" OFF \ YP "YP/NIS support" OFF \ BCMath "BCMath support" OFF \ Hyperwave "Hyperwave support" OFF \ @@ -209,25 +210,27 @@ while [ "$1" ]; do echo "LIB_DEPENDS+= pspell.4:\${PORTSDIR}/textproc/pspell" echo "CONFIGURE_ARGS+=--with-pspell=\${PREFIX}" ;; - \"japanese\") + \"mbregex\") ${CAT} << EOF MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/ -DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php4_jstring-1.1.1.tar.gz php4_mbregex-1.2.1.tar.gz -CONFIGURE_ARGS+=--enable-jstring --enable-mbregex +DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php4_mbregex-1.2.1.tar.gz +CONFIGURE_ARGS+=--enable-mbregex BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf -POSTEXTRACT+= post-extract-japanese +POSTEXTRACT+= post-extract-mbregex -post-extract-japanese: - [ -d \${WRKDIR}/jstring -a \${WRKDIR}/mbregex ] && \\ +post-extract-mbregex: + [ -d \${WRKDIR}/mbregex ] && \\ (cd \${WRKSRC}; \\ - \${MV} ${WRKDIR}/jstring ext; \\ \${MV} ${WRKDIR}/mbregex ext; \\ \${RM} configure; \\ ./buildconf) EOF ;; + \"mbstring\") + echo "CONFIGURE_ARGS+=--enable-mbstring" + ;; \"YP\") echo "CONFIGURE_ARGS+=--enable-yp" ;; |