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".
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
$
}}}
- 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
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