aboutsummaryrefslogtreecommitdiff
path: root/lang/ruby19
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-02-01 23:19:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-02-01 23:19:51 +0000
commit167f82f839d2eeed502c832e4a2308886c23d514 (patch)
tree99f59761056f1c7f2c9dd59918617fc3afe7a8e0 /lang/ruby19
parentad2647235ee6694a8ad416e229a3b8f8a1ef40e0 (diff)
downloadports-167f82f839d2eeed502c832e4a2308886c23d514.tar.gz
ports-167f82f839d2eeed502c832e4a2308886c23d514.zip
Notes
Diffstat (limited to 'lang/ruby19')
-rw-r--r--lang/ruby19/Makefile2
-rw-r--r--lang/ruby19/files/patch-ext_readline_extconf.rb11
2 files changed, 12 insertions, 1 deletions
diff --git a/lang/ruby19/Makefile b/lang/ruby19/Makefile
index 4a548e55a3db..863d89975986 100644
--- a/lang/ruby19/Makefile
+++ b/lang/ruby19/Makefile
@@ -52,7 +52,7 @@ MAKE_JOBS_UNSAFE= yes
NO_LATEST_LINK= yes
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES RDOC
-OPTIONS_DEFAULT= RDOC READLINE
+OPTIONS_DEFAULT= RDOC LIBEDIT
OPTIONS_SINGLE= EDIT
OPTIONS_SINGLE_EDIT= LIBEDIT READLINE
OPTIONS_SUB= yes
diff --git a/lang/ruby19/files/patch-ext_readline_extconf.rb b/lang/ruby19/files/patch-ext_readline_extconf.rb
new file mode 100644
index 000000000000..7b0443d0d50d
--- /dev/null
+++ b/lang/ruby19/files/patch-ext_readline_extconf.rb
@@ -0,0 +1,11 @@
+--- ext/readline/extconf.rb.orig 2012-09-09 06:44:20 UTC
++++ ext/readline/extconf.rb
+@@ -62,7 +62,7 @@ else
+ end
+
+ have_readline_func("rl_getc")
+-have_readline_func("rl_getc_function")
++#have_readline_func("rl_getc_function")
+ have_readline_func("rl_filename_completion_function")
+ have_readline_func("rl_username_completion_function")
+ have_readline_func("rl_completion_matches")