summaryrefslogtreecommitdiffstats
path: root/patches/ncurses-5.9/0001-remove-tools-build-dependency.patch
blob: 9ab3f2b73c4b41adaa27c84af5caeaea2629a8e3 (plain)
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
From 5ffddc3492d8fac3bbe605f48fed90316d8fd4fb Mon Sep 17 00:00:00 2001
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Thu, 17 Mar 2011 13:34:53 +0100
Subject: [PATCH 1/3] remove tools build dependency

make_keys is built as host tool and copied to the real package.
This patch makes sure that it is not rebuilt again.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 ncurses/Makefile.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ncurses/Makefile.in b/ncurses/Makefile.in
index 45a26b9..24b0fd4 100644
--- a/ncurses/Makefile.in
+++ b/ncurses/Makefile.in
@@ -210,7 +210,7 @@ $(DESTDIR)$(libdir) :
 ./lib_gen.c : $(base)/MKlib_gen.sh ../include/curses.h
 	sh -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
 
-init_keytry.h: make_keys$(BUILD_EXEEXT) keys.list
+init_keytry.h: keys.list
 	./make_keys$(BUILD_EXEEXT) keys.list > $@
 
 keys.list :	$(tinfo)/MKkeys_list.sh
@@ -230,7 +230,6 @@ make_hash$(BUILD_EXEEXT) : \
 	sh -e $(serial)/MKexpanded.sh "$(CPP)" $(CPPFLAGS) > $@
 
 ./comp_captab.c: \
-		make_hash$(BUILD_EXEEXT) \
 		../include/hashsize.h \
 		$(tinfo)/MKcaptab.sh \
 		$(tinfo)/MKcaptab.awk
-- 
1.7.5.3