Package: magic / 8.1.218+ds.1-1~bpo9+1

05-readline-reference-removal.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
From: Roland Stigge <stigge@antcom.de>
Date: Thu, 26 Jul 2018 18:14:03 +0000
Subject: Readline removal

This patch removes remaining references to readline
---
 commands/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/commands/Makefile b/commands/Makefile
index 94e987c..e934dae 100644
--- a/commands/Makefile
+++ b/commands/Makefile
@@ -10,12 +10,7 @@ SRCS      = CmdSubrs.c CmdAB.c CmdCD.c CmdE.c CmdFI.c \
 # Force the module to regenerate the symbolic link in the readline
 # directory, as it may be needed by CmdFI.c (in the non-Tcl compile)
 
-module: ${MAGICDIR}/readline/readline lib${MODULE}.o
-
-${MAGICDIR}/readline/readline:
-	@if ( ! test -f ${MAGICDIR}/readline/readline ) ; then \
-	(cd ${MAGICDIR}/readline; ln -s `ls | grep readline` readline) ; \
-	fi
+module: lib${MODULE}.o
 
 include ${MAGICDIR}/defs.mak
 include ${MAGICDIR}/rules.mak