17 Commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
46b072cd1b - Update to 2.1.8
- Add LICENSE_FILE
- Use USES=autoreconf instead of USE_AUTOTOOLS=autoconf
- Use USES=libedit
- Silence patch and build messages

Changes:	https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-1-8-released/
		http://svn.ruby-lang.org/repos/ruby/tags/v2_1_8/ChangeLog
Security:	3b50881d-1860-4721-aab1-503290e23f6c
Differential Revision:	https://reviews.freebsd.org/D4668
PR:		205487
Exp-run by:	antoine
MFH:		2015Q4
2015-12-23 19:10:47 +00:00
Michael Moll
9e4f8bdd8b lang/ruby2*: fix readline & libedit configure options
The fixed error(s) were only visible with LOCALBASE not set to /usr/local.

PR:		203988
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
2015-10-25 00:21:23 +00:00
Michael Moll
c6e3397f1f fix Ruby 2.0 and 2.1 header for clang 3.7
2.2 already had this change in upstream

PR:		202660
Submitted by:	dim (different version)
Obtained from:	Ruby SVN repository (r47996)
2015-09-20 21:30:40 +00:00
Sunpoet Po-Chuan Hsieh
2165b3644a - Move *_DEPENDS together
- Add GMP option: libgmp.so is linked if present
- Sort CONFIGURE_ARGS
- Remove duplicate WRKSRC
- Sort USES
- Use pre-install: instead of pre-su-install:
- Convert to new options helper
- Convert to new options target helper
- Change options helper: (copied from ruby22)
  - Use CAPIDOCS_CONFIGURE_ENABLE instead of CAPIDOCS_CONFIGURE_OFF
  - Use RDOC_CONFIGURE_ENABLE instead of RDOC_CONFIGURE_OFF
- Add regression-test:
- Fix typo
- Cosmetic change
- Pet portlint: fix diff header of patch files
- Bump PORTREVISION for dependency and package change
2015-09-07 17:46:52 +00:00
Bryan Drewery
e710b8dad9 - Fix runtime with OpenSSL after the removal of SSLv2 in head.
- Make the main LOCALBASE/bin files into symlinks to the actual version to
  make it simpler to tell which version is default.
2015-04-01 23:26:10 +00:00
Steve Wills
70eb32067e lang/ruby21: fix bug in bundled rdoc
Obtained from:	55fbd8947f
2015-03-30 15:30:30 +00:00
Baptiste Daroussin
167f82f839 Change the EDIT option of ruby to use libedit by default now that libedit
from ports is able to handle unicode. Make sure that ruby does not provides its
own function to read the input but let libedit do it itself.

This allows the binary package to by default not be "tainted" by the readline
license.

Differential Revision:	https://reviews.freebsd.org/D1547
Reviewed by:	swills
Approved by:	ruby (swills)
2015-02-01 23:19:51 +00:00
Steve Wills
c553ae6488 lang/ruby2*: fix dtrace support
DTrace support in ruby needs the -xnolibs flag added to the dtrace command
called during build to ensure that dtrace support is enabled even if the dtrace
kernel modules are not loaded at build time.

However, with this dtrace will be enabled on some OS versions where it will not
work, so add logic to disable it where appropriate.
2014-10-01 15:45:27 +00:00
Steve Wills
f1093059ba lang/ruby21: update to 2.1.3 2014-09-24 03:11:52 +00:00
Steve Wills
aafb928748 lang/ruby*: remove obsolete patches
Remove no longer needed patches for ftp.
While here, fix the test target for ruby21

PR:		192998
Submitted by:	Robert Grimm <rfgrimm@gmail.com>
2014-09-02 01:13:47 +00:00
Steve Wills
b8ce65474e lang/ruby*: fix docs handling
- Fix handling of RDOC option and make it ON by default
- Add DOCS option to OPTIONS_DEFINE
- Add EXAMPLES option
- Add CAPIDOCS option which installs C API documents generated by doxygen
- Other cleanups while here

PR:		189646
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (based on)
2014-08-30 21:09:09 +00:00
Steve Wills
604392ff79 lang/ruby21: Update to Ruby 2.1.2 2014-07-27 00:51:11 +00:00
Steve Wills
07e2d47f53 - Force use of libreadline from ports rather than base, in order to avoid
unexpectedly getting readline from ports if it's already installed.
- Add patch to work with newer libreadline
- Provide an option to use libedit from ports, avoiding the libedit in base.
- Note 1: The patch to work with newer libreadline is only applied in the
  libreadline case since it actually breaks building with libedit.
- Note 2: libreadline is not BSD licensed and while libedit would be
  preferable, it seems to have issues with UTF8 still, see ruby bug 9204. Once
  that's resolved, we can make libedit the default.

PR:		ports/187928 [1] (based on)
PR:		ports/188077 [2] (based on)
Submitted by:	Shin-ya Murakami <murashin@gfd-dennou.org> [1]
Submitted by:	Christoph Moench-Tegeder <cmt@burggraben.net> [2]
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/readline/readline.c?r1=43458&r2=45225 (ruby upstream)
MFH:		2014Q2
2014-05-30 18:34:29 +00:00
Steve Wills
eedf7913ee - Fix patch broken in r292221
PR:		ports/187472
Redported by:	Jeremy Chadwick <jdc@koitsu.org>
2014-03-23 15:31:43 +00:00
Steve Wills
cf48be67f0 - Update Ruby 2.1 to 2.1.1 2014-02-25 04:23:14 +00:00
Steve Wills
4d921409e2 - Add patch to fix build on 11-CURRENT after Clang 3.4 import. No need to
conditionalize this on OSVER because the patch is safe everywhere. No bump
  because package doesn't change.

Submitted by:	antoine (1.9, 2.0 and 2.1 based on)
2014-02-25 04:18:07 +00:00
Steve Wills
20c88bccc7 - Add Ruby 2.1 2014-02-18 15:35:42 +00:00