Ticket #60603: patch-endef.diff

File patch-endef.diff, 1.9 KB (added by ballapete (Peter "Pete" Dyballa), 4 years ago)

Patch file to convert endef into endif

  • nss/coreconf/rules.mk

    old new  
    158158else
    159159        $$(MKPROG) -o $$@ $$(CFLAGS) $$($(1)_OBJS) $$(LDFLAGS) $$(EXTRA_LIBS) $$(EXTRA_SHARED_LIBS) $$(OS_LIBS)
    160160endif
    161 endef # PROGRAM_template
     161endif # PROGRAM_template
    162162
    163163ifdef PROGRAM
    164164$(eval $(call PROGRAM_template,$(PROGRAM)))
     
    344344endif
    345345endif
    346346endif #STRICT_CPLUSPLUS_SUFFIX
    347 endef # compile_ccc_pattern_RULE
     347endif # compile_ccc_pattern_RULE
    348348
    349349$(eval $(call compile_ccc_pattern_RULE,cc))
    350350$(eval $(call compile_ccc_pattern_RULE,cpp))
     
    381381else
    382382$(1):
    383383endif
    384 endef # copy_varlist_into_dir_RULE
     384endif # copy_varlist_into_dir_RULE
    385385
    386386# export rule
    387387$(eval $(call copy_varlist_into_dir_RULE,export,EXPORTS,$(SOURCE_XPHEADERS_DIR)))
  • nss/coreconf/ruleset.mk

    old new  
    146146ifndef MAKE_OBJDIR
    147147define MAKE_OBJDIR
    148148if test ! -d $(@D); then $(NSINSTALL) -D $(@D); fi
    149 endef
     149endif
    150150endif
    151151
    152152ALL_TRASH =     $(TARGETS) $(OBJS) $(OBJDIR) LOGS TAGS $(GARBAGE) \
  • nss/coreconf/UNIX.mk

    old new  
    5555
    5656define MAKE_OBJDIR
    5757if test ! -d $(@D); then $(NSINSTALL) -D $(@D); fi
    58 endef
     58endif
    5959
    6060include $(CORE_DEPTH)/coreconf/Werror.mk
  • nss/coreconf/OS2.mk

    old new  
    126126
    127127define MAKE_OBJDIR
    128128if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
    129 endef
     129endif
    130130
    131131#
    132132# override the definition of DLL_PREFIX in prefix.mk
  • nss/coreconf/WIN32.mk

    old new  
    9797
    9898define MAKE_OBJDIR
    9999if test ! -d $(@D); then mkdir -p $(@D); fi
    100 endef
     100endif
    101101
    102102ifdef NS_USE_GCC
    103103    OS_CFLAGS += -mwindows