diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2007-09-04 23:21:27 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2007-09-04 23:21:27 +0000 |
commit | 327246bc587baf62c028904818067dc49cf44163 (patch) | |
tree | 701a39bfb3d161581e8ddc682983960860b636ff /databases/php-pdo | |
parent | 9a12391cb0232236356bab2da9a68535b5744d44 (diff) | |
download | pkgsrc-327246bc587baf62c028904818067dc49cf44163.tar.gz |
allow this package to build properly on Mac OS X as shared extension
Diffstat (limited to 'databases/php-pdo')
-rw-r--r-- | databases/php-pdo/distinfo | 3 | ||||
-rw-r--r-- | databases/php-pdo/patches/patch-aa | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/databases/php-pdo/distinfo b/databases/php-pdo/distinfo index c26f86eebcc..a396b41b798 100644 --- a/databases/php-pdo/distinfo +++ b/databases/php-pdo/distinfo @@ -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 --git a/databases/php-pdo/patches/patch-aa b/databases/php-pdo/patches/patch-aa new file mode 100644 index 00000000000..bd4cd589306 --- /dev/null +++ b/databases/php-pdo/patches/patch-aa @@ -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], + [ |