diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-02-01 20:55:22 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-01 20:55:22 +0000 |
commit | a89bb38a6765a19ffc5d6ae4397d2af2cbe6f221 (patch) | |
tree | 2d7ce7f3eeeacbe1ae10459a7adacc5742858019 /main/dahdi-linux-vanilla/dahdi-depmod.patch | |
parent | 4815c17138e1cbc9593e8d630c6d1d71c14e69ae (diff) | |
download | aports-a89bb38a6765a19ffc5d6ae4397d2af2cbe6f221.tar.bz2 aports-a89bb38a6765a19ffc5d6ae4397d2af2cbe6f221.tar.xz |
main/dahdi-linux-vanilla: new aport (replacing dahdi-linux-hardened)
Diffstat (limited to 'main/dahdi-linux-vanilla/dahdi-depmod.patch')
-rw-r--r-- | main/dahdi-linux-vanilla/dahdi-depmod.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/dahdi-linux-vanilla/dahdi-depmod.patch b/main/dahdi-linux-vanilla/dahdi-depmod.patch new file mode 100644 index 0000000000..289aad403b --- /dev/null +++ b/main/dahdi-linux-vanilla/dahdi-depmod.patch @@ -0,0 +1,22 @@ +Index: dahdi-linux-2.0.0-rc4/Makefile +=================================================================== +--- dahdi-linux-2.0.0-rc4.orig/Makefile 2008-09-09 14:07:23.000000000 +0300 ++++ dahdi-linux-2.0.0-rc4/Makefile 2008-09-09 14:12:31.000000000 +0300 +@@ -190,7 +190,7 @@ + build_tools/uninstall-modules dahdi $(KVERS) + endif + $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install +- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : ++ [ -z "$(DESTDIR)" -a `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : + + uninstall-modules: + ifdef DESTDIR +@@ -203,7 +203,7 @@ + rm -rf /lib/modules/$(KVERS)/dahdi; \ + echo "done."; \ + fi +- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : ++ [ -z "$(DESTDIR)" -a `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : + endif + + update: |