components/ruby/ruby-23/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 30 Mar 2017 08:44:01 -0700
changeset 7812 ffe9ca8c9421
parent 7687 1093e2a9adbd
permissions -rw-r--r--
17899122 Upgrade GNU MP to 6.1.2 22234498 GNU MP should be built with GCC
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     1
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     3
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     7
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    12
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    18
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    20
#
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    21
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7469
diff changeset
    23
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    25
BUILD_BITS= 64
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    26
COMPILER= gcc
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    27
include ../../../make-rules/shared-macros.mk
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    28
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    29
COMPONENT_NAME=		ruby
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    30
COMPONENT_VERSION=	2.3.1
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    31
COMPONENT_PROJECT_URL=	http://www.ruby-lang.org/
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH=	\
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    33
    sha256:b87c738cb2032bf4920fef8e3864dc5cf8eae9d89d8d523ce0236945c5797dcd
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	\
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    35
	http://cache.ruby-lang.org/pub/ruby/2.3/$(COMPONENT_ARCHIVE)
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7469
diff changeset
    36
COMPONENT_ANITYA_ID=	4223
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    37
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    38
TPNO=			31235
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    39
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    41
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    42
# COMPONENT_VERSION <major>.<minor>.<teeny>
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    43
# is transformed into <major>.<minor> for RUBY_VER.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    44
# First change the separator '.' to ' ', so we can use "word" to pull the 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    45
# first two space-separated words from the string.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    46
RUBY_VER_WORDS=	$(subst ., ,$(COMPONENT_VERSION))
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    47
RUBY_VER=$(word 1,$(RUBY_VER_WORDS)).$(word 2,$(RUBY_VER_WORDS))
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    48
# RUBY_VER_NO_DOT is just <major><minor>, like RUBY_VER but no
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    49
# '.' separating <major> and <minor>.  Used when editing manpages (see below).
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    50
RUBY_VER_NO_DOT=$(subst .,,$(RUBY_VER))
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    51
# the library-compatible version
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    52
RUBY_LIB_VER=2.3.0
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    53
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    54
PROTORUBYDIR=$(PROTOUSRDIR)/ruby/$(RUBY_VER)
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    55
PROTO_RBCONFIG_FILE=$(PROTORUBYDIR)/lib/ruby/$(RUBY_LIB_VER)/$(MACH64)-solaris$(SOLARIS_VERSION)/rbconfig.rb
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    56
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    57
# these macros are used in the package manifest
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    58
PKG_MACROS+=	RUBY_VER=$(RUBY_VER) RUBY_LIB_VER=$(RUBY_LIB_VER) RUBY_VER_NO_DOT=$(RUBY_VER_NO_DOT)
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    59
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    60
# Prevent re-compile of ripper.so during install, which would result in
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    61
# an erroneous full build directory in its RUNPATH.  The below change to 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    62
# ext/ripper/Makefile is identical to what occurs during install
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    63
# and prevents its regeneration. 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    64
COMPONENT_PRE_INSTALL_ACTION += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    65
	$(GSED) -i -e "s/^static: check/static: all/" $(BUILD_DIR_64)/ext/ripper/Makefile ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    66
	$(TOUCH) -r $(BUILD_DIR_64)/ext/ripper/ripper.o $(BUILD_DIR_64)/ext/ripper/Makefile
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    67
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    68
# Apply some of the edits here--including to the sed scripts themselves.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    69
# These modifications of ruby.1 must occur after ruby
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    70
# is installed, not before.  Although there are some other patches
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    71
# to ruby.1 that occur before, the ruby installation does some 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    72
# formatting of ruby.1 that won't occur if the below changes
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    73
# are applied.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    74
# Fix generated rbconfig.rb using /usr/bin/sed; gsed doesn't 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    75
# work for some of the commands in rbconfig.sedscript.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    76
COMPONENT_POST_INSTALL_ACTION += \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    77
	$(GSED) -e "s/RUBY_VER_NO_DOT/$(RUBY_VER_NO_DOT)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    78
	    -e "s/RUBY_VER/$(RUBY_VER)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    79
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/g" Solaris/gem.1-generic \
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    80
	    > Solaris/gem.1 ; \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    81
	$(GSED) -e "s/RUBY_VER_NO_DOT/$(RUBY_VER_NO_DOT)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    82
	    -e "s/RUBY_VER/$(RUBY_VER)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    83
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/g" Solaris/ruby.1.sedscript \
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    84
	    > Solaris/ruby.1.sedscript.mod ; \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    85
	$(GSED) -e  "s/RUBY_VER/$(RUBY_VER)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    86
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/g" Solaris/rbconfig.sedscript \
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    87
	    > Solaris/rbconfig.sedscript.mod ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    88
	$(GSED) -i -f Solaris/ruby.1.sedscript.mod \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    89
	    $(PROTORUBYDIR)/share/man/man1/ruby.1 ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    90
	/usr/bin/sed -f Solaris/rbconfig.sedscript.mod \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    91
	$(PROTO_RBCONFIG_FILE) > rbconfig.rb.mod ; \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    92
	$(MV) rbconfig.rb.mod $(PROTO_RBCONFIG_FILE)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    93
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    94
# default LD_OPTION $(LD_B_DIRECT) causes problems--
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    95
# during install of ruby, ruby is executed and will core dump
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    96
# after compiling with this option
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    97
LD_B_DIRECT=
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    98
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    99
# don't use LD_Z_IGNORE: causes ruby linker problems with 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   100
# unreferenced symbol tgetent in libreadline, similar to bug #15617172
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   101
LD_Z_IGNORE=
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   102
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   103
# sparc build sometimes fails with studio 12.3 because of 17537968;
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   104
# -xO3 worked around the problem. Also, iropt optimizer has a 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   105
# an assertion failure when compiling ext/socket/raddrinfo.c,
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   106
# (CR 20704428); dropping down to -xO2 works around the bug.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   107
studio_OPT.sparc.64 = -xO2
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   108
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   109
# without this define, config fails frequently on i386 when including 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   110
# /usr/include/sys/isa_defs.h with error: "ISA not supported";
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   111
# many extensions don't get built and at least one error causes 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   112
# the build to fail
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   113
studio_XBITS.i386.64 += -D__amd64
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   114
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   115
CONFIGURE_PREFIX =	$(USRDIR)/$(COMPONENT_NAME)/$(RUBY_VER)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   116
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   117
# we are building 64-bit, but most of the ruby libraries (*.rb files)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   118
# are non-bit-specfic text files, so don't put them under lib/$(MACH64).
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   119
# The 64-bit *.so libraries will be in the $(MACH64)-solaris$(SOLARIS_VERSION)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   120
# arch directories under lib
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   121
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   122
CONFIGURE_OPTIONS +=	--with-rubylibprefix=$(CONFIGURE_LIBDIR.32)/ruby
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   123
CONFIGURE_OPTIONS +=	--enable-shared
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   124
CONFIGURE_OPTIONS +=	--enable-rpath
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   125
# Don't need docs for ruby C source files
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   126
CONFIGURE_OPTIONS +=	--disable-install-capi
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   127
CONFIGURE_OPTIONS +=	--disable-option-checking
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   128
CONFIGURE_OPTIONS +=	--with-openssl
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   129
# If Ruby is configured with __builtin_setjmp, may cause
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   130
# problems with gems compiled with gcc.  Studio compiler doesn't 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   131
# report an error for __builtin_setjmp, but gcc would.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   132
CONFIGURE_OPTIONS +=	--with-setjmp-type=_setjmp
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
   133
CONFIGURE_OPTIONS +=	DTRACE="$(USRSBINDIR)/dtrace"
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   134
# ensure we use the 64-bit configuration file, not the 32-bit one
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
   135
CONFIGURE_OPTIONS +=	--with-tclConfig-file=$(USRLIBDIR)/64/tclConfig.sh
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   136
	# set mantype to "man" so tool/mdoc2man.rb is used to convert
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   137
	# the manpages from doc to man format; otherwise mantype is "doc" and
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   138
	# headers we add to the manpages will not work properly
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   139
CONFIGURE_OPTIONS +=	--with-mantype=man
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   140
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   141
# fiddle.so (ext/fiddle) links to libffi, which does not define
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   142
# ffi_raw_size(), although its prototype is in libffi's 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   143
# /usr/lib/libffi-3.0/include/ffi.h header file.  
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   144
# Defining FFI_NO_RAW_API avoids use of ffi_raw_size().
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   145
# This is a workaround to bug
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   146
# 17349280 - libffi is missing ffi_raw_size()
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   147
CFLAGS +=		-DFFI_NO_RAW_API
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   148
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   149
# keep ASLR disabled; 
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   150
# miniruby may core dump on sparc during build
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   151
ASLR_MODE =		$(ASLR_DISABLE)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   152
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   153
CLEAN_PATHS +=		Solaris/gem.1 Solaris/rbconfig.sedscript.mod \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   154
			Solaris/ruby.1.sedscript.mod
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   155
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   156
# Some tests produce warnings if HTTP_PROXY is set
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   157
COMPONENT_TEST_ENV += "--unset=HTTP_PROXY"
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   158
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   159
# This set of tests goes through thousands of entries in the passwd
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   160
# and group table, taking hours to run; move it aside so we skip it.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   161
# There may also be spurious errors if group memberships are modified
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   162
# during testing.
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   163
COMPONENT_PRE_TEST_ACTION += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   164
	( if test -e $(SOURCE_DIR)/test/etc/test_etc.rb ; then \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   165
	    $(MV) $(SOURCE_DIR)/test/etc/test_etc.rb \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   166
	    $(SOURCE_DIR)/test/etc/test_etc.rb-save ; fi )
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   167
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   168
COMPONENT_TEST_TRANSFORMS += \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   169
	'-e "/^linking shared-object ripper.so$$/d" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   170
	'-e "s|^20[0-9][0-9]-[01][1-9]-[0-3][0-9].*|XXX_DATE_TIME_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   171
	'-e "s|\(^[[:space:]]*CC = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   172
	'-e "s|\(^[[:space:]]*LD = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   173
	'-e "s|\(^[[:space:]]*LDSHARED = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   174
	'-e "s|\(^[[:space:]]*CFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   175
	'-e "s|\(^[[:space:]]*XCFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   176
	'-e "s|\(^[[:space:]]*CPPFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   177
	'-e "s|\(^[[:space:]]*DLDFLAGS = \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   178
	'-e "s|\(^[[:space:]]*SOLIBS = \).*|\1|" ' \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   179
	'-e "s|\(^COLLECT_GCC=\).*|\1|" ' \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   180
	'-e "s|\(^COLLECT_LTO_WRAPPER=\).*|\1|" ' \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   181
	'-e "s|\(^Target: \).*|\1|" ' \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   182
	'-e "s|\(^Configured with: \).*|\1|" ' \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   183
	'-e "s|\(^gcc version \).*|\1|" ' \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   184
	'-e "s|\(^pid \)[1-9][0-9]*|\1NUM|" ' \
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   185
	'-e "s|^\.[\.FES]\+|XXX_DOTS_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   186
	'-e "s|\(Insecure world writable dir \).*\( in PATH, mode \)[0-7].*|\1XXX_DIR_XXX\2XXX_MODE_XXX|g" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   187
	'-e "s|\(^Driver is \).*|\1XXX_RUBY_VERSION_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   188
	'-e "s|\(^Target is \).*|\1XXX_RUBY_VERSION_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   189
	'-e "s|\(^Finished tests in \).*|\1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   190
        '-e "s|^[[:space:]]*[0-9]\+) \([FSE][a-z]\+:$$\)|NUM) \1|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   191
	'-e "s|URI::HTTP:[0-9a-fx]\+ |URI::HTTP:0xXXX |" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   192
	'-e "s|\(.*\#test_no_memory_leak \).*:$$|\1XXX_RUBY_FILE_XXX:|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   193
	'-e "s|/tmp/.*:[0-9]\+: |XXX_TMPFILE_XXX: |" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   194
	'-e "s|[0-9]\+\( tests, \)[0-9]\+\( assertions, \)[0-9]\+\( failures, \)[0-9]\+\( errors, \)[0-9]\+\( skips\)|XXX_NUM_XXX\1XXX_NUM_XXX\2XXX_NUM_XXX\3XXX_NUM_XXX\4XXX_NUM_XXX\5|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   195
	'-e "s|\(^ruby -v: \).*|\1XXX_RUBY_VERSION_XXX|" ' \
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   196
	'-e "s|\(\[yes-test-all\] Error \)[0-9]\+$$|\1NUM|"'
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   197
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   198
# master test results are not entirely clean, so not
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   199
# appropriate to run at top level
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   200
$(SKIP_TEST_AT_TOP_LEVEL)
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   201
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   202
REQUIRED_PACKAGES += library/database/gdbm
7812
ffe9ca8c9421 17899122 Upgrade GNU MP to 6.1.2
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 7687
diff changeset
   203
REQUIRED_PACKAGES += library/gmp
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   204
REQUIRED_PACKAGES += library/libffi
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   205
REQUIRED_PACKAGES += library/ncurses
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   206
REQUIRED_PACKAGES += library/readline
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   207
REQUIRED_PACKAGES += library/security/openssl
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   208
REQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   209
REQUIRED_PACKAGES += library/zlib
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   210
REQUIRED_PACKAGES += runtime/tcl-8
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   211
REQUIRED_PACKAGES += runtime/tk-8
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   212
REQUIRED_PACKAGES += shell/bash
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   213
REQUIRED_PACKAGES += system/core-os
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   214
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   215
REQUIRED_PACKAGES += system/library/math
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
   216
REQUIRED_PACKAGES += system/linker
4210
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   217
REQUIRED_PACKAGES += x11/library/libx11