components/desktop/firefox/patches/firefox-25-rules_mk.patch
changeset 5527 611b2d6efdfe
parent 5255 cea0e462549a
child 7309 2655ef11c386
equal deleted inserted replaced
5526:570ac9aab8b2 5527:611b2d6efdfe
       
     1 The ninstall... function is not callable for some reason, so we need to copy
       
     2 the definition when using install_cmd.
       
     3 
       
     4 diff --git a/config/rules.mk b/config/rules.mk
       
     5 --- a/config/rules.mk
       
     6 +++ b/config/rules.mk
       
     7 @@ -1402,7 +1402,7 @@
       
     8  nsinstall_is_usable = $(if $(wildcard $(DEPTH)/config/nsinstall$(HOST_BIN_SUFFIX)),yes)
       
     9      
       
    10  define install_cmd_override
       
    11 -$(1): install_cmd = $$(if $$(nsinstall_is_usable),$$(INSTALL),$$(NSINSTALL_PY) -t) $$(1)
       
    12 +$(1): install_cmd = $$(if $(wildcard $(DIST)/bin/nsinstall$(HOST_BIN_SUFFIX)),$$(INSTALL),$$(NSINSTALL_PY) -t) $$(1)
       
    13  endef
       
    14  endif
       
    15  endif