2018-01-26 12:53:09 +01:00
|
|
|
$NetBSD: patch-configure,v 1.7 2018/01/26 11:53:09 jperkin Exp $
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
|
|
|
|
* Adding Interix support.
|
|
|
|
* Ignore doxygen.
|
2017-07-06 18:35:05 +02:00
|
|
|
* Pass LDFLAGS to LIBRUBY_DLDFLAGS via DLDFLAGS as Ruby 2.4 dose.
|
2018-01-16 15:53:27 +01:00
|
|
|
* Handle SSP in pkgsrc.
|
2018-01-26 11:54:15 +01:00
|
|
|
* Don't add -std=iso9899:1999 to CPPFLAGS, invalid for C++.
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
|
2018-01-16 15:53:27 +01:00
|
|
|
--- configure.orig 2017-12-14 14:57:48.000000000 +0000
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
+++ configure
|
2016-05-15 16:19:56 +02:00
|
|
|
@@ -5678,7 +5678,7 @@ esac
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
else
|
|
|
|
if test x"$target_alias" = x; then
|
|
|
|
case "$target_os" in #(
|
|
|
|
- darwin*) :
|
|
|
|
+ notdarwin*) :
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for real target cpu" >&5
|
|
|
|
$as_echo_n "checking for real target cpu... " >&6; }
|
2017-09-15 02:36:17 +02:00
|
|
|
@@ -7638,6 +7638,8 @@ else
|
2017-07-06 18:35:05 +02:00
|
|
|
|
2017-09-15 02:36:17 +02:00
|
|
|
fi
|
2017-07-06 18:35:05 +02:00
|
|
|
|
|
|
|
+: ${DLDFLAGS="$LDFLAGS"}
|
2017-09-15 02:36:17 +02:00
|
|
|
+
|
2017-07-06 18:35:05 +02:00
|
|
|
case $RUBY_PATCHLEVEL in #(
|
|
|
|
-*) :
|
2017-09-15 02:36:17 +02:00
|
|
|
particular_werror_flags=yes ;; #(
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -8024,6 +8026,7 @@ esac
|
|
|
|
stack_protector=no
|
|
|
|
;; #(
|
|
|
|
*) :
|
|
|
|
+ stack_protector=no
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
if test -z "${stack_protector+set}"; then
|
2018-01-26 12:53:09 +01:00
|
|
|
@@ -9113,9 +9116,9 @@ rm -f core conftest.err conftest.$ac_obj
|
|
|
|
*" ${rb_opt} "*) :
|
|
|
|
;; #(
|
|
|
|
' ') :
|
|
|
|
- CPPFLAGS="${rb_opt}" ;; #(
|
|
|
|
+ CFLAGS="${rb_opt}" ;; #(
|
|
|
|
*) :
|
|
|
|
- CPPFLAGS="$CPPFLAGS ${rb_opt}" ;;
|
|
|
|
+ CFLAGS="$CFLAGS ${rb_opt}" ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
;; #(
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -9319,6 +9322,10 @@ esac
|
2016-05-15 16:19:56 +02:00
|
|
|
LIBS="-lm $LIBS"
|
|
|
|
ac_cv_func_round=no
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
;; #(
|
|
|
|
+ interix*) :
|
|
|
|
+ LIBS="-lm $LIBS"
|
|
|
|
+ ac_cv_func_getpgrp_void=yes
|
|
|
|
+ ;; #(
|
|
|
|
nacl) :
|
|
|
|
|
|
|
|
LIBS="-lm $LIBS"
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -18067,6 +18074,8 @@ else
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
# ifdef _MSC_VER
|
|
|
|
# include <malloc.h>
|
|
|
|
# define alloca _alloca
|
|
|
|
+# elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
|
|
|
+# include <stdlib.h>
|
|
|
|
# else
|
|
|
|
# ifdef HAVE_ALLOCA_H
|
|
|
|
# include <alloca.h>
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -22563,7 +22572,9 @@ esac ;; #(
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
interix*) :
|
|
|
|
: ${LDSHARED='$(CC) -shared'}
|
|
|
|
XLDFLAGS="$XLDFLAGS -Wl,-E"
|
|
|
|
+ DLDFLAGS="$DLDFLAGS "'-Wl,-h,$(.TARGET) -Wl,--image-base,$$(($$RANDOM %4096/2*262144+1342177280))'
|
|
|
|
LIBPATHFLAG=" -L%1\$-s"
|
|
|
|
+ RPATHFLAG=' -Wl,-R%1$-s'
|
|
|
|
rb_cv_dlopen=yes ;; #(
|
|
|
|
freebsd*|dragonfly*) :
|
|
|
|
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -23669,7 +23680,17 @@ esac
|
2017-07-06 18:35:05 +02:00
|
|
|
;; #(
|
|
|
|
linux* | gnu* | k*bsd*-gnu | atheos* | kopensolaris*-gnu | haiku*) :
|
|
|
|
|
|
|
|
- LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)'" $LDFLAGS_OPTDIR"
|
|
|
|
+ # RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS)
|
|
|
|
+ for rb_opt in '-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR)' "$LDFLAGS_OPTDIR"; do
|
|
|
|
+ case " ${LIBRUBY_DLDFLAGS-} " in #(
|
|
|
|
+ *" ${rb_opt} "*) :
|
|
|
|
+ ;; #(
|
|
|
|
+ ' ') :
|
|
|
|
+ LIBRUBY_DLDFLAGS="${rb_opt}" ;; #(
|
|
|
|
+ *) :
|
|
|
|
+ LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS ${rb_opt}" ;;
|
|
|
|
+esac
|
|
|
|
+ done
|
|
|
|
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR).$(MINOR) lib$(RUBY_SO_NAME).so'
|
|
|
|
if test "$load_relative" = yes; then
|
|
|
|
libprefix="'\$\${ORIGIN}/../${libdir_basename}'"
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -23680,7 +23701,7 @@ esac
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
freebsd*|dragonfly*) :
|
|
|
|
|
|
|
|
SOLIBS='$(LIBS)'
|
|
|
|
- LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'
|
|
|
|
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)$(TEENY)'
|
|
|
|
if test "$rb_cv_binary_elf" != "yes" ; then
|
|
|
|
LIBRUBY_SO="$LIBRUBY_SO.\$(TEENY)"
|
|
|
|
LIBRUBY_ALIASES=''
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -23690,7 +23711,17 @@ esac
|
2017-07-06 18:35:05 +02:00
|
|
|
|
|
|
|
SOLIBS='$(LIBS)'
|
|
|
|
LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
|
|
|
|
- LIBRUBY_DLDFLAGS='-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)'" $LDFLAGS_OPTDIR"
|
|
|
|
+ # RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS)
|
|
|
|
+ for rb_opt in '-Wl,-soname,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR)' "$LDFLAGS_OPTDIR"; do
|
|
|
|
+ case " ${LIBRUBY_DLDFLAGS-} " in #(
|
|
|
|
+ *" ${rb_opt} "*) :
|
|
|
|
+ ;; #(
|
|
|
|
+ ' ') :
|
|
|
|
+ LIBRUBY_DLDFLAGS="${rb_opt}" ;; #(
|
|
|
|
+ *) :
|
|
|
|
+ LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS ${rb_opt}" ;;
|
|
|
|
+esac
|
|
|
|
+ done
|
|
|
|
if test "$rb_cv_binary_elf" = yes; then # ELF platforms
|
|
|
|
LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so'
|
|
|
|
else # a.out platforms
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -23722,7 +23753,17 @@ esac
|
2017-07-06 18:35:05 +02:00
|
|
|
;; #(
|
|
|
|
aix*) :
|
|
|
|
|
|
|
|
- LIBRUBY_DLDFLAGS="${linker_flag}-bnoentry $XLDFLAGS $LDFLAGS_OPTDIR"
|
|
|
|
+ # RUBY_APPEND_OPTIONS(LIBRUBY_DLDFLAGS)
|
|
|
|
+ for rb_opt in "${linker_flag}-bnoentry" "$XLDFLAGS" "$LDFLAGS_OPTDIR"; do
|
|
|
|
+ case " ${LIBRUBY_DLDFLAGS-} " in #(
|
|
|
|
+ *" ${rb_opt} "*) :
|
|
|
|
+ ;; #(
|
|
|
|
+ ' ') :
|
|
|
|
+ LIBRUBY_DLDFLAGS="${rb_opt}" ;; #(
|
|
|
|
+ *) :
|
|
|
|
+ LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS ${rb_opt}" ;;
|
|
|
|
+esac
|
|
|
|
+ done
|
|
|
|
LIBRUBYARG_SHARED='-L${libdir} -l${RUBY_SO_NAME}'
|
|
|
|
SOLIBS='-lm -lc'
|
|
|
|
;; #(
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -23749,7 +23790,12 @@ esac
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
;; #(
|
|
|
|
interix*) :
|
|
|
|
|
|
|
|
- LIBRUBYARG_SHARED='-L. -L${libdir} -l$(RUBY_SO_NAME)'
|
|
|
|
+ SOLIBS='$(LIBS)'
|
|
|
|
+ LIBRUBY_SO='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR).$(TEENY)'
|
|
|
|
+ # link explicitly to 0x48000000
|
2017-07-06 18:35:05 +02:00
|
|
|
+ LIBRUBY_DLDFLAGS="$LIBRUBY_DLDFLAGS "'-Wl,-h,lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) -Wl,--image-base,1207959552'
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
+ LIBRUBYARG_SHARED='-Wl,-R -Wl,${PREFIX}/lib} -L${libdir} -L. -l$(RUBY_SO_NAME)'
|
|
|
|
+ LIBRUBY_ALIASES='lib$(RUBY_SO_NAME).so.$(MAJOR)$(MINOR) lib$(RUBY_SO_NAME).so'
|
|
|
|
;; #(
|
|
|
|
mingw*|cygwin*|mswin*) :
|
|
|
|
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -23917,7 +23963,7 @@ if test "$enable_rpath" = yes; then
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
esac
|
|
|
|
rpathflag=`IFS="$PATH_SEPARATOR"
|
|
|
|
echo x "$rpathflag" |
|
|
|
|
- sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${libprefix}${IFS}g;s${IFS}%s${IFS}${libprefix}${IFS}g"
|
|
|
|
+ sed "s/^x *//;s${IFS}"'%1\\$-s'"${IFS}${libprefix}${IFS}g;s${IFS}%s${IFS}${PREFIX}/lib${IFS}g"
|
|
|
|
`
|
|
|
|
LIBRUBY_RPATHFLAGS="$LIBRUBY_RPATHFLAGS${rpathflag}"
|
|
|
|
LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED"
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -24308,11 +24354,7 @@ if test "$install_doc" != no; then
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
else
|
|
|
|
RDOCTARGET="nodoc"
|
|
|
|
fi
|
|
|
|
- if test "$install_capi" != no -a -n "$DOXYGEN"; then
|
|
|
|
- CAPITARGET="capi"
|
|
|
|
- else
|
|
|
|
- CAPITARGET="nodoc"
|
|
|
|
- fi
|
|
|
|
+ CAPITARGET="nodoc"
|
|
|
|
else
|
|
|
|
RDOCTARGET="nodoc"
|
|
|
|
CAPITARGET="nodoc"
|
2018-01-16 15:53:27 +01:00
|
|
|
@@ -26331,17 +26373,7 @@ which seems to be undefined. Please mak
|
Add ruby23-base package, core part of Ruby 2.3.0 pacakge.
From release announce:
Ruby 2.3.0 Released
Posted by naruse on 25 Dec 2015
We are pleased to announce the release of Ruby 2.3.0.
This is the first stable release of Ruby 2.3 series. It introduces many new
features for example:
A Frozen String Literal Pragma is introduced. With Ruby 2.1, "str".freeze has
been optimized to reduce object allocation. Ruby 2.3 introduces a new magic
comment and command line option to freeze all string literals in the source
files. Additionally for debugging, you can get where the object is created on
"can't modify frozen String" error by --debug=frozen-string-literal command
line option.
A safe navigation operator (so-called lonely operator) &., which already
exists in C#, Groovy, and Swift, is introduced to ease nil handling as
obj&.foo. Array#dig and Hash#dig are also added. Note that this behaves as
try! of Active Support, which specially handle only nil.
The did_you_mean gem is bundled. The did_you_mean gem shows the candidates on
the NameError and NoMethodError to ease debugging.
RubyVM::InstructionSequence#to_binary and .load_from_binary are introduced as
experimental feature. With these features, we can make a ISeq (bytecode)
pre-compilation system.
It also includes many performance improvements for example, reconsider method
entry data structure, introducing new table data structure, optimize
Proc#call, machine code level tuning for object allocation and method calling
code, smarter instance variable data structure, Socket and I/O allow to use
“exception:” keywords for high-performance non-blocking I/O and so on. Check
“Implementation improvements” section in NEWS file.
For a complete list of new features and compatibility notes, please see NEWS
and ChangeLog.
2015-12-30 15:59:42 +01:00
|
|
|
"Makefile":F)
|
|
|
|
tmpmk=confmk$$.tmp
|
|
|
|
{
|
|
|
|
- if test ${VCS+set}; then
|
|
|
|
- :
|
|
|
|
- elif svn info "$srcdir" > /dev/null 2>&1; then
|
|
|
|
- VCS='svn'
|
|
|
|
- elif test -d "$srcdir/.git/svn"; then
|
|
|
|
- VCS='git svn'
|
|
|
|
- elif test -d "$srcdir/.git"; then
|
|
|
|
- VCS='git'
|
|
|
|
- else
|
|
|
|
- VCS='echo cannot'
|
|
|
|
- fi
|
|
|
|
+ VCS='echo cannot'
|
|
|
|
case "$VCS" in #(
|
|
|
|
svn) :
|
|
|
|
VCSUP='$(VCS) up $(SVNUPOPTIONS)' ;; #(
|