Commit 21e3fa22 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

php: use alternative download URL so we can use DOWNLOAD macro

As noted by Solar on IRC.
parent 01ea6291
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)