updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / dahdi / Makefile.patch
blobdc48979f94bceb237d82f8d7f3a9ca17c1d04a07
1 diff -Nur dahdi-linux-2.2.1-rc2.orig/Makefile dahdi-linux-2.2.1-rc2/Makefile
2 --- dahdi-linux-2.2.1-rc2.orig/Makefile 2009-11-10 06:32:45.000000000 +1100
3 +++ dahdi-linux-2.2.1-rc2/Makefile 2010-01-05 21:55:05.518240715 +1100
4 @@ -128,7 +128,6 @@
5 for hdr in $(INST_HEADERS); do \
6 install -D -m 644 include/dahdi/$$hdr $(DESTDIR)/usr/include/dahdi/$$hdr; \
7 done
8 - @rm -rf $(DESTDIR)/usr/include/zaptel
10 uninstall-include:
11 for hdr in $(INST_HEADERS); do \
12 @@ -174,16 +173,9 @@
14 install-modules: modules
15 ifndef DESTDIR
16 - @if modinfo zaptel > /dev/null 2>&1; then \
17 - echo -n "Removing Zaptel modules for kernel $(KVERS), please wait..."; \
18 - build_tools/uninstall-modules zaptel $(KVERS); \
19 - rm -rf /lib/modules/$(KVERS)/zaptel; \
20 - echo "done."; \
21 - fi
22 build_tools/uninstall-modules dahdi $(KVERS)
23 endif
24 $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
25 - [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
27 uninstall-modules:
28 ifdef DESTDIR
29 @@ -196,7 +188,6 @@
30 rm -rf /lib/modules/$(KVERS)/dahdi; \
31 echo "done."; \
33 - [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
34 endif
36 update: