diff options
author | jlam <jlam> | 2001-10-16 06:42:12 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-16 06:42:12 +0000 |
commit | 18c2a09f591e86d5fa5f123288100dad6db92acd (patch) | |
tree | 7993fac79e787045bb88f8d5075abba7613a4b63 /devel | |
parent | 95d71d7fe2c8d1222b79cd07c9392e8d69ce2600 (diff) | |
download | pkgsrc-18c2a09f591e86d5fa5f123288100dad6db92acd.tar.gz |
devel/php4-gmp: PHP4 extension for arbitrary precision math
This version is from the php-4.0.6 distribution.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/php4-gmp/Makefile | 14 | ||||
-rw-r--r-- | devel/php4-gmp/distinfo | 5 | ||||
-rw-r--r-- | devel/php4-gmp/patches/patch-aa | 12 | ||||
-rw-r--r-- | devel/php4-gmp/pkg/DESCR | 3 |
4 files changed, 34 insertions, 0 deletions
diff --git a/devel/php4-gmp/Makefile b/devel/php4-gmp/Makefile new file mode 100644 index 00000000000..ba86127533c --- /dev/null +++ b/devel/php4-gmp/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 06:42:12 jlam Exp $ + +.include "../php4/Makefile.module" + +MODNAME= gmp +CATEGORIES+= devel math +PHP_PKG_VERS= # empty +COMMENT= PHP4 extension for arbitrary precision math + +USE_BUILDLINK_ONLY= YES +CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_DIR} + +.include "../../devel/gmp/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/php4-gmp/distinfo b/devel/php4-gmp/distinfo new file mode 100644 index 00000000000..adf039c201d --- /dev/null +++ b/devel/php4-gmp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/16 06:42:12 jlam Exp $ + +SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03 +Size (php-4.0.6.tar.gz) = 3157346 bytes +SHA1 (patch-aa) = fddcdbbe6bcff276887fdb34948fba51251c62a1 diff --git a/devel/php4-gmp/patches/patch-aa b/devel/php4-gmp/patches/patch-aa new file mode 100644 index 00000000000..343d8abd48d --- /dev/null +++ b/devel/php4-gmp/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 06:42:12 jlam Exp $ + +--- config.m4.orig Tue Mar 27 15:34:27 2001 ++++ config.m4 +@@ -23,5 +23,6 @@ + + PHP_EXTENSION(gmp, $ext_shared) + AC_DEFINE(HAVE_GMP, 1, [ ]) +- PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib) ++ PHP_SUBST(GMP_SHARED_LIBADD) ++ PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/lib, GMP_SHARED_LIBADD) + fi diff --git a/devel/php4-gmp/pkg/DESCR b/devel/php4-gmp/pkg/DESCR new file mode 100644 index 00000000000..10fe810660a --- /dev/null +++ b/devel/php4-gmp/pkg/DESCR @@ -0,0 +1,3 @@ +PHP is a programming language designed to be embedded into web pages. +This module provides an interface to GNU MP for arbitrary precision math +for PHP4. |