components/python/python27/Makefile
author John Beck <John.Beck@Oracle.COM>
Wed, 26 Apr 2017 11:43:06 -0700
changeset 7952 b54192113df3
parent 7687 1093e2a9adbd
permissions -rw-r--r--
25961779 python27 should support 'gmake system-test'
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5558
diff changeset
    21
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5558
diff changeset
    22
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7516
diff changeset
    23
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    24
#
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    25
include ../../../make-rules/shared-macros.mk
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_NAME=		Python
7516
09c933391a1b 25293039 Upgrade Python 2.7 line to 2.7.13
John Beck <John.Beck@Oracle.COM>
parents: 7095
diff changeset
    30
COMPONENT_VERSION=	2.7.13
09c933391a1b 25293039 Upgrade Python 2.7 line to 2.7.13
John Beck <John.Beck@Oracle.COM>
parents: 7095
diff changeset
    31
COMPONENT_PROJECT_URL=	https://python.org/
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
1914
00e8dbcb9b1e PSARC 2014/183 Python 2.7.6
John Beck <John.Beck@Oracle.COM>
parents: 1303
diff changeset
    33
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 774
diff changeset
    34
COMPONENT_ARCHIVE_HASH=	\
7516
09c933391a1b 25293039 Upgrade Python 2.7 line to 2.7.13
John Beck <John.Beck@Oracle.COM>
parents: 7095
diff changeset
    35
    sha256:35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 578
diff changeset
    36
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)ftp/python/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
3555
76f4672c5e4b 20230129 update Python 2.7 line to version 2.7.9
John Beck <John.Beck@Oracle.COM>
parents: 3497
diff changeset
    37
COMPONENT_SIG_URL=	$(COMPONENT_ARCHIVE_URL).asc
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 975
diff changeset
    38
COMPONENT_BUGDB=	utility/python
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7516
diff changeset
    39
COMPONENT_ANITYA_ID=	13255
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    40
7516
09c933391a1b 25293039 Upgrade Python 2.7 line to 2.7.13
John Beck <John.Beck@Oracle.COM>
parents: 7095
diff changeset
    41
TPNO=			33100
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1914
diff changeset
    42
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
    43
include $(WS_MAKE_RULES)/prep.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
    44
include $(WS_MAKE_RULES)/configure.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
    45
include $(WS_MAKE_RULES)/ips.mk
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
    46
include $(WS_MAKE_RULES)/lint-libraries.mk
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    47
1246
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
    48
# Need to preserve timestamp for Grammar files.  If the pickle files are older, 
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
    49
# Python will try to rebuild them.  
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
    50
PKGSEND_PUBLISH_OPTIONS += -T \*Grammar\*.txt
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
    51
PKGSEND_PUBLISH_OPTIONS += -T \*Grammar\*.pickle
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
    52
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
# We patch auto* files, so regenerate headers and configure
4978
055c17ca3402 22065993 python Makefiles should use autoconf -f
John Beck <John.Beck@Oracle.COM>
parents: 4780
diff changeset
    54
COMPONENT_PREP_ACTION = (cd $(@D) ; autoheader ; autoconf -f)
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
6903
9681a8af4330 24589114 build python in C99 mode to prepare for move to Studio 12.5
John Beck <John.Beck@Oracle.COM>
parents: 6552
diff changeset
    56
studio_C99MODE= $(studio_C99_ENABLE)
9681a8af4330 24589114 build python in C99 mode to prepare for move to Studio 12.5
John Beck <John.Beck@Oracle.COM>
parents: 6552
diff changeset
    57
CFLAGS += $(XPG6MODE)
9681a8af4330 24589114 build python in C99 mode to prepare for move to Studio 12.5
John Beck <John.Beck@Oracle.COM>
parents: 6552
diff changeset
    58
896
50be262e44f7 7155369 mdb should work with python 2.7 bits
Rich Burridge <rich.burridge@oracle.com>
parents: 885
diff changeset
    59
CPPFLAGS +=	-IPython
50be262e44f7 7155369 mdb should work with python 2.7 bits
Rich Burridge <rich.burridge@oracle.com>
parents: 885
diff changeset
    60
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    61
# to find the ncurses headers
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    62
CPPFLAGS +=	-I/usr/include/ncurses
896
50be262e44f7 7155369 mdb should work with python 2.7 bits
Rich Burridge <rich.burridge@oracle.com>
parents: 885
diff changeset
    63
# enable large files how they did in JDS
50be262e44f7 7155369 mdb should work with python 2.7 bits
Rich Burridge <rich.burridge@oracle.com>
parents: 885
diff changeset
    64
CPPFLAGS +=	-D_LARGEFILE64_SOURCE
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    65
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    66
# libffi for _ctypes
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    67
CPPFLAGS +=	$(shell pkg-config --cflags-only-I libffi)
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    68
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    69
# because python links with $(CC) ... $(LDFLAGS) ...
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    70
LDFLAGS =	$(CC_BITS) $(CC_PIC)
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    71
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    72
# build pic
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    73
CFLAGS +=	$(CC_PIC)
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    74
7095
6469e6424607 24811276 Fix 64-bit Python builds so pstack(1) will work
Chad Mynhier <chad.mynhier@oracle.com>
parents: 6903
diff changeset
    75
# for DWARF
6469e6424607 24811276 Fix 64-bit Python builds so pstack(1) will work
Chad Mynhier <chad.mynhier@oracle.com>
parents: 6903
diff changeset
    76
CFLAGS.i386 =	-preserve_argvalues=complete
6469e6424607 24811276 Fix 64-bit Python builds so pstack(1) will work
Chad Mynhier <chad.mynhier@oracle.com>
parents: 6903
diff changeset
    77
CFLAGS +=	$(CFLAGS.$(MACH))
6469e6424607 24811276 Fix 64-bit Python builds so pstack(1) will work
Chad Mynhier <chad.mynhier@oracle.com>
parents: 6903
diff changeset
    78
634
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    79
# The python build is profile-guided for studio; to see the benefits of that,
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    80
# Python must be compiled with -xO5 and a different build target must be used.
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    81
# Use of xprofile requires that the same options be used during compilation and
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    82
# linking.  The targets chosen are based on Solaris 11 minimum supported system
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    83
# requirements.
6058
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    84
#
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    85
# We bypass the profile build for one file (ceval.c; see the DTrace patch)
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    86
# and reduce the optimization level for that same file to work around a
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    87
# problem (see bug 23467236) where Python would core dump on sparc when
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    88
# run under DTrace.
634
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    89
COMPONENT_BUILD_TARGETS = profile-opt
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    90
XPROFILE_DIR = $(BUILD_DIR_$(BITS))/.profile
975
44e81e837f1f 7197384 move to parfait 1.0.1
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 896
diff changeset
    91
PYFLAGS.i386 = -xtarget=opteron -xarch=sse2 -xcache=generic
634
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
    92
PYFLAGS.sparc =
6058
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    93
CEVAL_PATSUBST.i386 =	
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    94
CEVAL_PATSUBST.sparc =	"-xprofile=\%"
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    95
CEVAL_PATSUBST =	$(CEVAL_PATSUBST.$(MACH))
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    96
CEVAL_CFLAGS.i386 =	$(CFLAGS)
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    97
CEVAL_CFLAGS.sparc =	$(subst -xO5,-xO4,$(CFLAGS))
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    98
CEVAL_CFLAGS =		$(CEVAL_CFLAGS.$(MACH))
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
    99
634
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
   100
CFLAGS += -xO5 $(PYFLAGS.$(MACH))
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
   101
LDFLAGS += -xO5 $(PYFLAGS.$(MACH))
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
   102
5936
56a9d82c570e 21658934 Python is not ADI-safe
Enrico Perla <enrico.perla@oracle.com>
parents: 5846
diff changeset
   103
# Use the Studio VIS SDK in order to explicitly generate nonfaulting loads
56a9d82c570e 21658934 Python is not ADI-safe
Enrico Perla <enrico.perla@oracle.com>
parents: 5846
diff changeset
   104
# that allow Python to work with ADI-aware memory allocators.
56a9d82c570e 21658934 Python is not ADI-safe
Enrico Perla <enrico.perla@oracle.com>
parents: 5846
diff changeset
   105
CFLAGS.studio.sparc.64 +=  -xvis
56a9d82c570e 21658934 Python is not ADI-safe
Enrico Perla <enrico.perla@oracle.com>
parents: 5846
diff changeset
   106
578
4f51372decaf 7053223 python needs lint libraries
Danek Duvall <danek.duvall@oracle.com>
parents: 458
diff changeset
   107
# Python puts its header files in a special place.
4f51372decaf 7053223 python needs lint libraries
Danek Duvall <danek.duvall@oracle.com>
parents: 458
diff changeset
   108
LINT_FLAGS +=	-I$(SOURCE_DIR)/Include
4f51372decaf 7053223 python needs lint libraries
Danek Duvall <danek.duvall@oracle.com>
parents: 458
diff changeset
   109
3693
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   110
# PYTHONPATH in the environment can be harmful, but setting it to empty via
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   111
# _INSTALL_ENV causes problems too, so just ignore the entire environment.
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   112
# Because of this, we need to specify PATH in multiple places below.
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   113
ENV +=				-i
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   114
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   115
CONFIGURE_ENV +=		PATH="$(PATH)"
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   116
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   117
CONFIGURE_OPTIONS  +=		--infodir=$(CONFIGURE_INFODIR)
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   118
CONFIGURE_OPTIONS  +=		--enable-shared
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   119
CONFIGURE_OPTIONS  +=		--with-system-expat
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   120
CONFIGURE_OPTIONS  +=		--with-system-ffi
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   121
CONFIGURE_OPTIONS  +=		--without-gcc
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   122
CONFIGURE_OPTIONS  +=		--enable-ipv6
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   123
CONFIGURE_OPTIONS  +=		CPPFLAGS="$(CPPFLAGS)"
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   124
CONFIGURE_OPTIONS  +=		LDFLAGS="$(LDFLAGS)"
896
50be262e44f7 7155369 mdb should work with python 2.7 bits
Rich Burridge <rich.burridge@oracle.com>
parents: 885
diff changeset
   125
CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   126
CONFIGURE_OPTIONS  +=		DFLAGS="-$(BITS)"
634
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
   127
CONFIGURE_OPTIONS  +=		XPROFILE_DIR="$(XPROFILE_DIR)"
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   128
3693
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   129
COMPONENT_BUILD_ENV  +=		PATH="$(PATH)"
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   130
COMPONENT_BUILD_ENV  +=		DFLAGS="-$(BITS)"
634
bd9c94f9f6e0 6771457 explore compiler performance improvements for python
Shawn Walker <shawn.walker@oracle.com>
parents: 609
diff changeset
   131
COMPONENT_BUILD_ENV  +=		XPROFILE_DIR="$(XPROFILE_DIR)"
6058
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
   132
COMPONENT_BUILD_ENV  +=		CEVAL_CFLAGS="$(CEVAL_CFLAGS)"
dd8b0bdd3859 23311386 python2.7 dumps core on SPARC when DTrace on Python is running
John Beck <John.Beck@Oracle.COM>
parents: 5936
diff changeset
   133
COMPONENT_BUILD_ENV  +=		CEVAL_PATSUBST="$(CEVAL_PATSUBST)"
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   134
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   135
# 64 bit shared objects need to go in a 64-bit directory
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   136
COMPONENT_INSTALL_ARGS.64 += DESTSHARED=$(CONFIGURE_PREFIX)/lib/python2.7/lib-dynload
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   137
3497
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   138
# Simplify the definitions of CC, CXX, CFLAGS and LDFLAGS so they hard-code
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   139
# neither paths from our build systems nor Studio-specific options.
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   140
COMPONENT_PRE_INSTALL_ACTION= \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   141
            (cd $(@D) ; $(GSED) -i -e 's/^CC=.*/CC=\t\tcc/' \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   142
		-e 's/^CXX=.*/CXX=\t\tCC/' \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   143
		-e 's/^CFLAGS=.*/CFLAGS=\t\t\$$\(BASECFLAGS) \$$\(OPT) \$$\(EXTRA_CFLAGS)/' \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   144
		-e 's|^LDFLAGS=.*|LDFLAGS=|' \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   145
		Makefile)
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   146
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   147
# Because we stripped the Makefile above, we need to pass several things in the
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   148
# environment, and use -e to tell gmake to pay attention to the environment.
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   149
COMPONENT_INSTALL_ENV +=	CC="$(CC)"
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   150
COMPONENT_INSTALL_ENV +=	CXX="$(CXX)"
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   151
COMPONENT_INSTALL_ENV +=	CFLAGS="$(CFLAGS)"
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   152
COMPONENT_INSTALL_ENV +=	LDFLAGS="$(LDFLAGS)"
3693
db350599ce68 20396493 environment influences python2.7 and python3.4 builds
John Beck <John.Beck@Oracle.COM>
parents: 3555
diff changeset
   153
COMPONENT_INSTALL_ENV +=	PATH="$(PATH)"
3497
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   154
COMPONENT_INSTALL_ARGS +=	-e
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   155
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   156
# 1. Setup pyconfig.h file to support 32 & 64 bit.
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   157
# 2. If the /usr/lib/python2.7/lib2to3/*.pickle files are older than the
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   158
#    related *.txt files in the same directory, it will rebuild them any time
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   159
#    you try to build a Python module.  So here we also touch the pickle files
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   160
#    to avoid this.
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   161
# 3. Strip build machine paths from _sysconfigdata.py & config/Makefile.
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   162
#    Note that although the 64-bit version is not used (and thus commented
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   163
#    out in the manifest), we still need to specify the 32-/64-bit paths,
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   164
#    otherwise the 64-bit build will fail to find the 32-bit path.
3872
22a6f441c13d 20616942 package runtime/python-27 is not pkg verify clean
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
   165
# 4. (Re)compile _sysconfigdata.py since we just updated it.
3497
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   166
CONFIG_MAKEFILE.32=	lib/python2.7/config/Makefile
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   167
CONFIG_MAKEFILE.64=	lib/$(MACH64)/python2.7/config/Makefile
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   168
CONFIG_MAKEFILE=	$(CONFIG_MAKEFILE.$(BITS))
1246
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   169
COMPONENT_POST_INSTALL_ACTION= \
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   170
            (cd $(PROTOUSRDIR) ;  \
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   171
             $(MV) include/python2.7/pyconfig.h include/python2.7/pyconfig-$(BITS).h ; \
3497
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   172
             $(TOUCH) lib/python2.7/lib2to3/*.pickle ; \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   173
	     $(GSED) -i -e 's|$(SOURCE_DIR)|.|g' -e 's|$(COMPONENT_DIR)|..|g' \
091183b2cc24 16837431 /usr/lib/python2.7/config/Makefile is incorrect
John Beck <John.Beck@Oracle.COM>
parents: 2225
diff changeset
   174
		-e 's|$(SPRO_VROOT)/bin/||g' lib/python2.7/_sysconfigdata.py \
3872
22a6f441c13d 20616942 package runtime/python-27 is not pkg verify clean
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
   175
		$(CONFIG_MAKEFILE); \
22a6f441c13d 20616942 package runtime/python-27 is not pkg verify clean
John Beck <John.Beck@Oracle.COM>
parents: 3817
diff changeset
   176
	     $(PYTHON.2.7) -m py_compile lib/python2.7/_sysconfigdata.py)
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   177
1246
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   178
# common targets
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   179
$(INSTALL_32):  $(INSTALL_64)
2225
f064d3d3190d 20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents: 2028
diff changeset
   180
configure:	$(CONFIGURE_32_and_64)
1246
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   181
build:		$(BUILD_32_and_64)
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   182
install:	$(INSTALL_32_and_64)
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   183
1246
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   184
# Using "-uall,-network" ensures all tests are run except the network tests.
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   185
# The network tests contain many expected failures when run behind a firewall.
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   186
# The "-v" ensures verbose mode.  You can set TESTOPTS_PYTHON_TEST to a
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   187
# particular test if you want to run just one test.  For example, run gmake with
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   188
# "-k" so it continues and does both 32-bit and 64-bit tests, even if there is a
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   189
# failure, like this:
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   190
# $ TESTOPTS_PYTHON_TEST=test_sys gmake -k test
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   191
# Note that when a test succeeds, the builds/*/.tested file gets created.  You
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   192
# may need to remove these files, or run "gmake clobber" or "gmake clean"
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   193
# between tests.
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   194
#
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   195
COMPONENT_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
3722
e76241a68272 20463707 Python's distutils test need compiler in PATH
John Beck <John.Beck@Oracle.COM>
parents: 3693
diff changeset
   196
# The distutils tests need $CC in $PATH.
e76241a68272 20463707 Python's distutils test need compiler in PATH
John Beck <John.Beck@Oracle.COM>
parents: 3693
diff changeset
   197
COMPONENT_TEST_ENV += PATH="$(SPRO_VROOT)/bin:$(PATH)"
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   198
COMPONENT_TEST_TARGETS = test
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   199
3747
d2f2bcf116e8 20441004 Python master test results
John Beck <John.Beck@Oracle.COM>
parents: 3722
diff changeset
   200
# The test output contains details from each test, in whatever order they
d2f2bcf116e8 20441004 Python master test results
John Beck <John.Beck@Oracle.COM>
parents: 3722
diff changeset
   201
# complete.  The default _TRANSFORMER is not powerful enough to deal with
d2f2bcf116e8 20441004 Python master test results
John Beck <John.Beck@Oracle.COM>
parents: 3722
diff changeset
   202
# this; we need heavier artillery.  Extract just the sections that start
5558
f53e74f04003 22876074 python2.7 argparse.py causes warnings when passed to xgettext
John Beck <John.Beck@Oracle.COM>
parents: 5468
diff changeset
   203
# with "tests OK." and end with "Makefile: " for comparison.
3747
d2f2bcf116e8 20441004 Python master test results
John Beck <John.Beck@Oracle.COM>
parents: 3722
diff changeset
   204
COMPONENT_TEST_TRANSFORMER =	$(NAWK)
5558
f53e74f04003 22876074 python2.7 argparse.py causes warnings when passed to xgettext
John Beck <John.Beck@Oracle.COM>
parents: 5468
diff changeset
   205
COMPONENT_TEST_TRANSFORMS =	"'/tests OK./ {results = 1}; /Makefile:/ {results = 0} {if (results) print $0 } '"
3747
d2f2bcf116e8 20441004 Python master test results
John Beck <John.Beck@Oracle.COM>
parents: 3722
diff changeset
   206
7952
b54192113df3 25961779 python27 should support 'gmake system-test'
John Beck <John.Beck@Oracle.COM>
parents: 7687
diff changeset
   207
COMPONENT_SYSTEM_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
b54192113df3 25961779 python27 should support 'gmake system-test'
John Beck <John.Beck@Oracle.COM>
parents: 7687
diff changeset
   208
COMPONENT_SYSTEM_TEST_TARGETS = 
b54192113df3 25961779 python27 should support 'gmake system-test'
John Beck <John.Beck@Oracle.COM>
parents: 7687
diff changeset
   209
COMPONENT_SYSTEM_TEST_CMD=      $(PYTHON.2.7)
b54192113df3 25961779 python27 should support 'gmake system-test'
John Beck <John.Beck@Oracle.COM>
parents: 7687
diff changeset
   210
COMPONENT_SYSTEM_TEST_ARGS=     /usr/lib/python2.7/test/regrtest.py -v -uall,-network
b54192113df3 25961779 python27 should support 'gmake system-test'
John Beck <John.Beck@Oracle.COM>
parents: 7687
diff changeset
   211
1246
164605dfef4e 15799279 - Some Python 2.6 and 2.7 "gmake test" tests fail
Brian Cameron <brian.cameron@oracle.com>
parents: 1058
diff changeset
   212
test:				$(TEST_32_and_64)
458
2edc011b559e 7004671 Add Python 2.7.1
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   213
7952
b54192113df3 25961779 python27 should support 'gmake system-test'
John Beck <John.Beck@Oracle.COM>
parents: 7687
diff changeset
   214
system-test:    $(SYSTEM_TEST_32_and_64)
4339
6501cf9c29f9 21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents: 3872
diff changeset
   215
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   216
REQUIRED_PACKAGES += compress/bzip2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   217
REQUIRED_PACKAGES += database/sqlite-3
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   218
REQUIRED_PACKAGES += developer/library/xprofile
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   219
REQUIRED_PACKAGES += library/database/gdbm
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   220
REQUIRED_PACKAGES += library/expat
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   221
REQUIRED_PACKAGES += library/libffi
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   222
REQUIRED_PACKAGES += library/ncurses
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   223
REQUIRED_PACKAGES += library/python/pip-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   224
REQUIRED_PACKAGES += library/readline
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   225
REQUIRED_PACKAGES += library/security/openssl
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   226
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   227
REQUIRED_PACKAGES += runtime/tcl-8
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   228
REQUIRED_PACKAGES += runtime/tk-8
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   229
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   230
REQUIRED_PACKAGES += system/core-os
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   231
REQUIRED_PACKAGES += system/library/math
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3759
diff changeset
   232
REQUIRED_PACKAGES += x11/library/libx11