File js-1.8.0-ncurses.patch of Package libjs
diff -Naupr js.orig/src/Makefile.ref js/src/Makefile.ref --- js.orig/src/Makefile.ref 2009-10-11 09:49:33.115673389 +0200 +++ js/src/Makefile.ref 2009-10-11 09:51:30.809924997 +0200 @@ -123,7 +123,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.