author | John Beck <John.Beck@Oracle.COM> |
Mon, 16 May 2016 17:10:31 -0700 | |
changeset 6008 | b325e8629cb1 |
parent 5682 | 94c0ca64c022 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
83
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@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:
4745
diff
changeset
|
21 |
|
83
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@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:
4745
diff
changeset
|
23 |
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
24 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
25 |
BUILD_BITS= 64 |
83
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
27 |
|
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= patch |
4612
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
29 |
COMPONENT_VERSION= 2.7.5 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
609
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= \ |
4612
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
31 |
sha256:7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57a220121e741f6e7968f |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
32 |
COMPONENT_BUGDB= utility/gpatch |
83
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
33 |
|
4612
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
34 |
TPNO= 22293 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1256
diff
changeset
|
35 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
36 |
# Although system-test doesn't run against the built bits, the tests |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
37 |
# require the bits are built. Using build as a pre-requisite |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
38 |
# to system-test separates the compilation output from the |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
39 |
# test output, so the master test results will be consistent between |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
40 |
# test and system-test targets. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
41 |
SYSTEM_TEST_TARGET= build $(SYSTEM_TEST_64) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4745
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/gnu-component.mk |
83
9ab0deb97868
7017671 move patch to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
43 |
|
4612
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
44 |
# Needed for "gmake test" to work successfully. |
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
45 |
# If SHELLOPTS is exported (as it is by the userland makefiles), |
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
46 |
# then all shell options get exported to child invocations of bash, |
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
47 |
# which results in test failures due to nounset being |
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
48 |
# set unexpectedly, and errors such as "$1: unbound variable" |
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
49 |
unexport SHELLOPTS |
a90827a85af0
20868321 upgrade GNU patch to version 2.7.5
April Chin <april.chin@oracle.com>
parents:
4339
diff
changeset
|
50 |
|
2141
3b99626d1270
PSARC/2014/324 Update GNU patch to 2.7.1
April Chin <april.chin@oracle.com>
parents:
1948
diff
changeset
|
51 |
COMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR) |
3b99626d1270
PSARC/2014/324 Update GNU patch to 2.7.1
April Chin <april.chin@oracle.com>
parents:
1948
diff
changeset
|
52 |
|
4745
2d05f68d43d8
21569365 Enable system-test target for gpatch
April Chin <april.chin@oracle.com>
parents:
4612
diff
changeset
|
53 |
COMPONENT_SYSTEM_TEST_ENV += PATCH=$(GPATCH) |