summaryrefslogtreecommitdiffstats
path: root/rules/php5.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-08-10 19:30:13 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-08-10 19:31:24 +0200
commit16a24efc2cdd71c7d6b7917eeed3c5df5b8c7e0b (patch)
treeccca6e6d58bced2b44f198aa1c9d213f10958098 /rules/php5.make
parent9932fb4da96e95f80d36390c0d9fdc3f4b54de00 (diff)
downloadptxdist-16a24efc2cdd71c7d6b7917eeed3c5df5b8c7e0b.tar.gz
ptxdist-16a24efc2cdd71c7d6b7917eeed3c5df5b8c7e0b.tar.xz
[php5] version bump 5.2.9 -> 5.3.3
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules/php5.make')
-rw-r--r--rules/php5.make12
1 files changed, 8 insertions, 4 deletions
diff --git a/rules/php5.make b/rules/php5.make
index 0bab8229b..750054da9 100644
--- a/rules/php5.make
+++ b/rules/php5.make
@@ -17,18 +17,16 @@ PACKAGES-$(PTXCONF_PHP5) += php5
#
# Paths and names
#
-PHP5_VERSION := 5.2.9
+PHP5_VERSION := 5.3.3
PHP5 := php-$(PHP5_VERSION)
PHP5_SUFFIX := tar.bz2
PHP5_SOURCE := $(SRCDIR)/$(PHP5).$(PHP5_SUFFIX)
PHP5_DIR := $(BUILDDIR)/$(PHP5)
PHP5_URL := \
+ http://de.php.net/distributions/$(PHP5).$(PHP5_SUFFIX) \
http://museum.php.net/php5/$(PHP5).$(PHP5_SUFFIX)
-# This is the primary URL, but they remove old revisions from there :-(
-# http://de.php.net/distributions/$(PHP5).$(PHP5_SUFFIX)
-
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
@@ -52,11 +50,17 @@ PHP5_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--with-config-file-path=/etc/php5 \
--without-pdo-sqlite \
+ --disable-phar \
--without-iconv
+PHP5_MAKE_OPT := \
+ PHP_NATIVE_DIR=$(PTXCONF_SYSROOT_HOST)/bin \
+ PHP_EXECUTABLE=$(PTXCONF_SYSROOT_HOST)/bin/php
# FIXME: configure is broken beyond repair for glibc-libiconv
+# FIXME: phar doesn't cross compile
+
# FIXME: PHP Data Objects -> sqlite doesn't link correctly
# FIXME: php5 doesn't interprete "with_foo=no" correctly, so we cannot