nixpkgs/pkgs/servers/asterisk/disable-download.patch

13 lines
523 B
Diff
Raw Normal View History

diff -ruN asterisk-14.1.2/sounds/Makefile asterisk-14.1.2-patched/sounds/Makefile
--- asterisk-14.1.2/sounds/Makefile 2016-11-10 20:43:02.000000000 +0100
+++ asterisk-14.1.2-patched/sounds/Makefile 2016-11-16 10:08:46.591615147 +0100
@@ -90,7 +90,7 @@
2015-04-16 19:42:17 +02:00
) && touch "$(1)$(if $(3),/$(3),)/$$@"; \
fi
-asterisk-$(2)$(if $(3),-$(3),)-%.tar.gz: have_download
+asterisk-$(2)$(if $(3),-$(3),)-%.tar.gz:
ifneq ($(SOUNDS_CACHE_DIR),)
$(CMD_PREFIX) \
if test ! -f "$(1)$(if $(3),/$(3),)/.$$(subst .tar.gz,,$$@)"; then \