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
commita908e648512c61a2f9ee48add79c2f1b8875ed79 (patch)
tree312c2dd295d837ec953851b2c5123f591d4a4bb4 /dev-php5/php-gtk/files
parentAdd ~ia64 (diff)
downloadgentoo-2-a908e648512c61a2f9ee48add79c2f1b8875ed79.tar.gz
gentoo-2-a908e648512c61a2f9ee48add79c2f1b8875ed79.tar.bz2
gentoo-2-a908e648512c61a2f9ee48add79c2f1b8875ed79.zip
import from the php overlay
(Portage version: 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)
+