From 9a201016ae7a7540c42c000240e6077b8b31489e Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Wed, 16 Nov 2005 08:33:09 +0000 Subject: - Fix pear pkg-plist - Increase pear memory limit (requested by amd64) --- lang/php5/Makefile.pear | 2 +- lang/php5/files/patch-Zend::zend.h | 11 +++++------ lang/php5/files/patch-acinclude.m4 | 8 ++++---- lang/php5/files/patch-main::php_config.h.in | 10 +++++----- lang/php5/files/patch-pear::scripts::pearcmd.php | 9 +++++---- lang/php5/pkg-plist.pear | 22 +++++++++++++++++++++- 6 files changed, 41 insertions(+), 21 deletions(-) (limited to 'lang/php5') diff --git a/lang/php5/Makefile.pear b/lang/php5/Makefile.pear index 865bdf9e90dd..8ba975ddab3f 100644 --- a/lang/php5/Makefile.pear +++ b/lang/php5/Makefile.pear @@ -1,4 +1,4 @@ -PORTREVISION= 0 +PORTREVISION= 1 USE_GNOME= libxml2 diff --git a/lang/php5/files/patch-Zend::zend.h b/lang/php5/files/patch-Zend::zend.h index 50625c403417..701f6a556f56 100644 --- a/lang/php5/files/patch-Zend::zend.h +++ b/lang/php5/files/patch-Zend::zend.h @@ -1,12 +1,11 @@ ---- Zend/zend.h.orig Mon Dec 6 15:42:56 2004 -+++ Zend/zend.h Mon Dec 6 15:46:40 2004 -@@ -176,7 +176,7 @@ +--- Zend/zend.h.orig Thu Aug 25 19:41:08 2005 ++++ Zend/zend.h Wed Nov 16 09:30:03 2005 +@@ -178,7 +178,7 @@ #endif - - + + -#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__) +#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__) && !(defined(ZTS) && defined(__FreeBSD__)) # define do_alloca(p) alloca(p) # define free_alloca(p) #else - diff --git a/lang/php5/files/patch-acinclude.m4 b/lang/php5/files/patch-acinclude.m4 index 32a0ca4c79c9..925902e0e2e8 100644 --- a/lang/php5/files/patch-acinclude.m4 +++ b/lang/php5/files/patch-acinclude.m4 @@ -1,7 +1,7 @@ ---- acinclude.m4.orig Tue Jan 25 14:02:45 2005 -+++ acinclude.m4 Mon Apr 4 11:09:25 2005 -@@ -1681,9 +1681,9 @@ - unset OPENSSL_LIBDIR +--- acinclude.m4.orig Tue Jul 26 00:31:07 2005 ++++ acinclude.m4 Wed Nov 16 09:30:03 2005 +@@ -1707,9 +1707,9 @@ + test -z "$PHP_IMAP_SSL" && PHP_IMAP_SSL=no dnl Fallbacks for different configure options - if test "$PHP_OPENSSL" != "no"; then diff --git a/lang/php5/files/patch-main::php_config.h.in b/lang/php5/files/patch-main::php_config.h.in index 3eed7c4acf66..9c92108b381e 100644 --- a/lang/php5/files/patch-main::php_config.h.in +++ b/lang/php5/files/patch-main::php_config.h.in @@ -1,8 +1,8 @@ ---- main/php_config.h.in.orig Mon Jul 12 16:30:37 2004 -+++ main/php_config.h.in Mon Jul 12 16:31:38 2004 -@@ -2362,6 +2362,9 @@ - /* */ - #undef SOLARIS_YP +--- main/php_config.h.in.orig Mon Sep 5 13:16:27 2005 ++++ main/php_config.h.in Wed Nov 16 09:30:03 2005 +@@ -2454,6 +2454,9 @@ + /* Define if uint32_t type is present. */ + #undef HAVE_UINT32_T +/* Include external shared modules configurations */ +#include "ext/php_config.h" diff --git a/lang/php5/files/patch-pear::scripts::pearcmd.php b/lang/php5/files/patch-pear::scripts::pearcmd.php index d24ae913d4fe..e0898d9ed08a 100644 --- a/lang/php5/files/patch-pear::scripts::pearcmd.php +++ b/lang/php5/files/patch-pear::scripts::pearcmd.php @@ -1,11 +1,11 @@ ---- pear/scripts/pearcmd.php.orig Sun Jun 6 17:52:41 2004 -+++ pear/scripts/pearcmd.php Mon Jul 12 16:22:50 2004 +--- pear/scripts/pearcmd.php.orig Mon Mar 28 18:46:06 2005 ++++ pear/scripts/pearcmd.php Wed Nov 16 09:30:03 2005 @@ -1,3 +1,4 @@ +#!%%PREFIX%%/bin/php -nq /dev/null || true +@unexec rm %D/lib/php/pear/.channels/.alias/pecl.txt 2> /dev/null || true +@unexec rm %D/lib/php/pear/.channels/__uri.reg 2> /dev/null || true +@unexec rm %D/lib/php/pear/.channels/pear.php.net.reg 2> /dev/null || true +@unexec rm %D/lib/php/pear/.channels/pecl.php.net.reg 2> /dev/null || true +@unexec rm %D/lib/php/pear/.depdb 2> /dev/null || true +@unexec rm %D/lib/php/pear/.depdblock 2> /dev/null || true @unexec rm %D/lib/php/pear/.filemap 2> /dev/null || true @unexec rm %D/lib/php/pear/.lock 2> /dev/null || true +@unexec rmdir %D/lib/php/pear/.channels/.alias 2> /dev/null || true +@unexec rmdir %D/lib/php/pear/.channels 2> /dev/null || true +@unexec rmdir %D/lib/php/pear/.registry/.channel.__uri 2> /dev/null || true +@unexec rmdir %D/lib/php/pear/.registry/.channel.pecl.php.net 2> /dev/null || true @unexec rmdir %D/lib/php/pear/.registry 2> /dev/null || true @unexec rmdir %D/lib/php/pear 2> /dev/null || true @unexec rmdir %D/lib/php 2> /dev/null || true -- cgit v1.2.3