author | John Beck <John.Beck@Oracle.COM> |
Mon, 16 May 2016 17:12:29 -0700 | |
changeset 6009 | f947b86fc7dd |
parent 5878 | 85ea3e08eed7 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
1 |
# |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
3 |
# |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
7 |
# |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
12 |
# |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
18 |
# |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@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:
4339
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
24 |
# |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
157
diff
changeset
|
25 |
include ../../../make-rules/shared-macros.mk |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
26 |
|
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
27 |
COMPONENT_NAME= DBI |
5878
85ea3e08eed7
23133251 Upgrade DBI to 1.636
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
5797
diff
changeset
|
28 |
COMPONENT_VERSION= 1.636 |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
30 |
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
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
5878
85ea3e08eed7
23133251 Upgrade DBI to 1.636
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
5797
diff
changeset
|
32 |
sha256:8f7ddce97c04b4b7a000e65e5d05f679c964d62c8b02c94c1a7d815bb2dd676c |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
157
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= http://backpan.perl.org/authors/id/T/TI/TIMB/$(COMPONENT_ARCHIVE) |
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
157
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://search.cpan.org/~timb/DBI/ |
1071
cc3ecf7b3dec
15959394 Several Userland components are using the wrong BugDB cat/subcat.
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
35 |
COMPONENT_BUGDB= perl-mod/dbi |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
36 |
|
5878
85ea3e08eed7
23133251 Upgrade DBI to 1.636
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
5797
diff
changeset
|
37 |
TPNO= 28024 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1583
diff
changeset
|
38 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
39 |
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
|
40 |
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
|
41 |
include $(WS_MAKE_RULES)/makemaker.mk |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@oracle.com>
parents:
diff
changeset
|
42 |
|
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
|
43 |
COMPONENT_TEST_ARGS = -k -i |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1071
diff
changeset
|
44 |
COMPONENT_TEST_TARGETS = test |
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
|
45 |
COMPONENT_TEST_TRANSFORMS += \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
46 |
'-e "/^[mM]ake/d" ' \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
47 |
'-e "/^Files/d" ' \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
48 |
'-e "/^PERL/d" ' \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
49 |
'-e "/^Running/d" ' \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
50 |
'-e "/^chmod/d" ' \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
51 |
'-e "/^connect /d" ' \ |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
52 |
'-e "/^Testing/d" ' \ |
5878
85ea3e08eed7
23133251 Upgrade DBI to 1.636
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
5797
diff
changeset
|
53 |
'-e "/NullP/d" ' \ |
85ea3e08eed7
23133251 Upgrade DBI to 1.636
Lukas Rovensky <Lukas.Rovensky@oracle.com>
parents:
5797
diff
changeset
|
54 |
'-e "/^\# \-\-\- Perl/d" ' |
1152
96d423311191
16292975 perl_modules should build and deliver perl 5.16 versions
Craig Mohrman <craig.mohrman@oracle.com>
parents:
1071
diff
changeset
|
55 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1170
diff
changeset
|
56 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1170
diff
changeset
|
57 |
|
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
|
58 |
build: $(BUILD_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
157
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 |
install: $(INSTALL_64) |
157
accde06c81c4
7030521 move perl DBI module to userland
Vladimir Marek <Vladimir.Marek@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 |
test: $(TEST_64) |
260
cc1837bbe69e
7047520 move perl-xml-parser and perl-xml-simple to userland consolidation
Craig Mohrman <craig.mohrman@oracle.com>
parents:
157
diff
changeset
|
63 |
|
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
|
64 |
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
|
65 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
66 |
REQUIRED_PACKAGES += system/library |