Commit graph

409 commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
97a290bd3f Update to 2.5.3
- Move USES upward
- Remove no-op MLINKS and create symlinks for manpages
- Sort INSTALLED_SCRIPTS
- Regenerate patch files with makepatch:

Changes:	https://www.ruby-lang.org/en/news/2018/10/18/ruby-2-5-3-released/
		https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/
PR:		232431
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	afc60484-0652-440e-b01a-5ef814747f06
MFH:		2018Q4
2018-10-20 14:57:33 +00:00
Romain Tartière
54c14279dc Address more linker issues
This resolves a ninja-related issues, corrects passing private args to linker
while building libruby itself (without external LDFLAGS), exports the full
symbols table, and pet 'pkg check -d'. Issues with weechat, vim, facter,
rubygem-hpricot and rubygem-rdiscount should be fixed.  See [1] for long story
of hunting and fixing these issues.

Bump PORTREVISIONS accordingly.

PR:		230238 [1], 231361
Submitted by:	fuffy
Approved by:	fuffy
2018-09-25 13:11:14 +00:00
Romain Tartière
8826fd8b3f Revert the "DLD_FLAGS" pollution part of r475483.
It was initially got from ruby23, but recent ruby releases have some
differences in runtime linking, which was not hit by exp-run, and caused
trouble with some ports (e.g. devel/leatherman, sysutils/facter).

PR:		230238
Submitted by:	fluffy
Reported by:	freebsd@ptty.com
Approved by:	fluffy
2018-09-20 09:12:06 +00:00
Steve Wills
ec80bf2d01 Bump PORTREVISION of lang/ruby25
Due to runtime fix in r477249
2018-08-16 00:30:53 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Dima Panov
d3d495da3a lang/ruby2[4|5]: Use internal RUBY_DLDFLAGS right way, get rid of unescaped macro '$@' in the pkg-config template
lang/ruby23 is already fixed same way, port it to newer releases

By the way, this unbreak ninja builds with any port relied on libruby.so

PR:		229898
Submitted by:	fluffy
Reviewed by:	ruby (miwi)
Approved by:	ruby (miwi)
Exp-run by:	antoine
MFH:		2018Q3
Differential Revision:	D16341
2018-07-28 02:53:05 +00:00
Sunpoet Po-Chuan Hsieh
7580f88f56 Update to 2.4.4
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
PR:		227091
Exp-run by:	antoine
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-04-03 09:46:20 +00:00
Sunpoet Po-Chuan Hsieh
72e5ec510e Update to 2.5.1
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-03-29 20:01:41 +00:00
Sunpoet Po-Chuan Hsieh
8b1d25b2a7 Update to 2.3.7
Changes:	https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Security:	eb69bcf2-18ef-4aa2-bb0c-83b263364089
2018-03-29 19:59:47 +00:00
Steve Wills
aa5e3913d2 lang/ruby25: apply upstream patch to fix segfault
PR:		225470
Submitted by:	Charlie Li <ml+freebsd@vishwin.info>
Obtained from:	https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61523
Differential Revision:	https://reviews.freebsd.org/D14073
2018-02-16 03:11:46 +00:00
Sunpoet Po-Chuan Hsieh
783d9dc1c5 Remove lang/ruby22 2018-01-31 16:41:57 +00:00
Sunpoet Po-Chuan Hsieh
5d8d3b7c8d Add ruby25 2.5.0 (copied from ruby24) 2017-12-27 19:51:11 +00:00
Steve Wills
71ea9482d3 Update lang/ruby2[2,3,4] to latest versions.
Fixes a security issue.

PR:		224356
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
MFH:		2017Q4
Security:	dd644964-e10e-11e7-8097-0800271d4b9c
2017-12-19 02:17:58 +00:00
Steve Wills
ff1498f6af lang/ruby2?: make rubygem-* ports reproducible
PR:		223781
exp-run by:	antoine
2017-11-22 13:27:37 +00:00
Sunpoet Po-Chuan Hsieh
3865588db3 Update to 2.3.5
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/
PR:		222457
Exp-run by:	antoine
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-24 12:41:44 +00:00
Sunpoet Po-Chuan Hsieh
fc7efe3a6f Update to 2.4.1
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-4-2-released/
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-19 17:01:15 +00:00
Sunpoet Po-Chuan Hsieh
d3cf41dbb1 Update to 2.2.8
- Update WWW

Changes:	https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
Security:	95b01379-9d52-11e7-a25c-471bafc3262f
MFH:		2017Q3
2017-09-19 16:59:22 +00:00
Steve Wills
1b9be56d92 lang/ruby2{2,3,4}: require libunwind
Since ruby detects this if it's installed, and it's more often installed now
due to other deps, and ruby provides no way to not depend on it if it's found,
pull it in as a dependency unconditionally. While here, fix plist for ruby 2.4
with the CAPIDOCS option on, and restore the MAKE_JOBS_UNSAFE flag when using
that build option since it's not fixed like I thought it was.

PR:		219796
Reported by:	Grzegorz Junka <list1@gjunka.com>
2017-07-11 21:03:09 +00:00
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +00:00
Bryan Drewery
4745d5c87d Don't pass the default version in DEPENDS_ARGS.
This greatly simplifies handling for Poudriere.

With hat:	portmgr
2017-06-06 00:28:56 +00:00
Bryan Drewery
a88bcd8d74 No quoting needed here.
With hat:       portmgr
2017-06-06 00:15:20 +00:00
Sunpoet Po-Chuan Hsieh
09fe08d940 Remove lang/ruby21: upstream support ended 2017-05-02 21:51:52 +00:00
Sunpoet Po-Chuan Hsieh
e6f2632907 Add RUBY24 to PLIST_SUB 2017-05-01 12:47:25 +00:00
Martin Wilke
d8a0fd4d38 - Update ruby
lang/ruby22 -> 2.2.7
lang/ruby23 -> 2.3.4

PR:		218864
Reviewed by:	swills
Exp-Run:        antoine
Approved by:	portmgr (swills,antoine)
Differential Revision:	https://reviews.freebsd.org/D10506
2017-04-28 02:31:58 +00:00
Sunpoet Po-Chuan Hsieh
54c4ecdd61 Update to 2.4.1
Changes:	http://www.ruby-lang.org/en/news/2017/03/22/ruby-2-4-1-released/
2017-03-27 19:12:25 +00:00
Antoine Brodin
d727ceffde - Update devel/doxygen to 1.8.13
- Adjust ports depending on it

PR:		217801
2017-03-19 17:19:55 +00:00
Sunpoet Po-Chuan Hsieh
a6c0b36a3c Fix PLIST
- Bump PORTREVISION for package change

PR:		216498
Submitted by:	marino
MFH:		2017Q1
2017-01-27 14:07:05 +00:00
Steve Wills
39230bebc6 Add Ruby 2.4.0
While here, remove local patches that are no longer needed and simplify
post-patch target.
2016-12-26 19:00:05 +00:00
Steve Wills
14dbe10ed5 lang/ruby21: fix setjmp clobbered variables
PR:		206108
Submitted by:	dim
2016-12-08 02:57:06 +00:00
Steve Wills
ab2bdcb18b lang/ruby23: fix setjmp clobbered variables
PR:		206111
Submitted by:	dim
2016-12-07 16:08:54 +00:00
Steve Wills
33ba518bad lang/ruby22: fix setjmp clobbered variables
PR:		206110
Submitted by:	dim
2016-12-07 12:47:30 +00:00
Steve Wills
1f7ae1f6e2 update lang/ruby23 to 2.3.3 2016-11-22 12:23:04 +00:00
Steve Wills
d017b2c54f update lang/ruby21 to 2.1.10 2016-11-22 00:10:41 +00:00
Steve Wills
430a5372f2 lang/ruby23: update to 2.3.2 2016-11-20 23:29:38 +00:00
Steve Wills
ec21799df2 lang/ruby22: update to 2.2.6 2016-11-18 13:52:30 +00:00
Steve Wills
97e3c7a495 Remove USE_LIBRUBY and DEPEND_LIBRUBY 2016-11-02 18:24:12 +00:00
Antoine Brodin
ea16d28b49 - Update devel/doxygen to 1.8.12
- Adjust plist of ports depending on it

PR:		212869
2016-09-27 16:32:52 +00:00
Steve Wills
dcdbc2bab2 Remove support for RUBY_ELISPDIR 2016-09-19 16:46:34 +00:00
Steve Wills
afc37b75c3 remove missed comment 2016-09-15 15:50:41 +00:00
Steve Wills
8831965089 Mk/bsd.ruby.mk: remove rdtool support
rdtool support has been disabled by default for 12 years and isn't needed
2016-09-15 15:49:25 +00:00
Alexey Dokuchaev
bbf1349240 Do not terminate IGNORE messages with period, it is added by the framework. 2016-08-26 08:42:27 +00:00
Mathieu Arnold
0761532ec5 Always include bsd.default-versions.mk in bsd.port.mk.
The variable defined in it are now always available after including
bsd.port.pre.mk.

PR:		210666
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6933
2016-08-03 12:09:37 +00:00
Mathieu Arnold
b09abe9e69 Despite its name, ruby-rd-build runs during the install stage.
Reported by:	antoine
Pointy hat to:	mat
Sponsored by:	Absolight
2016-06-17 13:23:41 +00:00
Mathieu Arnold
12ddc1796c Remove DO_NADA targets.
No need to have make(1) compute a target order graph for targets that
are empty.

Sponsored by:	Absolight
2016-06-17 12:42:30 +00:00
Rene Ladan
d9881ba21b Fix up Mk/bsd.ruby.mk after removing lang/ruby20
Reported by:	mat via #bsdports
2016-06-01 12:23:38 +00:00
Steve Wills
48182b62ac Remove now unused USE_RAKE 2016-05-04 01:57:11 +00:00
Steve Wills
b5f03c0ce1 lang/ruby23: update to 2.3.1 2016-05-04 01:54:33 +00:00
Steve Wills
ce48010929 lang/ruby22: update to 2.2.5 2016-05-04 01:51:54 +00:00
Steve Wills
588dcfa531 lang/ruby21: Update to 2.1.9 2016-05-04 01:50:54 +00:00
Steve Wills
b3e8fe8d85 create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem

PR:		209041
Differential Revision:	https://reviews.freebsd.org/D6070
2016-04-27 16:36:41 +00:00
Steve Wills
70faee9bd6 remove RUBY_SHEBANG_FILES since USES=shebangfix does the same
PR:		209051
2016-04-25 23:12:04 +00:00
Mathieu Arnold
9097255acf Try to be more helpful to our users, and keep all the possible versions
close to their default value in Mk/bsd.default-versions.mk.

Sponsored by:	Absolight
2016-04-14 13:34:25 +00:00
Brad Davis
ad6237a51a Make the do-{build,extract,install} targets overrideable.
Approved by:	swills (mentor)
2016-03-29 20:12:49 +00:00
Baptiste Daroussin
421767bd88 Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles

PR:		206569
Exp run by:	antoine
Differential Revision:	D5047
2016-03-27 01:23:25 +00:00
Steve Wills
c0e8f048db Remove unneeded print from find command 2016-02-02 15:28:17 +00:00
Steve Wills
8d77480356 Remove source and intermediate build output from intalled rubygem- ports
PR:		192949
2016-02-02 01:21:21 +00:00
Sunpoet Po-Chuan Hsieh
647dc43651 - Add ruby23 2.3.0
- Do not silence installation message
- Use . instead of \* for COPYTREE_SHARE
- Use do-test:
- Use MAKE_CMD
- Remove validate:
- Cosmetic change

Differential Revision:	https://reviews.FreeBSD.org/D4749
PR:		205774
Exp-run by:	antoine
MFH:		2016Q1
2016-01-05 19:19:34 +00:00
Sunpoet Po-Chuan Hsieh
3b79030e80 - Update to 2.0.0p648
- Add LICENSE_FILE
- Use USES=autoreconf instead of USE_AUTOTOOLS=autoconf
- Use USES=libedit
- Use USES=tar:xz
- Silence patch and build messages

Changes:	https://www.ruby-lang.org/en/news/2015/12/16/ruby-2-0-0-p648-released/
		http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_648/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:11:44 +00:00
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
Sunpoet Po-Chuan Hsieh
69857748b9 - Update to 2.2.4
- 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-2-4-released/
		http://svn.ruby-lang.org/repos/ruby/tags/v2_2_4/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:09:55 +00:00
Baptiste Daroussin
8cea2b0147 Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched
This gives more time for tools to get updated, available in packages etc before
bothering users
2015-10-15 07:36:38 +00:00
Baptiste Daroussin
869e1f27d0 Drop the necessity to add ${PORTSDIR} to dependency line
Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute

Checked with poudriere, portmaster, portupgrade

PR:		203685
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D3866
2015-10-14 16:49:35 +00:00
Sunpoet Po-Chuan Hsieh
4b54ee8b7b - Update to 2.2.3
- Fix PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_2_3/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:45:13 +00:00
Sunpoet Po-Chuan Hsieh
ecde17e737 - Update to 2.1.7
- Fix and sort PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_1_7/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:44:01 +00:00
Sunpoet Po-Chuan Hsieh
f315e75862 - Update to 2.0.0p647
- Fix PLIST

Changes:	http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_647/ChangeLog
Differential Revision:	https://reviews.freebsd.org/D3587
Approved by:	swills (portmgr, ruby)
2015-09-08 19:43:11 +00:00
Sunpoet Po-Chuan Hsieh
10084409d4 - 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
- 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:47:48 +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
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
Sunpoet Po-Chuan Hsieh
3431276749 - Add BROKEN_RUBYxx to simplify Makefile
Differential Revision:	https://reviews.FreeBSD.org/D2239
Reviewed by:	swills (portmgr, ruby)
2015-08-29 10:02:33 +00:00
Steve Wills
5d4ff11096 Update Ruby to latest versions to address CVE-2015-1855.
Security:	https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ (vuxml forthcoming)
2015-04-14 00:35:59 +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
dd2e090988 Improve invalid version detection
Reported by:	dvl, zi
Submitted by:	bdrewery
Tested by:	zi
2015-03-30 19:17:33 +00:00
Steve Wills
70eb32067e lang/ruby21: fix bug in bundled rdoc
Obtained from:	55fbd8947f
2015-03-30 15:30:30 +00:00
Steve Wills
fed7471248 Update ruby-gems to 2.4.5
Note this is a big upgrade and the way gemspecs are generated changed. As a
result, all patched gemspecs had to have new patches.
2015-03-30 02:47:07 +00:00
Sunpoet Po-Chuan Hsieh
47e904ae1e - Cleanup Mk/bsd.ruby.mk and remove no-op knobs in ruby ports
Reviewed by:	bapt
Reviews:	https://reviews.freebsd.org/D2030
2015-03-14 14:36:13 +00:00
Steve Wills
83c1767ceb lang/ruby22: update to 2.2.1
PR:		198338
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-03-09 13:30:51 +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
Rene Ladan
22f0609652 Remove lang/ruby19 which reached its end-of-life on 2015-02-23
Add a note to UPDATING for ruby19 users.

Differential Revision:	https://reviews.freebsd.org/D1954
Submitted by:	myself
Reviewed by:	ruby (swills, sunpoet)
Approved by:	ruby (swills)
2015-02-24 20:10:42 +00:00
Steve Wills
4c3ec538d7 Bump PORTEPOCH on lang/ruby22 to avoid false positive vulnerability report
PR:		197875
Submitted by:	Yasuhiro KIMURA <freebsd.org@pob01.utahime.jp>
2015-02-21 16:10:43 +00:00
Steve Wills
665d9f2530 Add Ruby 2.2.0
Differential Revision:	D1457
Submitted by:	sunpoet
Reviewed by:	swills (myself)
2015-02-20 23:51:55 +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
Antoine Brodin
38e8f93368 Update devel/doxygen to 1.8.9
PR:		ports/196342
Submitted by:	Naram Qashat (maintainer)
Exp-run and fixes to depending ports:	self
2014-12-31 06:45:10 +00:00
Steve Wills
89dc7fe566 Update to latest version
While here, fix a few plist issues
2014-11-15 13:50:11 +00:00
Steve Wills
41bdbdb22b lang/ruby21: Update to 2.1.4
PR:		194677
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
2014-11-11 21:56:53 +00:00
Steve Wills
96bf534838 lang/ruby2*: disable dtrace on OS versions without the dtrace fixes from r271413
While here, fix plist issues
2014-11-11 17:47:06 +00:00
Steve Wills
a67f5ea10b Fix plist for CAPIDOCS option after update to doxygen.
PR:		194712
Reported by:	Trond Endrestol <Trond.Endrestol@ximalas.info>
2014-11-08 15:05:40 +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
897642d681 lang/ruby20: update to 2.0.0p576 2014-09-24 03:11:06 +00:00
Steve Wills
ac2099d806 lang/ruby*: bump portrevision for libexecinfo change
I had thought the package wouldn't change, but it does
2014-09-14 16:06: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
Antoine Brodin
bd79265f7a Allow ports using ruby extconf to be built as non root
PR:		ports/191313
2014-08-25 18:49:34 +00:00
Steve Wills
604392ff79 lang/ruby21: Update to Ruby 2.1.2 2014-07-27 00:51:11 +00:00
Steve Wills
6cbff030cb lang/ruby20: Update to Ruby 2.0.0-p481 2014-07-26 23:24:45 +00:00
Steve Wills
8af92cd6d1 lang/ruby19: update to Ruby 1.9.3-p547 2014-07-26 19:08:08 +00:00
Baptiste Daroussin
99923618c7 Really modernize LIB_DEPENDS 2014-07-15 14:02:01 +00:00
Baptiste Daroussin
57f9cf54ef Modernize LIB_DEPENDS 2014-07-14 18:54:55 +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
Baptiste Daroussin
4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00