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

13 lines
522 B
Diff
Raw Normal View History

2015-04-16 18:42:17 +01:00
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 \