diff options
author | jlam <jlam@pkgsrc.org> | 2001-10-16 07:00:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-10-16 07:00:05 +0000 |
commit | 3d14f97fb8cc958277e29ff4a708e9b0ed35a6f6 (patch) | |
tree | edf8518411ac5518f8c78feabcbcf3f1c6dbc5d7 /math | |
parent | 28578b62136dfa75a83b603e2351eef7fd8fa0bd (diff) | |
download | pkgsrc-3d14f97fb8cc958277e29ff4a708e9b0ed35a6f6.tar.gz |
math/php4-bcmath: PHP4 extension for bc-style arbitrary precision math
This version is from the php-4.0.6 distribution.
Diffstat (limited to 'math')
-rw-r--r-- | math/php4-bcmath/Makefile | 13 | ||||
-rw-r--r-- | math/php4-bcmath/distinfo | 6 | ||||
-rw-r--r-- | math/php4-bcmath/patches/patch-aa | 12 | ||||
-rw-r--r-- | math/php4-bcmath/patches/patch-ab | 13 | ||||
-rw-r--r-- | math/php4-bcmath/pkg/DESCR | 2 |
5 files changed, 46 insertions, 0 deletions
diff --git a/math/php4-bcmath/Makefile b/math/php4-bcmath/Makefile new file mode 100644 index 00000000000..24c1200397c --- /dev/null +++ b/math/php4-bcmath/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 07:00:05 jlam Exp $ + +.include "../../www/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/math/php4-bcmath/distinfo b/math/php4-bcmath/distinfo new file mode 100644 index 00000000000..0362cc4feef --- /dev/null +++ b/math/php4-bcmath/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/16 07:00:05 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/math/php4-bcmath/patches/patch-aa b/math/php4-bcmath/patches/patch-aa new file mode 100644 index 00000000000..18238ac5edf --- /dev/null +++ b/math/php4-bcmath/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 07:00:05 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/math/php4-bcmath/patches/patch-ab b/math/php4-bcmath/patches/patch-ab new file mode 100644 index 00000000000..740d5f6cfaf --- /dev/null +++ b/math/php4-bcmath/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/10/16 07:00:05 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/math/php4-bcmath/pkg/DESCR b/math/php4-bcmath/pkg/DESCR new file mode 100644 index 00000000000..ec731d0306d --- /dev/null +++ b/math/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. |