summaryrefslogtreecommitdiff
path: root/databases/php4-mysql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-16 05:54:01 +0000
committerjlam <jlam@pkgsrc.org>2001-10-16 05:54:01 +0000
commit5fa44cb3229f88929c455ebe907d1b0923d8c560 (patch)
tree0a25abfbd57d90c2a7e1ded0091e3271e2ee7bc7 /databases/php4-mysql
parentc3d51469d48a219530e7e364461a79169350e227 (diff)
downloadpkgsrc-5fa44cb3229f88929c455ebe907d1b0923d8c560.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/php4-mysql')
-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.