* updated krdc (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / ktcpvs / make_install.patch
blobc7249d4264c137c1993315a468d687897b97384e
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 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
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 ---
18 --- ./Makefile.orig 2004-12-17 14:37:39.000000000 -0300
19 +++ ./Makefile 2005-04-07 23:06:46.043750480 -0400
20 @@ -36,6 +37,7 @@
21 endif
23 CC = gcc
24 +DEPMOD = /sbin/depmod
25 CFLAGS = -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS \
26 $(SMPFLAGS) $(DEBUGFLAGS) -O2 -Wall \
27 -Wstrict-prototypes -I$(KERNELSOURCE)/include \
28 @@ -97,7 +99,7 @@
29 modules_install: $(TARGETS)
30 if [ ! -d "$(MODLIB)" ]; then mkdir -p "$(MODLIB)"; fi
31 install -m 600 -c $(TARGETS) "$(MODLIB)"
32 - if [ `/usr/bin/id -u` = '0' ]; then depmod -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi
33 + if [ `/usr/bin/id -u` = '0' ]; then $(DEPMOD) -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi
35 modules_uninstall:
36 (cd "$(MODLIB)"; rm -f $(TARGETS))