summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php/php.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/php/php.inc')
-rw-r--r--meta-oe/recipes-devtools/php/php.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 5345f2a0e..d5e53c0e5 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -9,7 +9,11 @@ DEPENDS_virtclass-native = "zlib-native libxml2-native"
9 9
10INC_PR = "r5" 10INC_PR = "r5"
11 11
12SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" 12# The new PHP downloads server groups PHP releases by major version so find
13# the major version of the PHP recipe.
14PHP_MAJVER = "${@d.getVar('PV',1).split('.')[0]}"
15
16SRC_URI = "http://museum.php.net/php${PHP_MAJVER}/php-${PV}.tar.bz2"
13 17
14S = "${WORKDIR}/php-${PV}" 18S = "${WORKDIR}/php-${PV}"
15 19