diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/perl/perl.mk | 2 | ||||
-rw-r--r-- | package/pkg-generic.mk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/perl/perl.mk b/package/perl/perl.mk index 66f7daac9..42512f8d0 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -25,7 +25,7 @@ PERL_CROSS_NEW_POD = perl$(subst .,,$(PERL_VERSION))delta.pod # together with perl define PERL_CROSS_DOWNLOAD - $(call DOWNLOAD,$(PERL_CROSS_SITE)/$(PERL_CROSS_SOURCE)) + $(call DOWNLOAD,$(PERL_CROSS_SITE:/=)/$(PERL_CROSS_SOURCE)) endef PERL_POST_DOWNLOAD_HOOKS += PERL_CROSS_DOWNLOAD diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 901bcf7ba..e6bc95599 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -39,8 +39,8 @@ ifeq ($(DL_MODE),DOWNLOAD) done ; \ fi endif - $(if $($(PKG)_SOURCE),$(call DOWNLOAD,$($(PKG)_SITE)/$($(PKG)_SOURCE))) - $(foreach p,$($(PKG)_PATCH),$(call DOWNLOAD,$($(PKG)_SITE)/$(p))$(sep)) + $(if $($(PKG)_SOURCE),$(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE))) + $(foreach p,$($(PKG)_PATCH),$(call DOWNLOAD,$($(PKG)_SITE:/=)/$(p))$(sep)) $(foreach hook,$($(PKG)_POST_DOWNLOAD_HOOKS),$(call $(hook))$(sep)) ifeq ($(DL_MODE),DOWNLOAD) $(Q)mkdir -p $(@D) |