summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-16 05:54:01 +0000
committerjlam <jlam>2001-10-16 05:54:01 +0000
commit02871ca90935eacaba091dd36fdd79fb04a141be (patch)
tree0a25abfbd57d90c2a7e1ded0091e3271e2ee7bc7 /databases
parentcb330f7a6d54e415ca32487e00f54f7761f41f31 (diff)
downloadpkgsrc-02871ca90935eacaba091dd36fdd79fb04a141be.tar.gz
Update php4-mysql to the version from the php-4.0.6 distribution. Changes
from version 4.0.5 include moving from the www category, and: - Added connection error support to mysql_error() and mysql_errno(). (Jason) - Added mysql_unbuffered_query(), which is useful for very large result sets. (Zeev)
Diffstat (limited to 'databases')
-rw-r--r--databases/php4-mysql/Makefile16
-rw-r--r--databases/php4-mysql/distinfo4
-rw-r--r--databases/php4-mysql/pkg/DESCR2
3 files changed, 22 insertions, 0 deletions
diff --git a/databases/php4-mysql/Makefile b/databases/php4-mysql/Makefile
new file mode 100644
index 00000000000..22a45648e54
--- /dev/null
+++ b/databases/php4-mysql/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 05:54:01 jlam Exp $
+
+.include "../php4/Makefile.module"
+
+MODNAME= mysql
+CATEGORIES+= databases
+PHP_PKG_VERS= # empty
+COMMENT= PHP4 extension for MySQL databases
+
+DEPENDS+= mysql-client>=3.23.35:../../databases/mysql-client
+
+EVAL_PREFIX+= MYSQLDIR=mysql-client
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${MYSQLDIR}
+LDFLAGS+= -Wl,-R${LOCALBASE}/lib/mysql
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/php4-mysql/distinfo b/databases/php4-mysql/distinfo
new file mode 100644
index 00000000000..67523376113
--- /dev/null
+++ b/databases/php4-mysql/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/16 05:54:01 jlam Exp $
+
+SHA1 (php-4.0.6.tar.gz) = 6544eb1085b916541af914a11074e9bb8a037a03
+Size (php-4.0.6.tar.gz) = 3157346 bytes
diff --git a/databases/php4-mysql/pkg/DESCR b/databases/php4-mysql/pkg/DESCR
new file mode 100644
index 00000000000..7226fa83f17
--- /dev/null
+++ b/databases/php4-mysql/pkg/DESCR
@@ -0,0 +1,2 @@
+PHP is a programming language designed to be embedded into web pages.
+This module provides PHP4 access to MySQL databases.