Package: mummer / 3.23+dfsg-7

remove-csh-dependency.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
Description: remove checks for csh
 While the package can safely be built without csh, there are still a few
 checks that are causing various error messages at build time.  This patch
 removes them.
Author: Étienne Mollier <etienne.mollier@mailoo.org>
Forwarded: no
Last-Update: 2020-07-23
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- mummer.orig/Makefile
+++ mummer/Makefile
@@ -38,7 +38,6 @@
 CC   := $(filter /%,$(shell /bin/sh -c 'type gcc'))
 CXX  := $(filter /%,$(shell /bin/sh -c 'type g++'))
 SED  := $(filter /%,$(shell /bin/sh -c 'type sed'))
-CSH  := $(filter /%,$(shell /bin/sh -c 'type csh'))
 PERL := $(filter /%,$(shell /bin/sh -c 'type perl'))
 AR   := $(filter /%,$(shell /bin/sh -c 'type ar'))
 
@@ -76,9 +75,6 @@
 ifndef SED
 	@echo "ERROR: 'sed' StreamEDitor not found"
 endif
-ifndef CSH
-	@echo "ERROR: 'csh' C-shell not found"
-endif
 ifndef PERL
 	@echo "ERROR: 'perl' PERL not found"
 endif
--- mummer.orig/scripts/Makefile
+++ mummer/scripts/Makefile
@@ -18,7 +18,6 @@
 endif
 
 SED := $(filter /%,$(shell /bin/sh -c 'type sed'))
-CSH := $(filter /%,$(shell /bin/sh -c 'type csh'))
 PERL := $(filter /%,$(shell /bin/sh -c 'type perl'))
 VPATH := $(BIN_DIR)