summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2003-08-31 19:55:21 +0000
committerjdolecek <jdolecek@pkgsrc.org>2003-08-31 19:55:21 +0000
commitb198b37754ad8e41777ea1c05d0af67f9b6a7335 (patch)
tree33c9301fff79082d1d83e91e87ace097146292cf /math
parent9ca37019ef13bcc95b0180f8f092cf0e51affd9a (diff)
downloadpkgsrc-b198b37754ad8e41777ea1c05d0af67f9b6a7335.tar.gz
Update PHP to final 4.3.3
Some highlights of changes since 4.2.3: * PCRE updated to 4.3, GD to 2.0.15 * improved Apache2 support * much improved stream & URL wrapper support, output compression support * added CLI (Command Line Interface) SAPI * debug_backtrace() backported from ZendEngine2 * faster build system * huge number of other bug fixes and improvements Packaging changes: * 'pcre', 'xml', and 'session' modules folded back into main package - 'pcre' and 'xml' is required by PEAR, and 'session' is just too essential to be separate * 'gd' module now uses bundled PHP GD library, which is better integrated * PHP modules use shared distinfo when possible to ease future PHP updates * ${PREFIX}/bin/php is now CLI version, ${PREFIX}/libexec/cgi-big/php remains CGI version
Diffstat (limited to 'math')
-rw-r--r--math/php4-bcmath/Makefile3
-rw-r--r--math/php4-bcmath/distinfo8
-rw-r--r--math/php4-bcmath/patches/patch-aa26
3 files changed, 22 insertions, 15 deletions
diff --git a/math/php4-bcmath/Makefile b/math/php4-bcmath/Makefile
index ead8ecbc3c5..ef8c464d2a4 100644
--- a/math/php4-bcmath/Makefile
+++ b/math/php4-bcmath/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/11/05 07:33:16 martti Exp $
+# $NetBSD: Makefile,v 1.5 2003/08/31 19:55:49 jdolecek Exp $
MODNAME= bcmath
CATEGORIES+= math
@@ -6,6 +6,7 @@ PKGREVISION= # empty
COMMENT= PHP4 extension for bc-style arbitrary precision math
USE_BUILDLINK2= YES
+DISTINFO_FILE= ${PKGDIR}/distinfo
.include "../../www/php4/Makefile.module"
diff --git a/math/php4-bcmath/distinfo b/math/php4-bcmath/distinfo
index 0c572cf7ca0..10610a411cd 100644
--- a/math/php4-bcmath/distinfo
+++ b/math/php4-bcmath/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2002/10/14 06:21:12 martti Exp $
+$NetBSD: distinfo,v 1.6 2003/08/31 19:55:49 jdolecek Exp $
-SHA1 (php-4.2.3.tar.gz) = 3e57e8c056bd2f173bba8705293cdfa15aeb93bc
-Size (php-4.2.3.tar.gz) = 3413829 bytes
-SHA1 (patch-aa) = 96aed03b5187adc3f02df4ffae1f9e9a14bbd144
+SHA1 (php-4.3.3.tar.gz) = 6aa670995119a34c408fd362d6c2f57329a1cd3d
+Size (php-4.3.3.tar.gz) = 4565509 bytes
+SHA1 (patch-aa) = 9b38909d03e00107e9895b6fc207f656c3b49654
diff --git a/math/php4-bcmath/patches/patch-aa b/math/php4-bcmath/patches/patch-aa
index 18238ac5edf..7ac23bdd03a 100644
--- a/math/php4-bcmath/patches/patch-aa
+++ b/math/php4-bcmath/patches/patch-aa
@@ -1,12 +1,18 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 07:00:05 jlam Exp $
+$NetBSD: patch-aa,v 1.2 2003/08/31 19:55:50 jdolecek Exp $
---- Makefile.in.orig Sun Nov 26 04:34:01 2000
-+++ Makefile.in
-@@ -1,6 +1,6 @@
+--- config.m4.orig 2002-03-07 15:18:01.000000000 +0100
++++ config.m4 2003-08-31 18:24:27.000000000 +0200
+@@ -7,11 +7,11 @@
- LTLIBRARY_NAME = libbcmath.la
--LTLIBRARY_SOURCES = bcmath.c number.c
-+LTLIBRARY_SOURCES = bcmath.c
- LTLIBRARY_SHARED_NAME = bcmath.la
- LTLIBRARY_DEPENDENCIES = libbcmath/libbcmath.la
- LTLIBRARY_LIBADD = $(LTLIBRARY_DEPENDENCIES)
+ if test "$PHP_BCMATH" != "no"; then
+ AC_DEFINE(WITH_BCMATH, 1, [Whether you have bcmath])
+- PHP_NEW_EXTENSION(bcmath, bcmath.c number.c \
++ PHP_NEW_EXTENSION(bcmath, bcmath.c \
+ libbcmath/src/add.c libbcmath/src/div.c libbcmath/src/init.c libbcmath/src/neg.c libbcmath/src/outofmem.c libbcmath/src/raisemod.c libbcmath/src/rt.c libbcmath/src/sub.c \
+ libbcmath/src/compare.c libbcmath/src/divmod.c libbcmath/src/int2num.c libbcmath/src/num2long.c libbcmath/src/output.c libbcmath/src/recmul.c \
+ libbcmath/src/sqrt.c libbcmath/src/zero.c libbcmath/src/debug.c libbcmath/src/doaddsub.c libbcmath/src/nearzero.c libbcmath/src/num2str.c libbcmath/src/raise.c \
+ libbcmath/src/rmzero.c libbcmath/src/str2num.c,
+- $ext_shared,,-I@ext_srcdir@/libbcmath/src)
++ $ext_shared,,-I@ext_srcdir@ -I@ext_srcdir@/../.. -I@ext_srcdir@/libbcmath/src)
+ PHP_ADD_BUILD_DIR($ext_builddir/libbcmath/src)
+ fi