summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hoffmann <hoffie@gentoo.org>2007-11-09 22:24:00 +0000
committerChristian Hoffmann <hoffie@gentoo.org>2007-11-09 22:24:00 +0000
commit9da69ed3510314ddc215b877d7a5bc1ef1d379cd (patch)
treec351b5dca63dbd2188db869a28067dd336ff1349 /dev-php5/pecl-pdo-mysql
parentStable on ppc wrt bug 198574 (diff)
downloadgentoo-2-9da69ed3510314ddc215b877d7a5bc1ef1d379cd.tar.gz
gentoo-2-9da69ed3510314ddc215b877d7a5bc1ef1d379cd.tar.bz2
gentoo-2-9da69ed3510314ddc215b877d7a5bc1ef1d379cd.zip
removing pecl-pdo* as announced and explained in http://article.gmane.org/gmane.linux.gentoo.devel/52235 (no new upstream releases, dev-lang/php w/ USE=pdo provides the same features)
Diffstat (limited to 'dev-php5/pecl-pdo-mysql')
-rw-r--r--dev-php5/pecl-pdo-mysql/ChangeLog90
-rw-r--r--dev-php5/pecl-pdo-mysql/Manifest34
-rw-r--r--dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-1.0.23
-rw-r--r--dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-charsetphpini.patch98
-rw-r--r--dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch67
-rw-r--r--dev-php5/pecl-pdo-mysql/metadata.xml5
-rw-r--r--dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-1.0.2.ebuild56
7 files changed, 0 insertions, 353 deletions
diff --git a/dev-php5/pecl-pdo-mysql/ChangeLog b/dev-php5/pecl-pdo-mysql/ChangeLog
deleted file mode 100644
index c24603e807c2..000000000000
--- a/dev-php5/pecl-pdo-mysql/ChangeLog
+++ /dev/null
@@ -1,90 +0,0 @@
-# ChangeLog for dev-php5/pecl-pdo-mysql
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-mysql/ChangeLog,v 1.21 2007/08/13 10:08:23 jokey Exp $
-
- 13 Aug 2007; Markus Ullmann <jokey@gentoo.org>
- pecl-pdo-mysql-1.0.2.ebuild:
- Fix depstring wrt bug #170446
-
- 04 Mar 2007; Luca Longinotti <chtekk@gentoo.org>
- pecl-pdo-mysql-1.0.2.ebuild:
- Fix ZTS discovery.
-
- 04 Mar 2007; Luca Longinotti <chtekk@gentoo.org>
- +files/pecl-pdo-mysql-1.0.2-charsetphpini.patch,
- +files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch, -files/config-sed.patch,
- -files/pecl-pdo_mysql-readmycnf.patch, -pecl-pdo-mysql-1.0.1.ebuild,
- pecl-pdo-mysql-1.0.2.ebuild:
- Fix charset settings, be in sync with dev-lang/php.
-
- 23 Nov 2006; Francesco Riosa <vivo@gentoo.org>
- pecl-pdo-mysql-1.0.1.ebuild, pecl-pdo-mysql-1.0.2.ebuild:
- dev-db/mysql => virtual/mysql
-
-*pecl-pdo-mysql-1.0.2 (29 Sep 2006)
-
- 29 Sep 2006; Sebastian Bergmann <sebastian@gentoo.org>
- +pecl-pdo-mysql-1.0.2.ebuild:
- Version bump for bug #132639.
-
-*pecl-pdo-mysql-1.0.1-r1 (14 Apr 2006)
-
- 14 Apr 2006; Luca Longinotti <chtekk@gentoo.org>
- +files/pecl-pdo_mysql-readmycnf.patch, +pecl-pdo-mysql-1.0.1-r1.ebuild:
- Fix Gentoo bug #129761.
-
- 24 Feb 2006; Jeroen Roovers <jer@gentoo.org> pecl-pdo-mysql-1.0.1.ebuild:
- Stable on hppa (preparation for bug #119461).
-
- 25 Jan 2006; Bryan Østergaard <kloeri@gentoo.org
- pecl-pdo-mysql-1.0.1.ebuild:
- Stable on alpha.
-
- 25 Jan 2006; Jeroen Roovers <jer@gentoo.org> pecl-pdo-mysql-1.0.1.ebuild:
- Marked ~hppa (preparation for bug #119461).
-
- 22 Jan 2006; Simon Stelling <blubb@gentoo.org>
- pecl-pdo-mysql-1.0.1.ebuild:
- stable on amd64
-
- 21 Jan 2006; Jason Wever <weeve@gentoo.org> pecl-pdo-mysql-1.0.1.ebuild:
- Stable on SPARC wrt bug #119455.
-
- 21 Jan 2006; <nixnut@gentoo.org> pecl-pdo-mysql-1.0.1.ebuild:
- Added ppc keyword. bug 119455
-
- 19 Jan 2006; Krzysiek Pawlik <nelchael@gentoo.org>
- pecl-pdo-mysql-1.0.1.ebuild:
- Stable on x86.
-
- 18 Jan 2006; Markus Rothe <corsair@gentoo.org>
- pecl-pdo-mysql-1.0.1.ebuild:
- Stable on ppc64; bug #119455
-
- 18 Dec 2005; Luca Longinotti <chtekk@gentoo.org> +files/config-sed.patch,
- pecl-pdo-mysql-1.0.1.ebuild:
- Fix Gentoo bug #115921.
-
-*pecl-pdo-mysql-1.0.1 (18 Dec 2005)
-
- 18 Dec 2005; Luca Longinotti <chtekk@gentoo.org>
- -pecl-pdo-mysql-0.9.ebuild, +pecl-pdo-mysql-1.0.1.ebuild:
- Sync with overlay. Update to 1.0.1 release.
-
- 19 Nov 2005; Markus Rothe <corsair@gentoo.org> pecl-pdo-mysql-0.9.ebuild:
- Added ~ppc64 keyword; bug #102649
-
- 17 Sep 2005; Christian Parpart <trapni@gentoo.org>
- pecl-pdo-mysql-0.9.ebuild:
- added to ~amd64
-
- 16 Sep 2005; Christian Parpart <trapni@gentoo.org> ChangeLog:
- added to ~amd64
-
- 09 Sep 2005; Jason Wever <weeve@gentoo.org> pecl-pdo-mysql-0.9.ebuild:
- Added ~sparc keyword to help fix the broken dependencies of
- dev-php/PEAR-Date-1.4.3-r1.
-
- 18 Aug 2005; <stuart@gentoo.org> ChangeLog:
- Initial version; replaces older dev-php/* packages
-
diff --git a/dev-php5/pecl-pdo-mysql/Manifest b/dev-php5/pecl-pdo-mysql/Manifest
deleted file mode 100644
index 7bd389b8cb5f..000000000000
--- a/dev-php5/pecl-pdo-mysql/Manifest
+++ /dev/null
@@ -1,34 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX pecl-pdo-mysql-1.0.2-charsetphpini.patch 2901 RMD160 0fc78537f4f3cf60067e4f87ada1cdb9f6db3570 SHA1 f2d2a70f2fad975192504cf2a392ba498aef9bf3 SHA256 e750ece9573228770e7d1cf08c48c6afbf354a18c3b801a08e3672b668b41235
-MD5 ee088d08d2c608850abf0d596e34901e files/pecl-pdo-mysql-1.0.2-charsetphpini.patch 2901
-RMD160 0fc78537f4f3cf60067e4f87ada1cdb9f6db3570 files/pecl-pdo-mysql-1.0.2-charsetphpini.patch 2901
-SHA256 e750ece9573228770e7d1cf08c48c6afbf354a18c3b801a08e3672b668b41235 files/pecl-pdo-mysql-1.0.2-charsetphpini.patch 2901
-AUX pecl-pdo-mysql-1.0.2-ztsclientlib.patch 2111 RMD160 490f7d2a10a3befbc2b552ad6a55166ec36d669a SHA1 b3bdb5e3aaee72a17d2af4804707006196f21dc7 SHA256 ee3b91f0c274a2d3df4394f7908e2654f17b99ddc591b4f7ed5738ab6081c80f
-MD5 a2c58d40a0f18b024d0bef8377f2ba16 files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch 2111
-RMD160 490f7d2a10a3befbc2b552ad6a55166ec36d669a files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch 2111
-SHA256 ee3b91f0c274a2d3df4394f7908e2654f17b99ddc591b4f7ed5738ab6081c80f files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch 2111
-DIST PDO_MYSQL-1.0.2.tgz 14778 RMD160 b630a67bd8d50f84ff6590d3817b43800c5a1ec4 SHA1 0106536a60c3e5789f58aee0aa45d5b6b07f3973 SHA256 233bdef458b223e1894b3c261f9d99b4feb4fd9df44ae0191d4d5b49c64dc202
-EBUILD pecl-pdo-mysql-1.0.2.ebuild 1362 RMD160 149f3f207d1e9c7f01adeb0a936bea5e3c18312e SHA1 468dfb600347931f5aef8fa4fde1d79bb6c9bbd0 SHA256 043d22c6b9ccd97ab726a53a9198c35e7a650089a26b8b54a62c9f44a220a56e
-MD5 894e2a2e61695fe8f7382d886297715b pecl-pdo-mysql-1.0.2.ebuild 1362
-RMD160 149f3f207d1e9c7f01adeb0a936bea5e3c18312e pecl-pdo-mysql-1.0.2.ebuild 1362
-SHA256 043d22c6b9ccd97ab726a53a9198c35e7a650089a26b8b54a62c9f44a220a56e pecl-pdo-mysql-1.0.2.ebuild 1362
-MISC ChangeLog 3027 RMD160 57ba66cd4e98f4522c6f2d88a985ccff018ff3a8 SHA1 46972e1bf6a578a80b1becef6121753866700300 SHA256 a331c86395cb5d8234af654573341e8ae5fc292ec50a4f10a26cf1bbc76a7fee
-MD5 94e627e10e9b13b6aa91cca234817cfa ChangeLog 3027
-RMD160 57ba66cd4e98f4522c6f2d88a985ccff018ff3a8 ChangeLog 3027
-SHA256 a331c86395cb5d8234af654573341e8ae5fc292ec50a4f10a26cf1bbc76a7fee ChangeLog 3027
-MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1
-MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157
-RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157
-SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157
-MD5 8984cf80222b7785c963368604cac717 files/digest-pecl-pdo-mysql-1.0.2 235
-RMD160 ba0ff600656cdb7b776e687e08835c3c2fa78f9b files/digest-pecl-pdo-mysql-1.0.2 235
-SHA256 c7cef941d344237fe10a4b495e5c3ac7ae4f858d7dc65677d12eac09d93ba8ba files/digest-pecl-pdo-mysql-1.0.2 235
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.5 (GNU/Linux)
-
-iD8DBQFGwC2gz974XjDVpbkRAjEyAKCsZr66xgpnm3MBpIjPWRTnzu2QgwCgnbAR
-JRYULxoxQqNS4o1uIAbt45E=
-=C92+
------END PGP SIGNATURE-----
diff --git a/dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-1.0.2 b/dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-1.0.2
deleted file mode 100644
index db6006746001..000000000000
--- a/dev-php5/pecl-pdo-mysql/files/digest-pecl-pdo-mysql-1.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 6121f450488dd4893f5702051c1f84fb PDO_MYSQL-1.0.2.tgz 14778
-RMD160 b630a67bd8d50f84ff6590d3817b43800c5a1ec4 PDO_MYSQL-1.0.2.tgz 14778
-SHA256 233bdef458b223e1894b3c261f9d99b4feb4fd9df44ae0191d4d5b49c64dc202 PDO_MYSQL-1.0.2.tgz 14778
diff --git a/dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-charsetphpini.patch b/dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-charsetphpini.patch
deleted file mode 100644
index e85e43ca4a3d..000000000000
--- a/dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-charsetphpini.patch
+++ /dev/null
@@ -1,98 +0,0 @@
---- mysql_driver.c 2006-12-02 12:43:22.000000000 +0100
-+++ mysql_driver.c 2006-12-02 12:43:39.000000000 +0100
-@@ -408,6 +408,7 @@
- pdo_mysql_db_handle *H;
- int i, ret = 0;
- char *host = NULL, *unix_socket = NULL;
-+ char *connect_charset = NULL;
- unsigned int port = 3306;
- char *dbname;
- struct pdo_data_src_parser vars[] = {
-@@ -528,6 +529,13 @@
- if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
- unix_socket = vars[4].optval;
- }
-+
-+ connect_charset = PDOMYSQLG(connect_charset);
-+
-+ if (connect_charset != NULL) {
-+ mysql_options(H->server, MYSQL_SET_CHARSET_NAME, connect_charset);
-+ }
-+
- if (mysql_real_connect(H->server, host, dbh->username, dbh->password, dbname, port, unix_socket, connect_opts) == NULL) {
- pdo_mysql_error(dbh);
- goto cleanup;
---- pdo_mysql.c 2006-12-02 12:43:22.000000000 +0100
-+++ pdo_mysql.c 2006-12-02 12:43:39.000000000 +0100
-@@ -30,6 +30,8 @@
- #include "php_pdo_mysql.h"
- #include "php_pdo_mysql_int.h"
-
-+ZEND_DECLARE_MODULE_GLOBALS(pdo_mysql)
-+
- /* {{{ pdo_mysql_functions[] */
- zend_function_entry pdo_mysql_functions[] = {
- {NULL, NULL, NULL}
-@@ -69,12 +71,24 @@
- ZEND_GET_MODULE(pdo_mysql)
- #endif
-
-+PHP_INI_BEGIN()
-+ STD_PHP_INI_ENTRY("pdo_mysql.connect_charset", NULL, PHP_INI_ALL, OnUpdateString, connect_charset, zend_pdo_mysql_globals, pdo_mysql_globals)
-+PHP_INI_END()
-+
-+static void php_pdo_mysql_init_globals(zend_pdo_mysql_globals *pdo_mysql_globals)
-+{
-+ pdo_mysql_globals->connect_charset = NULL;
-+}
-+
- /* true global environment */
-
- /* {{{ PHP_MINIT_FUNCTION
- */
- PHP_MINIT_FUNCTION(pdo_mysql)
- {
-+ ZEND_INIT_MODULE_GLOBALS(pdo_mysql, php_pdo_mysql_init_globals, NULL);
-+ REGISTER_INI_ENTRIES();
-+
- REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_USE_BUFFERED_QUERY", (long)PDO_MYSQL_ATTR_USE_BUFFERED_QUERY);
- REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_LOCAL_INFILE", (long)PDO_MYSQL_ATTR_LOCAL_INFILE);
- REGISTER_PDO_CLASS_CONST_LONG("MYSQL_ATTR_INIT_COMMAND", (long)PDO_MYSQL_ATTR_INIT_COMMAND);
-@@ -91,6 +105,7 @@
- */
- PHP_MSHUTDOWN_FUNCTION(pdo_mysql)
- {
-+ UNREGISTER_INI_ENTRIES();
- php_pdo_unregister_driver(&pdo_mysql_driver);
- return SUCCESS;
- }
-@@ -103,6 +118,8 @@
- php_info_print_table_start();
- php_info_print_table_header(2, "PDO Driver for MySQL, client library version", mysql_get_client_info());
- php_info_print_table_end();
-+
-+ DISPLAY_INI_ENTRIES();
- }
- /* }}} */
-
---- php_pdo_mysql.h 2006-12-02 12:43:22.000000000 +0100
-+++ php_pdo_mysql.h 2006-12-02 13:04:41.000000000 +0100
-@@ -40,6 +40,18 @@
- PHP_RSHUTDOWN_FUNCTION(pdo_mysql);
- PHP_MINFO_FUNCTION(pdo_mysql);
-
-+ZEND_BEGIN_MODULE_GLOBALS(pdo_mysql)
-+ char *connect_charset;
-+ZEND_END_MODULE_GLOBALS(pdo_mysql)
-+
-+#ifdef ZTS
-+# define PDOMYSQLG(v) TSRMG(pdo_mysql_globals_id, zend_pdo_mysql_globals *, v)
-+#else
-+# define PDOMYSQLG(v) (pdo_mysql_globals.v)
-+#endif
-+
-+ZEND_EXTERN_MODULE_GLOBALS(pdo_mysql)
-+
- #endif /* PHP_PDO_MYSQL_H */
-
-
diff --git a/dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch b/dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch
deleted file mode 100644
index 1cb09f87957c..000000000000
--- a/dev-php5/pecl-pdo-mysql/files/pecl-pdo-mysql-1.0.2-ztsclientlib.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- config.m4 2006/05/02 00:59:22 1.25.2.7
-+++ config.m4 2006/06/01 19:14:48 1.25.2.7.2.2
-@@ -5,7 +5,7 @@
- if test "$PHP_PDO" != "no"; then
-
- AC_DEFUN([PDO_MYSQL_LIB_CHK], [
-- str="$PDO_MYSQL_DIR/$1/libmysqlclient.*"
-+ str="$PDO_MYSQL_DIR/$1/libmysqlclient*"
- for j in `echo $str`; do
- if test -r $j; then
- PDO_MYSQL_LIB_DIR=$MYSQL_DIR/$1
-@@ -53,8 +53,14 @@
- if test "x$SED" = "x"; then
- AC_PATH_PROG(SED, sed)
- fi
-+ if test "$enable_maintainer_zts" = "yes"; then
-+ PDO_MYSQL_LIBNAME=mysqlclient_r
-+ PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs_r | $SED -e "s/'//g"`
-+ else
-+ PDO_MYSQL_LIBNAME=mysqlclient
-+ PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g"`
-+ fi
- PDO_MYSQL_INCLUDE=`$PDO_MYSQL_CONFIG --cflags | $SED -e "s/'//g"`
-- PDO_MYSQL_LIBS=`$PDO_MYSQL_CONFIG --libs | $SED -e "s/'//g"`
- PDO_MYSQL_SOCKET=`$PDO_MYSQL_CONFIG --socket`
- elif test -z "$PDO_MYSQL_DIR"; then
- AC_MSG_RESULT([not found])
-@@ -80,17 +86,15 @@
- AC_MSG_ERROR([Unable to find your mysql installation])
- fi
-
-- PHP_ADD_LIBRARY_WITH_PATH(mysqlclient, $PDO_MYSQL_LIB_DIR, PDO_MYSQL_SHARED_LIBADD)
-+ PHP_ADD_LIBRARY_WITH_PATH($PDO_MYSQL_LIBNAME, $PDO_MYSQL_LIB_DIR, PDO_MYSQL_SHARED_LIBADD)
- PHP_ADD_INCLUDE($PDO_MYSQL_INC_DIR)
- PDO_MYSQL_INCLUDE=-I$PDO_MYSQL_INC_DIR
- fi
-
- AC_DEFINE_UNQUOTED(PDO_MYSQL_UNIX_ADDR, "$PDO_MYSQL_SOCKET", [ ])
-
--
-- _SAVE_LIBS=$LIBS
-- LIBS="$LIBS $PDO_MYSQL_LIBS"
-- PHP_CHECK_LIBRARY(mysqlclient, mysql_query,
-+
-+ PHP_CHECK_LIBRARY($PDO_MYSQL_LIBNAME, mysql_query,
- [
- PHP_EVAL_LIBLINE($PDO_MYSQL_LIBS, PDO_MYSQL_SHARED_LIBADD)
- ],[
-@@ -98,6 +102,8 @@
- ],[
- $PDO_MYSQL_LIBS
- ])
-+ _SAVE_LIBS=$LIBS
-+ LIBS="$LIBS $PDO_MYSQL_LIBS"
- AC_CHECK_FUNCS([mysql_commit mysql_stmt_prepare mysql_next_result mysql_sqlstate])
- LIBS=$_SAVE_LIBS
-
-@@ -124,8 +130,7 @@
- PHP_ADD_EXTENSION_DEP(pdo_mysql, pdo)
- ])
- PDO_MYSQL_MODULE_TYPE=external
--
-- PDO_MYSQL_SHARED_LIBADD=$PDO_MYSQL_LIBS
-+
- PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)
- PHP_SUBST_OLD(PDO_MYSQL_MODULE_TYPE)
- fi
diff --git a/dev-php5/pecl-pdo-mysql/metadata.xml b/dev-php5/pecl-pdo-mysql/metadata.xml
deleted file mode 100644
index fd3dbe39fa64..000000000000
--- a/dev-php5/pecl-pdo-mysql/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>php</herd>
-</pkgmetadata>
diff --git a/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-1.0.2.ebuild b/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-1.0.2.ebuild
deleted file mode 100644
index e2074dd31290..000000000000
--- a/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-1.0.2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-pdo-mysql/pecl-pdo-mysql-1.0.2.ebuild,v 1.5 2007/08/13 10:08:23 jokey Exp $
-
-PHP_EXT_NAME="pdo_mysql"
-PHP_EXT_PECL_PKG="PDO_MYSQL"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-
-inherit php-ext-pecl-r1
-
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
-
-DESCRIPTION="PHP Data Objects (PDO) Driver For MySQL Server."
-LICENSE="PHP"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-php5/pecl-pdo-1.0.3
- virtual/mysql"
-RDEPEND="${DEPEND}"
-
-need_php_by_category
-
-pkg_setup() {
- has_php
-
- # if the user has compiled in PDO, he can't use this package
- if built_with_use =${PHP_PKG} pdo ; then
- eerror
- eerror "You have built ${PHP_PKG} to use the bundled PDO support."
- eerror "If you want to use the PECL PDO packages, you must rebuild"
- eerror "your PHP with the 'pdo-external' USE flag instead."
- eerror
- die "PHP built to use bundled PDO support"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Fix charset settings and library linking
- epatch "${FILESDIR}/${P}-charsetphpini.patch"
- epatch "${FILESDIR}/${P}-ztsclientlib.patch"
-}
-
-src_compile() {
- has_php
- if has_zts ; then
- my_conf="--with-pdo-mysql=/usr --enable-maintainer-zts"
- else
- my_conf="--with-pdo-mysql=/usr"
- fi
- php-ext-pecl-r1_src_compile
-}