28 Commits

Author SHA1 Message Date
Mark Linimon
09765c4b9d Allow building on powerpcspe.
Reported by:	jhibbits
Approved by:	portmgr (tier-2 blanket)
2018-12-22 05:37:10 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Sunpoet Po-Chuan Hsieh
d5173a883f Update to 2.4.5
- 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/17/ruby-2-4-5-released/
PR:		232435
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	afc60484-0652-440e-b01a-5ef814747f06
MFH:		2018Q4
2018-10-20 14:58:01 +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
Ed Schouten
b38c8dc195 lang/ruby2[345]: Improve qsort_r() detection
This change merges the following upstream pull request into the Ruby
interpreter ports:

	https://github.com/ruby/ruby/pull/1954

Adding this patch to these ports will ensure that once we patch up
qsort_r() to be compatible with glibc, Ruby will automatically pick them
up. Ruby should also build fine without this patch, but this will cause
it to use its own implementation, which blows up the binary size
slightly.

Poudriere runs seem to pass for 11.x amd64. Logs indicate that this
doesn't negatively affect the existing qsort_r() detection:

	checking whether qsort_r is GNU version... no
	checking whether qsort_r is BSD version... yes

PR:		231256
Approved by:	sunpoet
Differential Revision:	https://reviews.freebsd.org/D17157
2018-09-13 19:26:17 +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
8e8b7e2d02 Fix build with LibreSSL 2.7
Obtained from:	75de15ddcd
PR:		227851
2018-06-05 18:57:28 +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
d52dd9795c Fix typo 2018-02-17 11:59:07 +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
5c1a3d0ea5 lang/ruby22, 23, 24: update ARCHs
Add armv7, drop armv6hf and ia64. While here, drop unneeded quotes.

PR:		223986
Submitted by:	linimon
2017-12-15 03:02:06 +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
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +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
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
692209025a Use USES=readline:port 2017-06-12 22:25:34 +00:00
Martin Wilke
e0906c0a1f - Really fix plist when CAPIDOCS is enabled 2017-05-07 15:38:05 +00:00
Sunpoet Po-Chuan Hsieh
5c5372011c Always use latest doxygen
MFH:		2017Q2
2017-05-01 14:55:06 +00:00
Sunpoet Po-Chuan Hsieh
ae5483b00f Fix PLIST when CAPIDOCS option is enabled
PR:		218504
Reported by:	Kalten <kalten@gmx.at>
MFH:		2017Q2
2017-05-01 12:47:29 +00:00
Sunpoet Po-Chuan Hsieh
0a54345ad4 Pet portlint 2017-04-03 12:57:17 +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
910fd17886 Fix doxygen version requirement
PR:		217384
Submitted by:	Yunchih Chen <yunchih@csie.ntu.edu.tw>
2017-02-27 06:37:45 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Sunpoet Po-Chuan Hsieh
973fb0377b - Sort PLIST 2016-12-27 18:16:13 +00:00
Sunpoet Po-Chuan Hsieh
f805696039 - Fix PLIST 2016-12-26 20:52:15 +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