Commit graph

39 commits

Author SHA1 Message Date
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
83e5b9323b Update to 2.3.8
- Move BROKEN_* upward
- 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-3-8-released/
PR:		232438
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Security:	afc60484-0652-440e-b01a-5ef814747f06
MFH:		2018Q4
2018-10-20 14:58:37 +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
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
Sunpoet Po-Chuan Hsieh
26b699f398 Fix typo 2018-02-17 11:59:02 +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
Adam Weinberger
64e9975e36 Spacing 2017-10-13 20:40:34 +00:00
Adam Weinberger
08b84627d6 Mark MAKE_JOBS_UNSAFE
- - - loadpath.o ---
loadpath.c:30:2: error: RUBY_EXEC_PREFIX must be defined
#error RUBY_EXEC_PREFIX must be defined
 ^
loadpath.c:41:50: error: use of undeclared identifier 'RUBY_LIB_VERSION'
typedef char ruby_lib_version_string[(int)sizeof(RUBY_LIB_VERSION) - 2];
                                                 ^
loadpath.c:59:33: error: use of undeclared identifier 'RUBY_EXEC_PREFIX'
const char ruby_exec_prefix[] = RUBY_EXEC_PREFIX;
                                ^
loadpath.c:68:5: error: use of undeclared identifier 'RUBY_EXEC_PREFIX'
    RUBY_SITE_LIB2 "\0"
    ^
loadpath.c:46:37: note: expanded from macro 'RUBY_SITE_LIB2'
#define RUBY_SITE_LIB2              RUBY_SITE_LIB    "/"RUBY_LIB_VERSION
                                    ^
loadpath.c:35:23: note: expanded from macro 'RUBY_SITE_LIB'
#define RUBY_SITE_LIB RUBY_LIB_PREFIX"/site_ruby"
                      ^
loadpath.c:32:25: note: expanded from macro 'RUBY_LIB_PREFIX'
#define RUBY_LIB_PREFIX RUBY_EXEC_PREFIX"/lib/ruby"
                        ^
loadpath.c:68:5: error: expected ';' after top level declarator
loadpath.c:46:37: note: expanded from macro 'RUBY_SITE_LIB2'
#define RUBY_SITE_LIB2              RUBY_SITE_LIB    "/"RUBY_LIB_VERSION
                                    ^
loadpath.c:35:23: note: expanded from macro 'RUBY_SITE_LIB'
#define RUBY_SITE_LIB RUBY_LIB_PREFIX"/site_ruby"
                      ^
loadpath.c:32:41: note: expanded from macro 'RUBY_LIB_PREFIX'
#define RUBY_LIB_PREFIX RUBY_EXEC_PREFIX"/lib/ruby"
                                        ^
5 errors generated.
*** [loadpath.o] Error code 1
2017-10-13 20:32:20 +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
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
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
53ed99e146 Use USES=readline:port 2017-06-12 22:36:38 +00:00
Sunpoet Po-Chuan Hsieh
5c5372011c Always use latest doxygen
MFH:		2017Q2
2017-05-01 14:55:06 +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
2641c899f2 Use BROKEN_SSL 2017-04-16 11:08:58 +00:00
Sunpoet Po-Chuan Hsieh
7c6cb876f8 Pet portlint 2017-04-03 12:57:12 +00:00
Mathieu Arnold
db5d0284e6 Mark a few more ports BROKEN with openssl-devel.
Sponsored by:	Absolight
2017-03-13 17:43: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
Eygene Ryabinkin
3b44f2a94c Ruby: introduce dependency on modern Doxygen
Otherwise (found with Doxygen 1.8.10) packaging list will be broken
with missing entries like dir_<hexdigits>.html.

Reviewed by:	swills@ (part of ruby@)
2017-02-17 06:18: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
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
Alexey Dokuchaev
61dd1bf9fb Relax condition to pull GCC from ports which was added in r417665 to fix
the build specifically on powerpc64, while the check included both 32-bit
and 64-bit PowerPC.  While here, drop rudimentary support for ia64 which
is long unsupported in base (and hardly ever was in ports).

Tested on:	Mac mini G4
2016-12-22 03:39:02 +00:00
Sunpoet Po-Chuan Hsieh
f3d8ad4496 - Use USES=ssl 2016-12-09 12:57:00 +00:00
Steve Wills
ab2bdcb18b lang/ruby23: fix setjmp clobbered variables
PR:		206111
Submitted by:	dim
2016-12-07 16:08:54 +00:00
Gerald Pfeifer
659c967516 Replace USE_GCC=4.9+ by USE_GCC=yes, now that lang/gcc and the default
version for GCC in the Ports Collection have moved to GCC 4.9.
2016-11-25 21:27:37 +00:00
Steve Wills
1f7ae1f6e2 update lang/ruby23 to 2.3.3 2016-11-22 12:23:04 +00:00
Steve Wills
430a5372f2 lang/ruby23: update to 2.3.2 2016-11-20 23:29:38 +00:00
Mathieu Arnold
eabbfd75e3 ${RM} already has -f.
PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-10-21 12:51:40 +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
Hajimu UMEMOTO
97a72db9ee Fix build on FreeBSD 11 and later.
Reported by:	KIRIYAMA Kazuhiko <kiri [...] kx.openedu.org>
Tested by:	Kurt Jaeger <lists [...] opsec.eu>,
		"Herbert J. Skuhra" <herbert [...] mailbox.org>
2016-07-21 17:47:02 +00:00
Steve Wills
ac59ba2474 lang/ruby2?: Actually unmark broken 2016-06-27 14:50:03 +00:00
Steve Wills
d61e7e0a6b lang/ruby2?: Fix build on powerpc64 2016-06-27 14:37:08 +00:00
Steve Wills
dbfd2dcda5 lang/ruby23: fix plist for CAPIDOCS option 2016-05-05 16:55:11 +00:00
Steve Wills
b5f03c0ce1 lang/ruby23: update to 2.3.1 2016-05-04 01:54:33 +00:00
Steve Wills
86cd4fbe5a many ports: mark broken on powerpc64 2016-04-21 16:43:14 +00:00
Mathieu Arnold
a9dcad2fff Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:08:37 +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