nixpkgs/pkgs/servers/asterisk/disable-download.patch
2015-04-16 17:40:28 -06:00

13 lines
522 B
Diff

diff -ruN asterisk-13.2.0/sounds/Makefile asterisk-13.2.0-patched/sounds/Makefile
--- asterisk-13.2.0/sounds/Makefile 2014-09-09 14:01:11.000000000 -0600
+++ asterisk-13.2.0-patched/sounds/Makefile 2015-03-31 16:12:00.549133670 -0600
@@ -89,7 +89,7 @@
) && 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 \