# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/ktcpvs/hotfix-make_install.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- ./Makefile.orig 2004-12-17 14:37:39.000000000 -0300 +++ ./Makefile 2005-04-07 23:06:46.043750480 -0400 @@ -36,6 +37,7 @@ endif CC = gcc +DEPMOD = /sbin/depmod CFLAGS = -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS \ $(SMPFLAGS) $(DEBUGFLAGS) -O2 -Wall \ -Wstrict-prototypes -I$(KERNELSOURCE)/include \ @@ -97,7 +99,7 @@ modules_install: $(TARGETS) if [ ! -d "$(MODLIB)" ]; then mkdir -p "$(MODLIB)"; fi install -m 600 -c $(TARGETS) "$(MODLIB)" - if [ `/usr/bin/id -u` = '0' ]; then depmod -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi + if [ `/usr/bin/id -u` = '0' ]; then $(DEPMOD) -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi modules_uninstall: (cd "$(MODLIB)"; rm -f $(TARGETS))