Index: Makefile =================================================================== --- Makefile (revision 511833) +++ Makefile (working copy) @@ -3,7 +3,7 @@ PORTNAME= spidermonkey185 PORTVERSION= 1.8.5 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= lang MASTER_SITES= MOZILLA/js DISTNAME= js185-1.0.0 Index: files/patch-configure.in =================================================================== --- files/patch-configure.in (revision 511833) +++ files/patch-configure.in (working copy) @@ -1,6 +1,6 @@ ---- ./configure.in.orig 2011-04-01 06:08:36.000000000 +1100 -+++ ./configure.in 2013-05-26 00:19:28.032315432 +1000 -@@ -3378,7 +3378,8 @@ +--- configure.in.orig 2019-09-11 18:51:59 UTC ++++ configure.in +@@ -3378,7 +3378,8 @@ EOF rm -f conftest.{c,S} ]) if test "$ac_cv_have_visibility_builtin_bug" = "no" -a \ @@ -34,3 +34,23 @@ arm*) if test "$GNU_CC"; then CFLAGS="$CFLAGS -march=armv5te -mthumb-interwork -msoft-float" +@@ -5613,6 +5624,19 @@ case "$target" in + ;; + esac + ++for gjs_libtermcap in "" ncursesw ncurses curses termcap; do ++ if test -z "$gjs_libtermcap"; then ++ READLINE_LIBS="-lreadline" ++ else ++ READLINE_LIBS="-lreadline -l$gjs_libtermcap" ++ fi ++ LIBS="$READLINE_LIBS $LIBS_no_readline" ++ ++ if test $gjs_cv_lib_readline = yes; then ++ break ++ fi ++done ++ + if test -z "$SKIP_LIBRARY_CHECKS" -a -z "$NO_EDITLINE"; then + if test -n "$JS_WANT_READLINE"; then + AC_CHECK_LIB(readline, readline,