Commit Graph
42 Commits
Author SHA1 Message Date
kimura wataru 3f4caec5e4 sysutils/ruby_select, lang/ruby*: update select files, ruby-3.1 introduced bin/rdbg 2021-12-27 08:27:48 +09:00
kimura wataru 1878708c6b lang/ruby*: fix port -v lint warnings
- add checksum "size"
- expand tabs to whitespaces
2021-11-12 08:41:13 +09:00
Christopher NielsenandGitHub 57f6c037c0 lang/ruby19 .. ruby25: enable parallel build (#12912)
Closes: https://trac.macports.org/ticket/63895
2021-11-12 08:21:03 +09:00
kimura wataru 03cd43aa21 lang/ruby19 .. 23: fix build error or missing openssl.bundle at ext/openssl
closes https://trac.macports.org/ticket/63845

keep PKG_CONFIG_PATH in Makefile and use it at running `miniruby extconf.rb`.

ruby(1.8) does not use pkg-config in ext/openssl when headers and libraries
are found from "--with-openssl-include" and "--with-openssl-lib".
2021-11-09 23:18:39 +09:00
kimura wataru 0874dc4fca lang/ruby, ruby19, ruby20 .. 23: fix deprecated note was lost
- notes -> notes-append:
  note from portgroup deprecated was overrided by "port select" note.
2021-11-06 11:37:44 +09:00
Evan MillerandChristopher Nielsen 56627097bf ruby22: fix build for Tiger/i386
Patch from @kencu's TigerPorts
2021-11-03 10:16:39 -04:00
kimura wataru 640784d862 lang/ruby22, ruby21: fix build error at ext/openssl
closes: https://trac.macports.org/ticket/62500

see: https://github.com/rbenv/ruby-build/issues/1489

conftest from ext/openssl/extconf.rb runs without including <openssl/*.h>.
this leads conflicts between ext/openssl/extconf.h and ext/openssl/*.[hc]
under "-Werror=implicit-function-declaration", default with recent Xcode.

ext/openssl/mkmf.log:
{{{
have_func: checking for HMAC_CTX_copy()... -------------------- yes  #### <= returns "no" under -Werror=implicit-function-declaration

"/usr/bin/clang -o conftest -I../../.ext/include/x86_64-darwin20 -I../.././include -I../.././ext/openssl  -I/opt/local/include/openssl-1.0 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -Os -Wno-error=implicit-function-declaration -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fno-common  conftest.c  -L/opt/local/lib/openssl-1.0 -L/opt/local/lib -L. -L../.. -L. -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -fstack-protector -L/opt/local/lib  -L/opt/local/lib   -arch x86_64   -lssl -lcrypto -lruby.2.2.0-static -framework CoreFoundation  -lssl -lcrypto -lpthread -ldl -lobjc "
conftest.c:13:57: error: use of undeclared identifier 'HMAC_CTX_copy'
int t(void) { void ((*volatile p)()); p = (void ((*)()))HMAC_CTX_copy; return 0; }
    ¦   ¦   ¦   ¦   ¦   ¦   ¦   ¦   ¦   ¦               ^
1 error generated.
checked program was:
/* begin */
 1: #include "ruby.h"  #### <= includes only ruby.h
 2:-
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10:-
11:   return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))HMAC_CTX_copy; return 0; }
/* end */
}}}
2021-10-13 22:42:56 +09:00
kimura wataru cabc46e29d lang/ruby30, ruby27, .. ruby19, ruby: introduce notes about 'port select'
closes: https://trac.macports.org/ticket/63602

{{{
$ sudo port install ruby30
--->  Computing dependencies for ruby30
   :
--->  Some of the ports you installed have notes:
  ruby30 has the following notes:
    To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' or 'bundle' commands),
    run:
        sudo port select --set ruby ruby30
$

$ port notes ruby30
--->  ruby30 has the following notes:
  To make this the default Ruby (i.e., the version run by the 'ruby', 'gem' or 'bundle' commands),
  run:
      sudo port select --set ruby ruby30
$
}}}
2021-10-13 21:37:50 +09:00
Joshua Root 949b3480c3 Rev bump libffi dependents
Version 3.4 broke binary compatibility.
2021-09-01 06:34:10 +10:00
Joshua Root 9e6950e45f ruby22: update config.{guess,sub}
Allow arm64 to be accepted.
2021-02-12 16:25:52 +11:00
kimura wataru c8d2262437 lang/ruby25 .. ruby20, ruby19: fix build error of ruby extentions on macOS 11
- rewrite sdkroot in rbconfig.rb and ruby-*.pc to MacOSX.sdk from MacOS11.x.sdk
  see https://trac.macports.org/ticket/61899
- fix ruby19 build error of ext/openssl
2020-12-31 09:40:52 +09:00
kimura wataru 1b360ced19 lang/ruby27 .. ruby19, ruby: update select file and revbump 2020-12-30 20:20:45 +09:00
kimura wataru b5cdf65240 lang/ruby26 .. ruby19: fix "invalid suffix on literal" with C++11
insert spaces between literal and identifier in config.h.

    // before
    #define RUBY_ARCH "universal-"RUBY_PLATFORM_OS
    #define RUBY_PLATFORM "universal."RUBY_PLATFORM_CPU"-"RUBY_PLATFORM_OS

    // after
    #define RUBY_ARCH "universal-" RUBY_PLATFORM_OS
    #define RUBY_PLATFORM "universal." RUBY_PLATFORM_CPU "-" RUBY_PLATFORM_OS

note: ruby-2.5 or earlier, `configure` does not accept "--with-arch=arm64"

Closes: https://trac.macports.org/ticket/58255
2020-12-30 20:20:45 +09:00
Christopher ChavezandGitHub d5aee0536e ruby22: fix implicitly defined function (#8555) 2020-09-28 21:47:50 +09:00
David B. Evans bd5d680082 ports that link with libffi: rebuild with libffi 3.3
* excludes known broken ports
* includes only ports that actually link with libffi 3.3
2020-09-05 20:00:58 -07:00
Ryan Schmidt a9e15268c0 ruby2*: Escape periods in livecheck.regex 2019-12-27 17:40:15 -06:00
Christopher ChavezandChris Jones 2b31fbc90c ruby ports: mark EOL versions as unsupported 2019-08-10 09:47:58 +01:00
kimura wataru d0dacbc9b9 lang/ruby, ruby19..23: switch to openss10
ruby-2.3 or below is not compatible with openssl-1.1.x.

see https://github.com/macports/macports-ports/pull/3822
2019-03-15 01:07:37 +09:00
kimura wataru 8b631fa62a lang/ruby, ruby21, ruby22, ruby23: fix build error with liressl-devel
see https://trac.macports.org/ticket/58123

<openssl/asn1_mac.h> is obsoleted in latest libressl and openssl.
this error occurs at ext/openssl on ruby-2.3 or earlier versions.

(build error on ruby19 and ruby20 is not solved.)
2019-03-02 10:28:38 +09:00
Marcus Calhoun-LopezandMarcusCalhoun-Lopez 719053401b readline: update version 7.0.005->8.0.000
Update dependencies due to library name change.

See https://trac.macports.org/ticket/57871
2019-01-23 05:53:22 -07:00
kimura wataru 77d1d1ef29 sysutils/ruby_select, lang/ruby: add bundler to "port select ruby", ready for ruby26
ruby 2.6 indroduces bundler.
the following files are added to "select" target.

- bin/bundle
- bin/bundler
- share/man/man1/bundle.1.gz
2018-12-24 12:25:40 +09:00
Zero King 27d5d282a6 gdbm: update to 1.15
bump revision of dependents
2018-06-19 13:25:55 +00:00
Ryan SchmidtandPerry E. Metzger c708285fd3 Add GitHub handle kimuraw to maintainers
See: https://trac.macports.org/ticket/56050
2018-04-15 13:19:41 -04:00
kimura wataru edc1469008 lang/ruby22: update to 2.2.10, includes security fixes
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/

ruby 2.2.x was EOLed at 2018-03-31,
https://www.ruby-lang.org/en/downloads/branches/
2018-04-04 22:13:39 +09:00
Marius Schamschula 8b0fe47070 gdbm 1.14.1: rev bump dependents 2018-01-04 09:13:00 -06:00