[oe-commits] Frans Meulenbroeks : js: fixed libtermcap

git version control git at git.openembedded.org
Thu Sep 9 19:13:48 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 141f355dcc7410efe3bf23b3dfa7c4ac20062d3d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=141f355dcc7410efe3bf23b3dfa7c4ac20062d3d

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Sat Sep  4 22:59:20 2010 +0000

js: fixed libtermcap

the new ncurses does not have libtermcap
this patches -ltermcap into -lncurses
also added ncurses to DEPENDS

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/js/files/libtermcap.patch |   13 +++++++++++++
 recipes/js/js_1.5.bb              |    5 +++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/recipes/js/files/libtermcap.patch b/recipes/js/files/libtermcap.patch
new file mode 100644
index 0000000..045b4fb
--- /dev/null
+++ b/recipes/js/files/libtermcap.patch
@@ -0,0 +1,13 @@
+Index: src/Makefile.ref
+===================================================================
+--- src.orig/Makefile.ref
++++ src/Makefile.ref
+@@ -127,7 +127,7 @@ endif
+ ifdef JS_READLINE
+ # For those platforms with the readline library installed.
+ DEFINES += -DEDITLINE
+-PROG_LIBS += -lreadline -ltermcap
++PROG_LIBS += -lreadline -lncurses
+ else
+ ifdef JS_EDITLINE
+ # Use the editline library, built locally.
diff --git a/recipes/js/js_1.5.bb b/recipes/js/js_1.5.bb
index eb92b24..f9aba90 100644
--- a/recipes/js/js_1.5.bb
+++ b/recipes/js/js_1.5.bb
@@ -1,11 +1,12 @@
 DESCRIPTION = "A JavaScript engine"
 LICENSE = "GPL"
 SECTION = "libs/network"
-DEPENDS = "readline"
+DEPENDS = "readline ncurses" 
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/older-packages/js-1.5.tar.gz \
+	   file://libtermcap.patch \
            file://jsautocfg.h"
 S = "${WORKDIR}/js/src"
 





More information about the Openembedded-commits mailing list