diff options
author | jlam <jlam> | 2001-10-16 06:50:03 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-16 06:50:03 +0000 |
commit | ca6b1c14b0754cd96f3180243e3937b58ead26bb (patch) | |
tree | 48c4c99be32d407728f0acc58dc4b71077f0da3e | |
parent | a2b31b3d8ac382df60ef0a62c9570fba47ad2d52 (diff) | |
download | pkgsrc-ca6b1c14b0754cd96f3180243e3937b58ead26bb.tar.gz |
math/php4-bcmath: PHP4 extension for bc-style arbitrary precision math
This version is from the php-4.0.6 distribution.
-rw-r--r-- | databases/php4-bcmath/Makefile | 13 | ||||
-rw-r--r-- | databases/php4-bcmath/distinfo | 6 | ||||
-rw-r--r-- | databases/php4-bcmath/patches/patch-aa | 12 | ||||
-rw-r--r-- | databases/php4-bcmath/patches/patch-ab | 13 | ||||
-rw-r--r-- | databases/php4-bcmath/pkg/DESCR | 2 |
5 files changed, 46 insertions, 0 deletions
diff --git a/databases/php4-bcmath/Makefile b/databases/php4-bcmath/Makefile new file mode 100644 index 00000000000..02d2cfd4a1f --- /dev/null +++ b/databases/php4-bcmath/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 06:50:03 jlam Exp $ + +.include "../php4/Makefile.module" + +MODNAME= bcmath +CATEGORIES+= math +PHP_PKG_VERS= # empty +COMMENT= PHP4 extension for bc-style arbitrary precision math + +USE_BUILDLINK_ONLY= YES +CONFIGURE_ARGS+= --enable-${MODNAME} + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/php4-bcmath/distinfo b/databases/php4-bcmath/distinfo new file mode 100644 index 00000000000..40b85f7a696 --- /dev/null +++ b/databases/php4-bcmath/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/16 06:50:03 jlam Exp $ + +SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03 +Size (php-4.0.6.tar.gz) = 3157346 bytes +SHA1 (patch-aa) = 96aed03b5187adc3f02df4ffae1f9e9a14bbd144 +SHA1 (patch-ab) = fdb4a5e27148533d9bc47b1e7d96eda8c0e02cd3 diff --git a/databases/php4-bcmath/patches/patch-aa b/databases/php4-bcmath/patches/patch-aa new file mode 100644 index 00000000000..58617b4d6db --- /dev/null +++ b/databases/php4-bcmath/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 06:50:03 jlam Exp $ + +--- Makefile.in.orig Sun Nov 26 04:34:01 2000 ++++ Makefile.in +@@ -1,6 +1,6 @@ + + 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) diff --git a/databases/php4-bcmath/patches/patch-ab b/databases/php4-bcmath/patches/patch-ab new file mode 100644 index 00000000000..42b12560e72 --- /dev/null +++ b/databases/php4-bcmath/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/10/16 06:50:03 jlam Exp $ + +--- bcmath.c.orig Thu May 24 08:41:36 2001 ++++ bcmath.c +@@ -28,7 +28,7 @@ + + #include "ext/standard/info.h" + #include "php_bcmath.h" +-#include "ext/bcmath/libbcmath/src/bcmath.h" ++#include "libbcmath/src/bcmath.h" + + function_entry bcmath_functions[] = { + PHP_FE(bcadd, NULL) diff --git a/databases/php4-bcmath/pkg/DESCR b/databases/php4-bcmath/pkg/DESCR new file mode 100644 index 00000000000..ec731d0306d --- /dev/null +++ b/databases/php4-bcmath/pkg/DESCR @@ -0,0 +1,2 @@ +PHP is a programming language designed to be embedded into web pages. +This module provides support for bc-style arbitrary precision math for PHP4. |