Package: dact / 0.8.42-4

20-Makefile.in.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From aff8e0c00b1d41f5b80f2fe244ce90da9b15a8e8 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Mon, 24 May 2010 18:40:45 +0300
Subject: [PATCH] Makefile.in: (install): adjust slightly
 Commented module_dir param to disable modules by Tommaso Moroni <moronito@debian.org>
 Disable Magic file install. This is job for file(1).
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 Makefile.in |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 4e4b401..8f31da6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -61,7 +61,7 @@ dact.conf: Makefile
 	@echo "color_ui         off" >> dact.conf
 	@echo "network_access   on" >> dact.conf
 	@echo "binary_check     off" >> dact.conf
-	@echo "module_dir       $(datadir)/dact" >> dact.conf
+#	@echo "module_dir       $(datadir)/dact" >> dact.conf
 	@echo "module_load_all  off" >> dact.conf
 @MODS@	@for so in $(MODS:.so=); do echo "load_module	$$so" >> dact.conf; done
 
@@ -104,11 +104,11 @@ install: all install-bin
 	$(INSTALL) -m 644 dact.conf $(CONF)
 	$(INSTALL) -m 644 Docs/dact.1 $(mandir)/man1/dact.1
 	-$(INSTALL) -m 755 libdact.$(SHOBJEXT) $(libdir)/libdact.$(SHOBJEXT)
-	-$(INSTALL) -m 644 libdact.$(SHOBJEXT).def $(libdir)/libdact.$(SHOBJEXT).def
-	-$(INSTALL) -m 644 libdact.$(SHOBJEXT).a $(libdir)/libdact.$(SHOBJEXT).a
+	-$(INSTALL) -m 644 libdact.$(SHOBJEXT).def $(libdir)/libdact.$(SHOBJEXT).def || :
+	-$(INSTALL) -m 644 libdact.$(SHOBJEXT).a $(libdir)/libdact.$(SHOBJEXT).a || :
 	-$(INSTALL) -m 644 libdact.a $(libdir)/libdact.a
 @MODS@	for so in $(MODS); do $(INSTALL) -m 755 $$so $(datadir)/dact/$$so; done
-	./patch-magic-file $(datadir)/magic
+#	./patch-magic-file $(datadir)/dact/magic
 
 install-bin-local: dact$(EXEEXT)
 	-$(INSTALL) -d $(HOME)/.dact/`uname -s | tr A-Z a-z`-`uname -m`
-- 
1.7.0