patch-proc_module_mk 969 B

123456789101112131415161718192021222324252627282930313233
  1. $Id$
  2. Build everything static
  3. --- procps-3.2.7.orig/proc/module.mk Thu Sep 23 13:10:20 2004
  4. +++ procps-3.2.7/proc/module.mk Tue May 22 14:32:45 2007
  5. @@ -17,7 +17,7 @@
  6. # numbers for future use, the ELF soname can be set equal to the
  7. # file name until some future date when a stable ABI is declared.
  8. -SHARED := 1
  9. +SHARED := 0
  10. # for lib$(NAME).so and /usr/include/($NAME) and such
  11. NAME := proc
  12. @@ -96,7 +96,8 @@ endif
  13. #################### install rules ###########################
  14. $(lib)$(SOFILE) : proc/$(SONAME)
  15. - $(install) --mode a=rx $< $@
  16. + mkdir -p $(dir $@)
  17. + install -c -m 555 $< $@
  18. ifneq ($(SOLINK),$(SOFILE))
  19. .PHONY: $(lib)$(SOLINK)
  20. @@ -115,7 +116,8 @@ ldconfig : $(lib)$(SONAME) $(lib)$(SOLIN
  21. $(ldconfig)
  22. $(usr/lib)$(ANAME) : proc/$(ANAME)
  23. - $(install) --mode a=r $< $@
  24. + mkdir -p $(dir $@)
  25. + install -c -m 444 $< $@
  26. # Junk anyway... supposed to go in /usr/include/$(NAME)
  27. #INSTALL += $(addprefix $(include),$(HDRFILES))