diff options
Diffstat (limited to 'meta-oe/recipes-devtools/php/php.inc')
-rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 6 |
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 | ||
10 | INC_PR = "r5" | 10 | INC_PR = "r5" |
11 | 11 | ||
12 | SRC_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. | ||
14 | PHP_MAJVER = "${@d.getVar('PV',1).split('.')[0]}" | ||
15 | |||
16 | SRC_URI = "http://museum.php.net/php${PHP_MAJVER}/php-${PV}.tar.bz2" | ||
13 | 17 | ||
14 | S = "${WORKDIR}/php-${PV}" | 18 | S = "${WORKDIR}/php-${PV}" |
15 | 19 | ||