components/libxml2/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 5136 545b33faf1ec
child 6083 94153df5c522
permissions -rw-r--r--
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh 22228656 remove redundant declarations and additions from makefiles 22252545 simplify build rules for components from common upstream 22378457 tclConfig.sh compiler settings are too specific 22727315 httping curses gui missing 22750630 procmail ignores userland cflags and may use private strstr function 22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff 22926847 cloog Makefile typo when setting ASLR_MODE 22935090 tk config script has wrong linker flags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     1
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     3
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     7
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    12
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    18
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    20
#
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    21
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@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: 5136
diff changeset
    25
BUILD_BITS= 64_and_32
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    27
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		libxml2
5136
545b33faf1ec 22274306 Upgrade libxml2 to version 2.9.3
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5066
diff changeset
    29
COMPONENT_VERSION=	2.9.3
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 558
diff changeset
    30
COMPONENT_PROJECT_URL=	http://xmlsoft.org/
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 782
diff changeset
    31
COMPONENT_ARCHIVE_HASH=	\
5136
545b33faf1ec 22274306 Upgrade libxml2 to version 2.9.3
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5066
diff changeset
    32
    sha256:4de9e31f46b44d34871c22f54bfc54398ef124d6f7cafb1f4a5958fbcd3ba12d
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_URL=	ftp://xmlsoft.org/libxml2/$(COMPONENT_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 1044
diff changeset
    34
COMPONENT_BUGDB=	library/libxml
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    35
918
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents: 800
diff changeset
    36
# W3C XML Conformance Test Suites
1044
ab6b15638457 15825143 SUNBT7206540 Upgrade libxml2 to version 2.9.0
Petr Sumbera <petr.sumbera@oracle.com>
parents: 918
diff changeset
    37
COMPONENT_ARCHIVE_1= xmlts20080827.tar.gz
918
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents: 800
diff changeset
    38
COMPONENT_ARCHIVE_HASH_1= \
1044
ab6b15638457 15825143 SUNBT7206540 Upgrade libxml2 to version 2.9.0
Petr Sumbera <petr.sumbera@oracle.com>
parents: 918
diff changeset
    39
    sha256:96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7
918
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents: 800
diff changeset
    40
COMPONENT_ARCHIVE_URL_1= http://www.w3.org/XML/Test/$(COMPONENT_ARCHIVE_1)
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents: 800
diff changeset
    41
5136
545b33faf1ec 22274306 Upgrade libxml2 to version 2.9.3
Petr Sumbera <petr.sumbera@oracle.com>
parents: 5066
diff changeset
    42
TPNO=			25711
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1288
diff changeset
    43
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
    44
SYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_32_and_64)
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
    45
include $(WS_MAKE_RULES)/common.mk
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    46
3494
21eb60acf6db 20099945 deliver libxml2 tools as 64bit and ASLR enabled
Petr Sumbera <petr.sumbera@oracle.com>
parents: 2225
diff changeset
    47
ASLR_MODE = $(ASLR_ENABLE)
21eb60acf6db 20099945 deliver libxml2 tools as 64bit and ASLR enabled
Petr Sumbera <petr.sumbera@oracle.com>
parents: 2225
diff changeset
    48
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    49
CFLAGS +=	$(CPP_LARGEFILES)
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    50
LDFLAGS +=	$(LD_Z_DEFS) $(LD_Z_TEXT) -lpthread
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    51
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --disable-static
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --with-pic
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --with-threads
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
2186
7efbe05bf862 19875486 Upgrade libxml2 to version 2.9.2
Petr Sumbera <petr.sumbera@oracle.com>
parents: 2176
diff changeset
    56
CONFIGURE_OPTIONS += --with-python-install-dir=$(PYTHON_VENDOR_PACKAGES)
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
    57
# Cannot link to lzma since it's not in /lib and install media still has separate /usr.
1044
ab6b15638457 15825143 SUNBT7206540 Upgrade libxml2 to version 2.9.0
Petr Sumbera <petr.sumbera@oracle.com>
parents: 918
diff changeset
    58
CONFIGURE_OPTIONS += --without-lzma
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    59
673
bb9df3c906be PSARC 2012/033 automake 1.11.2
Rich Burridge <rich.burridge@oracle.com>
parents: 609
diff changeset
    60
COMPONENT_PREP_ACTION += (cd $(@D) ; cp ../mapfile libxml2.syms ; autoreconf -if)
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
    61
2032
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    62
# After we have configured, make a copy of the python bits so we can build and
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    63
# test separate python 2.7 and 3.4 support.  Note for 3.4: .py files need to
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    64
# go in .../vendor-packages (whether building 32-bit or 64-bit) whereas .so
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    65
# files need to go in .../vendor-packages for 32-bit but .../vendor-packages/64
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    66
# for 64-bit.  For 2.7, Python is built 32- and 64-bit, so .py files end
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    67
# up in both places even though only the 32-bit location is needed, but the
2032
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    68
# superfluous files in the proto area are harmless; meanwhile, the .so files
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    69
# end up in their proper 32- and 64-bit locations.  But Python 3.4 is built
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    70
# 64-bit only, so we have an extra sed edit below to force the .py files into
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    71
# the 32-bit location and we manually specify the 32-bit path in the manifest
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    72
# to correct for the .so file being installed there instead of the 64-bit path
2060
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 2032
diff changeset
    73
# where it belongs.  Further, Python 3.4 needs an extra 'm' on the link and
a9ad5cd0ec29 19492342 Python 3.4 should be built --with-pymalloc
John Beck <John.Beck@Oracle.COM>
parents: 2032
diff changeset
    74
# include paths, plus a tweak to the binary path; see PEP 3149 for details.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
    75
COMPONENT_POST_CONFIGURE_ACTION += \
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    76
    (cd $(@D) ; cp -rp python python3.4 ; \
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    77
    $(GSED) -i -e 's|-lpython2[.]7|-lpython3.4m|' \
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    78
     -e 's|usr/bin/$(MACH64)/python2[.]7|usr/bin/python3.4m|' \
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    79
     -e 's|usr/include/python2[.]7|usr/include/python3.4m|' \
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    80
     -e 's/2[.]7/3.4/g' -e 's|vendor-packages/64|vendor-packages|' \
2032
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    81
     `find python3.4 -name Makefile` ; \
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    82
)
706
6e61f0012046 7108059 Userland should have python2.7 version of its python modules
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 673
diff changeset
    83
4984
7145b15b7f0d PSARC 2014/190 Python 2.6 EOF
John Beck <John.Beck@Oracle.COM>
parents: 4530
diff changeset
    84
# It's also nice to test python 3.4 modules.
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
    85
COMPONENT_POST_TEST_ACTION += \
5059
61e2751151cd 22097432 problem in LIBRARY/LIBXML
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4984
diff changeset
    86
    ( if [ $(BITS) -eq 64 ]; then \
61e2751151cd 22097432 problem in LIBRARY/LIBXML
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4984
diff changeset
    87
	cd $(@D)/python3.4 ; \
61e2751151cd 22097432 problem in LIBRARY/LIBXML
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4984
diff changeset
    88
	$(GMAKE) $(COMPONENT_TEST_ARGS) test ; \
61e2751151cd 22097432 problem in LIBRARY/LIBXML
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4984
diff changeset
    89
     else \
61e2751151cd 22097432 problem in LIBRARY/LIBXML
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4984
diff changeset
    90
        true ; \
61e2751151cd 22097432 problem in LIBRARY/LIBXML
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4984
diff changeset
    91
     fi )
1288
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    92
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    93
# We have patched our 64 bit python so it will search for modules only in
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    94
# '64/' directories. Now we need to provide one. Otherwise python will
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    95
# end up using libxml2mod.so installed on system.
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    96
$(BUILD_DIR)/$(MACH64)/.tested: COMPONENT_PRE_TEST_ACTION = ( \
2032
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    97
    $(MKDIR) $(@D)/python/.libs/64 \
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    98
             $(@D)/python3.4/.libs/64; \
1288
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
    99
    $(SYMLINK) ../libxml2mod.so $(@D)/python/.libs/64/libxml2mod.so; \
2032
916ced318d1e 19317151 libxml2 needs Python 3 module
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
   100
    $(SYMLINK) ../libxml2mod.so $(@D)/python3.4/.libs/64/libxml2mod.so);
1288
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
   101
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
   102
COMPONENT_PRE_TEST_ACTION += \
ef52cf7d626e 16738474 Upgrade libxml2 to version 2.9.1
Petr Sumbera <petr.sumbera@oracle.com>
parents: 1058
diff changeset
   103
    (cd $(@D) ; gtar xf $(COMPONENT_DIR)/$(COMPONENT_ARCHIVE_1));
706
6e61f0012046 7108059 Userland should have python2.7 version of its python modules
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 673
diff changeset
   104
4530
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   105
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   106
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   107
COMPONENT_TEST_TRANSFORMS = \
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   108
	'-e "s/^make\[.*$$/[EnD]/" ' \
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   109
	'-e "/^\#\# XML regression tests/,/^\[EnD\]/p" ' \
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   110
	'-e "/^\#\# running Python regression tests/,/^\[EnD\]/p" ' \
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   111
        '-e "/.*/d" '
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   112
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   113
COMPONENT_SYSTEM_TEST_TARGETS = system-test 
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   114
COMPONENT_PRE_SYSTEM_TEST_ACTION += $(COMPONENT_PRE_TEST_ACTION)
4530
57e1c0fb4585 21287299 libxml2 master test results and system test support
Petr Sumbera <petr.sumbera@oracle.com>
parents: 4339
diff changeset
   115
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   116
COMPONENT_POST_INSTALL_ACTION.32 += \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   117
	$(PYTHON.2.7.32) -m compileall $(PROTOUSRLIBDIR)/python2.7/vendor-packages;
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   118
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   119
# After we have built/installed libxml2, build/install the python
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   120
# support for python 3.4
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   121
COMPONENT_POST_INSTALL_ACTION.64 += \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   122
	cd $(@D)/python3.4 ; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   123
	$(GMAKE) $(COMPONENT_INSTALL_ARGS) install ; \
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 5136
diff changeset
   124
	$(PYTHON.3.4.64) -m compileall $(PROTOUSRLIBDIR)/python3.4/vendor-packages;
148
33ca3897ae25 7029701 libxml2 should move to userland
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
diff changeset
   125
3817
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3494
diff changeset
   126
REQUIRED_PACKAGES += library/libxml2
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3494
diff changeset
   127
REQUIRED_PACKAGES += library/zlib
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3494
diff changeset
   128
REQUIRED_PACKAGES += runtime/python-27
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3494
diff changeset
   129
REQUIRED_PACKAGES += runtime/python-34
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3494
diff changeset
   130
REQUIRED_PACKAGES += shell/ksh93
30b42c38bbc4 15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents: 3494
diff changeset
   131
REQUIRED_PACKAGES += system/library/math