summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/mpfr/mpfr.mk3
-rw-r--r--package/setserial/setserial.mk2
2 files changed, 3 insertions, 2 deletions
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index 631be64a0..48b080dd7 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -21,7 +21,8 @@ ifneq ($(MPFR_PATCH),)
MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE)
$(MPFR_PATCH_SOURCE):
- $(WGET) -O $@ $(MPFR_SITE),$(MPFR_PATCH)
+ $(call DOWNLOAD,$(MPFR_SITE),$(MPFR_PATCH))
+ mv $(DL_DIR)/$(MPFR_PATCH) $@
endif
$(DL_DIR)/$(MPFR_SOURCE):
diff --git a/package/setserial/setserial.mk b/package/setserial/setserial.mk
index 394ae4637..73ef6015e 100644
--- a/package/setserial/setserial.mk
+++ b/package/setserial/setserial.mk
@@ -18,7 +18,7 @@ $(DL_DIR)/$(SETSERIAL_SOURCE):
ifneq ($(SETSERIAL_PATCH_FILE),)
SETSERIAL_PATCH:=$(DL_DIR)/$(SETSERIAL_PATCH_FILE)
$(SETSERIAL_PATCH):
- $(WGET) -O $@ $(SETSERIAL_SITE),$(SETSERIAL_PATCH_FILE)
+ $(call DOWNLOAD,$(SETSERIAL_SITE),$(SETSERIAL_PATCH_FILE))
else
SETSERIAL_PATCH:=
endif