components/ruby/ruby-21/Makefile
author Rich Burridge <rich.burridge@oracle.com>
Thu, 23 Feb 2017 13:46:52 -0800
changeset 7687 1093e2a9adbd
parent 7469 422c29c822ab
child 7812 ffe9ca8c9421
permissions -rw-r--r--
25590368 Userland components should include "upstream" release tracking information
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
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
    26
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
    27
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
COMPONENT_NAME=		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
    29
COMPONENT_VERSION=	2.1.6
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    30
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
    31
COMPONENT_ARCHIVE_HASH=	\
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
    sha256:1e1362ae7427c91fa53dc9c05aee4ee200e2d7d8970a891c5bd76bee28d28be4
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	\
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
	http://cache.ruby-lang.org/pub/ruby/2.1/$(COMPONENT_ARCHIVE)
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7469
diff changeset
    35
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
    36
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
TPNO=			22307
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    38
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    39
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
    40
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
# 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
    42
# 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
    43
# 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
    44
# 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
    45
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
    46
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
    47
# 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
    48
# '.' 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
    49
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
    50
# the library-compatible 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
    51
RUBY_LIB_VER=2.1.0
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
    52
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5066
diff changeset
    53
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
    54
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
    55
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
# these macros are used in the package manifest
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
PKG_MACROS+=	RUBY_VER=$(RUBY_VER) RUBY_LIB_VER=$(RUBY_LIB_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
    58
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
# 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
    60
# 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
    61
# 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
    62
# 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
    63
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
    64
	$(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
    65
	$(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
    66
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
# 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
    68
# 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
    69
# 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
    70
# 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
    71
# 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
    72
# 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
    73
# 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
    74
# 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
    75
COMPONENT_POST_INSTALL_ACTION += \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    76
	$(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
    77
 	    -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
    78
	    -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
    79
	    > Solaris/gem.1 ; \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    80
	$(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
    81
 	    -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
    82
	    -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
    83
	    > Solaris/ruby.1.sedscript.mod ; \
7469
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    84
	$(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
    85
	    -e "s/RUBY_LIB_VER/$(RUBY_LIB_VER)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    86
	    -e "s/CFLAGS_GCC/$(CFLAGS.gcc)/g" \
422c29c822ab PSARC/2016/585 Add Ruby 2.3
April Chin <april.chin@oracle.com>
parents: 6615
diff changeset
    87
	    -e "s/CXXFLAGS_GCC/$(CXXFLAGS.gcc)/g" \
6615
c59de4872b2d 24435411 In Ruby 2.1 rbconfig.rb file, CXXFLAGS should match GNU compiler options
April Chin <april.chin@oracle.com>
parents: 5682
diff changeset
    88
	    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
    89
	    > 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
    90
	$(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
    91
	    $(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
    92
	/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
    93
	$(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
    94
	$(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
    95
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
# 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
    97
# 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
    98
# 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
    99
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
   100
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
# 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
   102
# 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
   103
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
   104
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
# 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
   106
# -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
   107
# 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
   108
# (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
   109
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
   110
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
# 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
   112
# /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
   113
# 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
   114
# 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
   115
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
   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
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
   118
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
# 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
   120
# 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
   121
# 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
   122
# 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
   123
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 +=	--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
   125
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
   126
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
   127
# 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
   128
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
   129
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
   130
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
   131
# 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
   132
# 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
   133
# 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
   134
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
   135
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
   136
# 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
   137
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
   138
	# 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
   139
	# 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
   140
	# 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
   141
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
   142
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
# 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
   144
# 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
   145
# /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
   146
# 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
   147
# 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
   148
# 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
   149
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
   150
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
# 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
   152
# 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
   153
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
   154
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
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
   156
			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
   157
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
# 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
   159
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
   160
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
# 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
   162
# 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
   163
# 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
   164
# 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
   165
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
   166
	( 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
   167
	    $(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
   168
	    $(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
   169
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
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
   171
	'-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
   172
	'-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
   173
	'-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
   174
	'-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
   175
	'-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
   176
	'-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
   177
	'-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
   178
	'-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
   179
	'-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
   180
	'-e "s|\(^[[:space:]]*SOLIBS = \).*|\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
   181
	'-e "s|\(^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
   182
	'-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
   183
	'-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
   184
	'-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
   185
	'-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
   186
	'-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
   187
        '-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
   188
	'-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
   189
	'-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
   190
	'-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
   191
	'-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
   192
	'-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
   193
	'-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
   194
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
# 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
   196
# 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
   197
$(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
   198
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
REQUIRED_PACKAGES += library/database/gdbm
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
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
   201
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
   202
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
   203
REQUIRED_PACKAGES += library/security/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
   204
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
   205
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
   206
REQUIRED_PACKAGES += runtime/tk-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
   207
REQUIRED_PACKAGES += system/core-os
d367c184f47f PSARC/2015/113 Add Ruby 2.1 and EOF and Remove Ruby 1.9
April Chin <april.chin@oracle.com>
parents:
diff changeset
   208
REQUIRED_PACKAGES += system/library/math
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 += x11/library/libx11