console-tools: Remove floating runtime dependency on flex

The 'loadkeys' program defines its own yywrap()/yylex() functions,
there is no need to link with flex shared library.

(From OE-Core rev: 69a7c9345360b61eda79f818775656fc1aa9932c)

Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jacob Kroon
2014-04-21 12:23:00 +02:00
committed by Richard Purdie
parent a111ca6c81
commit 5c98e90ce9
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
No reason to link with libfl since 'loadkeys' implements
its own yywrap()/yylex() functions.
Upstream-Status: Pending
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Index: console-tools-0.3.2/kbdtools/Makefile.am
===================================================================
--- console-tools-0.3.2.orig/kbdtools/Makefile.am
+++ console-tools-0.3.2/kbdtools/Makefile.am
@@ -19,8 +19,6 @@ LDADD = ../lib/ctlocal/libctlocal.a ../l
../lib/cfont/libcfont.la \
../lib/console/libconsole.la ../lib/generic/libctgeneric.la
-loadkeys_LDADD = $(LDADD) @LEXLIB@
-
bin_SCRIPTS = mk_modmap
noinst_HEADERS = loadkeys.h

View File

@@ -13,6 +13,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lct/console-tools-${PV}.tar.gz \
file://uclibc-fileno.patch \
file://nodocs.patch \
file://fix-libconsole-linking.patch \
file://no-dep-on-libfl.patch \
file://lcmessage.m4 \
file://Makevars"