22 Commits

Author SHA1 Message Date
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
e9264c81e2 - Move *_DEPENDS together
- 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 package change
2015-09-07 17:46:06 +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
f61e451a34 lang/ruby20: update to 2.0.0 p643
While here, bring in an rdoc fix

Obtained from:	55fbd8947f
2015-03-07 17:53:51 +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
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +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
6cbff030cb lang/ruby20: Update to Ruby 2.0.0-p481 2014-07-26 23:24:45 +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
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
7a59446bf9 - Correct mistake I made in the configure.in patch. No PORTREVISION bump since
this should have no impact on generated binaries.
2014-02-18 15:37:31 +00:00
Steve Wills
a3094148c6 - Add patch to increase stack size to avoid crash on ppc64
- Bump PORTREVISION due to binary and package change

Submitted by:	jhibbits (via private email)
2014-01-25 22:10:56 +00:00
Steve Wills
03fdbd5ccf - Fix mkmf DESTDIR issue with patch from upstream
Obtained from:	http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/mkmf.rb?r1=41756&r2=41755&pathrev=41756
2014-01-02 20:46:29 +00:00
Steve Wills
9de02523dd - Add patch to bundled rdoc to fix issue which causes some ports to fail to
build

Obtained from:	f4f5b94285
2014-01-02 02:35:40 +00:00
Steve Wills
e1609e7d27 - Fix patch to uri module that I broke in r334630
- Bump PORTREVISION

PR:		ports/184315
Submitted by:	Andris Raugulis <andris@govs.lv>
2013-11-27 13:21:30 +00:00
Steve Wills
f38a81fc62 - Fix and report heap overflow in floating point parsing issue in ruby
Security:	cc9043cf-7f7a-426e-b2cc-8d1980618113
2013-11-23 03:10:04 +00:00
Steve Wills
9408d33b1b - Update Ruby 2.0.0 to p195
- Disable dtrace support on powerpc [1]

PR:		ports/177485 [1]
Reported by:	Justin Hibbits <jrh29@alumni.cwru.edu> [1]
2013-05-28 00:46:32 +00:00
Steve Wills
b665858e89 - Add Ruby 2.0 2013-02-24 15:37:23 +00:00