OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../ktcpvs/make_install.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. --- ./Makefile.orig 2004-12-17 14:37:39.000000000 -0300
  18. +++ ./Makefile 2005-04-07 23:06:46.043750480 -0400
  19. @@ -36,6 +37,7 @@
  20. endif
  21. CC = gcc
  22. +DEPMOD = /sbin/depmod
  23. CFLAGS = -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS \
  24. $(SMPFLAGS) $(DEBUGFLAGS) -O2 -Wall \
  25. -Wstrict-prototypes -I$(KERNELSOURCE)/include \
  26. @@ -97,7 +99,7 @@
  27. modules_install: $(TARGETS)
  28. if [ ! -d "$(MODLIB)" ]; then mkdir -p "$(MODLIB)"; fi
  29. install -m 600 -c $(TARGETS) "$(MODLIB)"
  30. - if [ `/usr/bin/id -u` = '0' ]; then depmod -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi
  31. + if [ `/usr/bin/id -u` = '0' ]; then $(DEPMOD) -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi
  32. modules_uninstall:
  33. (cd "$(MODLIB)"; rm -f $(TARGETS))