pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/php-pdo allow this package to build properly...
details: https://anonhg.NetBSD.org/pkgsrc/rev/994c2016774f
branches: trunk
changeset: 532940:994c2016774f
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Tue Sep 04 23:21:27 2007 +0000
description:
allow this package to build properly on Mac OS X as shared extension
diffstat:
databases/php-pdo/distinfo | 3 ++-
databases/php-pdo/patches/patch-aa | 27 +++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r 6d395668ab13 -r 994c2016774f databases/php-pdo/distinfo
--- a/databases/php-pdo/distinfo Tue Sep 04 22:47:15 2007 +0000
+++ b/databases/php-pdo/distinfo Tue Sep 04 23:21:27 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/12/03 17:24:28 jdolecek Exp $
+$NetBSD: distinfo,v 1.3 2007/09/04 23:21:27 jdolecek Exp $
SHA1 (php-PDO/PDO-1.0.2.tgz) = 0cab1adfde9214f6cb9edff022c51709ddbce3ba
RMD160 (php-PDO/PDO-1.0.2.tgz) = 08d10eb3aa6622dbe209e64c35951957aade3033
Size (php-PDO/PDO-1.0.2.tgz) = 49810 bytes
+SHA1 (patch-aa) = 49cdde51d81b5a7938ff36eabc3b663ea5858689
diff -r 6d395668ab13 -r 994c2016774f databases/php-pdo/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/php-pdo/patches/patch-aa Tue Sep 04 23:21:27 2007 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1 2007/09/04 23:21:27 jdolecek Exp $
+
+--- config.m4.orig 2006-05-02 04:47:43.000000000 +0200
++++ config.m4
+@@ -34,22 +34,6 @@ if test "$PHP_PDO" != "no"; then
+
+ PHP_PDO_PEAR_CHECK
+
+- if test "$ext_shared" = "yes" ; then
+- case $host_alias in
+- *darwin*)
+- if test "$pdo_running_under_pear" = "1"; then
+- AC_MSG_ERROR([
+-Due to the way that loadable modules work on OSX/Darwin, you need to
+-compile the PDO package statically into the PHP core.
+-
+-Please follow the instructions at: http://netevil.org/node.php?nid=202
+-for more detail on this issue.
+- ])
+- fi
+- ext_shared=no
+- ;;
+- esac
+- fi
+ PHP_NEW_EXTENSION(pdo, pdo.c pdo_dbh.c pdo_stmt.c pdo_sql_parser.c pdo_sqlstate.c, $ext_shared)
+ ifdef([PHP_ADD_EXTENSION_DEP],
+ [
Home |
Main Index |
Thread Index |
Old Index