summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-03-07 19:58:44 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-03-07 19:58:44 +0000
commit37c50e8a3a758f54593e333d804e0337fdbdbf49 (patch)
tree1c768a0b47e81fdaff628d4b842c0b4000303602 /dev-php5/php-gtk/files
parentAdd ~ia64 (diff)
downloadhistorical-37c50e8a3a758f54593e333d804e0337fdbdbf49.tar.gz
historical-37c50e8a3a758f54593e333d804e0337fdbdbf49.tar.bz2
historical-37c50e8a3a758f54593e333d804e0337fdbdbf49.zip
import from the php overlay
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-php5/php-gtk/files')
-rw-r--r--dev-php5/php-gtk/files/php-gtk-2.0.0-no-cli-check.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-php5/php-gtk/files/php-gtk-2.0.0-no-cli-check.patch b/dev-php5/php-gtk/files/php-gtk-2.0.0-no-cli-check.patch
new file mode 100644
index 000000000000..8b8d3aecee37
--- /dev/null
+++ b/dev-php5/php-gtk/files/php-gtk-2.0.0-no-cli-check.patch
@@ -0,0 +1,14 @@
+--- config.m4.orig 2008-02-13 06:05:27.000000000 +0100
++++ config.m4 2008-03-03 23:38:00.000000000 +0100
+@@ -27,11 +27,6 @@
+ AC_MSG_ERROR(Could not locate PHP executable)
+ fi
+
+- PHP_SAPI=`$PHP --version | head -1 | sed -n 's/.*(\(...\)).*/\1/p'`
+- if test "$PHP_SAPI" != "cli" ; then
+- AC_MSG_ERROR(PHP CLI version is required[,] $PHP_SAPI found)
+- fi
+-
+ AC_PROG_AWK
+ PHP_SUBST(AWK)
+