php: use alternative download URL so we can use DOWNLOAD macro
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 20 Feb 2009 21:55:32 +0000 (21:55 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 20 Feb 2009 21:55:32 +0000 (21:55 -0000)
As noted by Solar on IRC.

package/php/php.mk

index 836fc2a4d9e27fe5fcb3f966fa4e249b26a9e23e..7ccc5985e7537099dd6bb3be9c8c4c2171bcfc94 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 PHP_VER:=5.2.8
 PHP_SOURCE:=php-$(PHP_VER).tar.bz2
-PHP_SITE:=http://us.php.net/get/${PHP_SOURCE}/from/us2.php.net/mirror
+PHP_SITE:=http://www.php.net/distributions
 PHP_DIR:=$(BUILD_DIR)/php-$(PHP_VER)
 PHP_CAT=$(BZCAT)
 PHP_DEPS=
@@ -126,7 +126,7 @@ endif
 endif
 
 $(DL_DIR)/$(PHP_SOURCE):
-       $(WGET) -P $(DL_DIR) $(PHP_SITE)
+       $(call DOWNLOAD,$(PHP_SITE),$(PHP_SOURCE))
 
 php-source: $(DL_DIR)/$(PHP_SOURCE)