author | Darren J Moffat <Darren.Moffat@Oracle.COM> |
Tue, 23 Feb 2016 16:05:11 +0000 | |
changeset 5488 | b5f105d9ae8b |
parent 4746 | 8e237ffd0a48 |
child 5577 | 09a6352d52ad |
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 |
# |
3743
da52fd64c863
20456728 XML-PARSER should have some master test results to compare against
Bill Rushmore <bill.rushmore@oracle.com>
parents:
1948
diff
changeset
|
21 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
22 |
# |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
23 |
|
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
24 |
# |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
25 |
# Note that package library/perl-5/xml-parser cannot use versionless |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
26 |
# packaging because this package migrated from the desktop consolidation |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
27 |
# with an incorrect version number. |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
28 |
# |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
29 |
|
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
30 |
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
|
31 |
|
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_NAME= XML-Parser |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
33 |
COMPONENT_VERSION= 2.41 |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
34 |
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
|
35 |
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:
260
diff
changeset
|
36 |
COMPONENT_ARCHIVE_HASH= \ |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
37 |
sha256:b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de9 |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
38 |
COMPONENT_ARCHIVE_URL= http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$(COMPONENT_ARCHIVE) |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
39 |
COMPONENT_PROJECT_URL= http://search.cpan.org/~toddr/ |
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 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
42 |
TPNO= 9386 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
43 |
|
1335
de08f025b1d0
16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
1170
diff
changeset
|
44 |
# build threaded 5.12 support too |
de08f025b1d0
16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
1170
diff
changeset
|
45 |
PERL_VERSIONS += 5.12-mt |
de08f025b1d0
16666707 Add Perl XML processing modules
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
1170
diff
changeset
|
46 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3743
diff
changeset
|
47 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3743
diff
changeset
|
48 |
include $(WS_MAKE_RULES)/ips.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3743
diff
changeset
|
49 |
include $(WS_MAKE_RULES)/makemaker.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3743
diff
changeset
|
50 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1335
diff
changeset
|
51 |
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
|
52 |
|
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
53 |
# 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
|
54 |
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
|
55 |
|
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
56 |
COMPONENT_TEST_TARGETS = test |
3743
da52fd64c863
20456728 XML-PARSER should have some master test results to compare against
Bill Rushmore <bill.rushmore@oracle.com>
parents:
1948
diff
changeset
|
57 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
da52fd64c863
20456728 XML-PARSER should have some master test results to compare against
Bill Rushmore <bill.rushmore@oracle.com>
parents:
1948
diff
changeset
|
58 |
COMPONENT_TEST_TRANSFORMS += \ |
4746
8e237ffd0a48
20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents:
4339
diff
changeset
|
59 |
'-e "s|\(^Files=\).*|\1|" ' \ |
8e237ffd0a48
20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents:
4339
diff
changeset
|
60 |
'-e "s|\(^PERL_DL_NONLAZY=\).*|\1|" ' \ |
8e237ffd0a48
20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents:
4339
diff
changeset
|
61 |
'-e "/\(^Running Mkbootstrap for XML::Parser::Expat ()\).*/d" ' \ |
8e237ffd0a48
20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents:
4339
diff
changeset
|
62 |
'-e "/\(^chmod 644 Expat.bs\).*/d" ' |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
63 |
|
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
64 |
PKG_MACROS += PERL_A=$(shell arch) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
65 |
|
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
66 |
build: $(BUILD_32_and_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
67 |
|
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
68 |
install: $(INSTALL_32_and_64) |
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
69 |
|
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1058
diff
changeset
|
70 |
test: $(TEST_32_and_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
71 |
|
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
|
72 |
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
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
|
73 |
|
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
diff
changeset
|
74 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3743
diff
changeset
|
75 |
REQUIRED_PACKAGES += library/expat |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3743
diff
changeset
|
76 |
REQUIRED_PACKAGES += system/library |