aboutsummaryrefslogtreecommitdiff
path: root/lang/spidermonkey78/files/patch-js_moz.configure
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-09-15 18:47:54 +0000
committerSteve Wills <swills@FreeBSD.org>2020-09-15 18:47:54 +0000
commitab81e8f6cb9057c58be098a0da7ea1b787d3d2f1 (patch)
treeadaf52053888d1d983e5d28d19d1f0a957eaca08 /lang/spidermonkey78/files/patch-js_moz.configure
parent1cad6bbdcd05e82ae30ba7206e47fc31a43b7803 (diff)
downloadports-ab81e8f6cb9057c58be098a0da7ea1b787d3d2f1.tar.gz
ports-ab81e8f6cb9057c58be098a0da7ea1b787d3d2f1.zip
lang/spidermonkey78: add patch file missed in r548684
Notes
Notes: svn path=/head/; revision=548740
Diffstat (limited to 'lang/spidermonkey78/files/patch-js_moz.configure')
-rw-r--r--lang/spidermonkey78/files/patch-js_moz.configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/spidermonkey78/files/patch-js_moz.configure b/lang/spidermonkey78/files/patch-js_moz.configure
new file mode 100644
index 000000000000..82492b586380
--- /dev/null
+++ b/lang/spidermonkey78/files/patch-js_moz.configure
@@ -0,0 +1,11 @@
+--- js/moz.configure.orig 2020-08-17 18:33:37 UTC
++++ js/moz.configure
+@@ -696,7 +696,7 @@ def editline(js_shell, is_windows, compile_environment
+ js_option('--enable-readline', help='Link js shell to system readline library',
+ when=editline)
+
+-has_readline = check_symbol('readline', flags=['-lreadline'], when='--enable-readline',
++has_readline = check_symbol('readline', flags=['-lreadline', '-L%%LOCALBASE%%/lib'], when='--enable-readline',
+ onerror=lambda: die('No system readline library found'))
+
+ set_config('EDITLINE_LIBS', ['-lreadline'], when=has_readline)