summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2011-08-03 19:59:22 +0200
committerJuergen Beisert <jbe@pengutronix.de>2011-08-03 19:59:22 +0200
commitedba92df16e298582a10e54998f395c6eabb0e55 (patch)
treef20c187abf689751811b8db9e0381021c46e6c43
parent70f884f32ce0b65216b8bb277bcde45da1e693cc (diff)
downloadptxdist-edba92df16e298582a10e54998f395c6eabb0e55.tar.gz
ptxdist-edba92df16e298582a10e54998f395c6eabb0e55.tar.xz
PHP5: Re-order the download URLs to avoid archives that are HTML files
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
-rw-r--r--rules/php5.make7
1 files changed, 5 insertions, 2 deletions
diff --git a/rules/php5.make b/rules/php5.make
index 63d0f34ca..31b8672cc 100644
--- a/rules/php5.make
+++ b/rules/php5.make
@@ -24,9 +24,12 @@ PHP5_SUFFIX := tar.bz2
PHP5_SOURCE := $(SRCDIR)/$(PHP5).$(PHP5_SUFFIX)
PHP5_DIR := $(BUILDDIR)/$(PHP5)
+# Note: older releases are moved to the 'museum', but the 'de.php.net'
+# response with a HTML file instead of the archive. So, try the 'museum'
+# URL first
PHP5_URL := \
- http://de.php.net/distributions/$(PHP5).$(PHP5_SUFFIX) \
- http://museum.php.net/php5/$(PHP5).$(PHP5_SUFFIX)
+ http://museum.php.net/php5/$(PHP5).$(PHP5_SUFFIX) \
+ http://de.php.net/distributions/$(PHP5).$(PHP5_SUFFIX)
# ----------------------------------------------------------------------------
# Get