author | Norm Jacobs <Norm.Jacobs@Oracle.COM> |
Tue, 18 Oct 2016 13:46:28 -0500 | |
changeset 7126 | c0715e78cafb |
parent 7117 | f7dc231928a9 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
1 |
# |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
3 |
# |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
7 |
# |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
12 |
# |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
18 |
# |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@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:
5577
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5577
diff
changeset
|
22 |
# |
5577
09a6352d52ad
22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5054
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
24 |
# |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
25 |
|
7117
f7dc231928a9
23131855 Upgrade xml-simple to 2.22
Jingning Ji <jingning.ji@oracle.com>
parents:
5797
diff
changeset
|
26 |
# Note that the use of this module itself is discouraged in new code. |
f7dc231928a9
23131855 Upgrade xml-simple to 2.22
Jingning Ji <jingning.ji@oracle.com>
parents:
5797
diff
changeset
|
27 |
# Other modules like XML::LibXML is highly recommended. |
f7dc231928a9
23131855 Upgrade xml-simple to 2.22
Jingning Ji <jingning.ji@oracle.com>
parents:
5797
diff
changeset
|
28 |
|
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
29 |
include ../../../make-rules/shared-macros.mk |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
30 |
|
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_NAME= XML-Simple |
7117
f7dc231928a9
23131855 Upgrade xml-simple to 2.22
Jingning Ji <jingning.ji@oracle.com>
parents:
5797
diff
changeset
|
32 |
COMPONENT_VERSION= 2.22 |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
313
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
7117
f7dc231928a9
23131855 Upgrade xml-simple to 2.22
Jingning Ji <jingning.ji@oracle.com>
parents:
5797
diff
changeset
|
36 |
sha256:b9450ef22ea9644ae5d6ada086dc4300fa105be050a2030ebd4efd28c198eb49 |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= \ |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
38 |
http://www.cpan.org/authors/id/G/GR/GRANTM/$(COMPONENT_ARCHIVE) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
39 |
COMPONENT_PROJECT_URL= http://search.cpan.org/~grantm/ |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
40 |
COMPONENT_BUGDB= perl-mod/xml-parser |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
41 |
|
7117
f7dc231928a9
23131855 Upgrade xml-simple to 2.22
Jingning Ji <jingning.ji@oracle.com>
parents:
5797
diff
changeset
|
42 |
TPNO= 31845 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
43 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
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:
1948
diff
changeset
|
46 |
include $(WS_MAKE_RULES)/makemaker.mk |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
47 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1335
diff
changeset
|
48 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
1170
63707ad3c24c
16389410 perl 5.16 should be built with ASLR enabled
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1152
diff
changeset
|
49 |
|
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
50 |
# man pages go in the common area |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
51 |
COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR) |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
52 |
|
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
53 |
COMPONENT_TEST_TARGETS = test |
5577
09a6352d52ad
22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5054
diff
changeset
|
54 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
5054
91b97df27c58
22136498 GNU which really doesn't have any tests
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
55 |
COMPONENT_TEST_TRANSFORMS += \ |
5577
09a6352d52ad
22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5054
diff
changeset
|
56 |
'-e "/^PERL_DL_NONLAZY/d" ' \ |
09a6352d52ad
22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5054
diff
changeset
|
57 |
'-e "/^\#/d" ' \ |
5054
91b97df27c58
22136498 GNU which really doesn't have any tests
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
58 |
'-e "s|\(^Files=\).*|\1|" ' |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
59 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
60 |
build: $(BUILD_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
61 |
|
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
62 |
install: $(INSTALL_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
63 |
|
5577
09a6352d52ad
22897315 add perl modules support for perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5054
diff
changeset
|
64 |
# Must have xml-parser installed for these tests to pass. |
5797
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
65 |
test: $(TEST_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
66 |
|
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3817
diff
changeset
|
67 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |