author | Swaroop M S <swaroop.sadare@oracle.com> |
Sat, 15 Oct 2016 10:57:06 +0530 | |
changeset 7122 | 630f5a510c0a |
parent 5797 | 432ac76de3b0 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
5241
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
1 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
3 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
7 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
12 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
18 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
20 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
21 |
|
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
22 |
# |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
23 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@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:
5241
diff
changeset
|
25 |
BUILD_BITS= 64 |
5241
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
27 |
|
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= patchutils |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_VERSION= 0.3.1 |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
30 |
IPS_PKG_NAME= text/patchutils |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://cyberelk.net/tim/patchutils/ |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_HASH= \ |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
34 |
sha256:48d28d4a6fd9922e15ecfd8a152ba5aef6673842c8303337fcaa6b3bb2d129a2 |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_URL= http://cyberelk.net/tim/data/patchutils/stable/$(COMPONENT_ARCHIVE) |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
36 |
|
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
37 |
TPNO= 9269 |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
38 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5241
diff
changeset
|
39 |
include $(WS_MAKE_RULES)/common.mk |
5241
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
40 |
|
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
41 |
# A couple of tests dump core, and the message contains the pid |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
42 |
# A number of failing tests operate on randomly named files |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
43 |
# Remove the make garbage from the test output |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
44 |
COMPONENT_TEST_TRANSFORMS += \ |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
45 |
'-e "/coredump/s/[0-9]*: Abort/XXXX: Abort/"' \ |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
46 |
'-e "s,\(/var/tmp//.*diff-1\.\)......,\1XXXXXX,"' \ |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
47 |
'-e "1,/^for test in/{N;d}"' \ |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
48 |
'-e "/^===/{N;N;q}"' |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
49 |
|
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
50 |
# Note that the gendiff tests will fail on Solaris, because the gendiff utility |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
51 |
# is missing; this is delivered by rpm. |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
52 |
|
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
|
53 |
REQUIRED_PACKAGES += $(PERL_PKG) |
5241
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
54 |
REQUIRED_PACKAGES += text/gnu-diffutils |
21a30e6ac5fd
22393841 migrate patchutils to Userland
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
55 |
REQUIRED_PACKAGES += text/gnu-patch |