author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7445 | 41ea11d1d1e5 |
permissions | -rw-r--r-- |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
1 |
# |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
3 |
# |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
7 |
# |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
12 |
# |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
18 |
# |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@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 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7445
diff
changeset
|
23 |
# Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved. |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
24 |
# |
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
|
25 |
BUILD_BITS= 64 |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
27 |
|
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= Tk |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
29 |
# pkg does not like leading zeros, removed zero after dot. |
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
|
30 |
COMPONENT_VERSION= 804.33 |
8e237ffd0a48
20995635 Perl TK needs to be upgraded to work with Perl 5.20
Bill Rushmore <bill.rushmore@oracle.com>
parents:
4339
diff
changeset
|
31 |
HUMAN_VERSION= 804.033 |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION) |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= http://search.cpan.org/~srezic/Tk |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
35 |
COMPONENT_ARCHIVE_HASH= \ |
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
|
36 |
sha256:84756e9b07a2555c8eecf88e63d5cbbba9b1aa97b1e71a3d4aa524a7995a88ad |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE_URL= http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/$(COMPONENT_ARCHIVE) |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
38 |
COMPONENT_BUGDB= perl-mod/tk |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7445
diff
changeset
|
39 |
COMPONENT_ANITYA_ID= 3471 |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
40 |
|
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
|
41 |
TPNO= 22548 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1708
diff
changeset
|
42 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
43 |
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
|
44 |
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
|
45 |
include $(WS_MAKE_RULES)/makemaker.mk |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
46 |
|
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
|
47 |
# This component loves openwin. |
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 |
CONFIGURE_OPTIONS += X11INC=/usr/X11/include |
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 |
CONFIGURE_OPTIONS += X11LIB=/usr/X11/lib/64 |
1708
5f9e83d9256b
18198698 Remove myConfig.patch and tk-GENFRAG.p5m from perl-tk
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
1677
diff
changeset
|
50 |
|
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
51 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
52 |
|
7445
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
53 |
COMPONENT_TEST_ENV = DISPLAY=:1 |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
54 |
COMPONENT_TEST_TARGETS = test |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
55 |
|
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
56 |
# Tests are run using an X virtual framebuffer. |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
57 |
# When we have the equivalent of REQUIRED_PACKAGES for test dependencies, |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
58 |
# then we will need to make sure that x11/server/xvfb is included in that list. |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
59 |
|
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
60 |
COMPONENT_PRE_TEST_ACTION = \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
61 |
$(SHELL) $(COMPONENT_DIR)/start_Xvfb $(COMPONENT_DIR) |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
62 |
COMPONENT_POST_TEST_ACTION = \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
63 |
$(SHELL) $(COMPONENT_DIR)/stop_Xvfb $(COMPONENT_DIR) |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
64 |
|
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
65 |
COMPONENT_TEST_TRANSFORMS += \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
66 |
'-e "/Entering directory/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
67 |
'-e "/Leaving directory/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
68 |
'-e "/^chmod/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
69 |
'-e "/^make/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
70 |
'-e "/^Stack moved/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
71 |
'-e "/\. update/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
72 |
'-e "/\.label/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
73 |
'-e "/\.toplevel/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
74 |
'-e "/OPTIMIZE/d"' \ |
41ea11d1d1e5
23107507 perl-tk tests fail to work inside the userland test framework
Rich Burridge <rich.burridge@oracle.com>
parents:
5797
diff
changeset
|
75 |
'-e "s/, *[0-9][0-9]* wallclock secs (.*CPU)$$/, <TIMINGS REMOVED>/" ' |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
76 |
|
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
|
77 |
build: $(BUILD_64) |
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
78 |
|
432ac76de3b0
23078956 adjust the remainder of the userland components to use perl 5.22
Craig Mohrman <craig.mohrman@oracle.com>
parents:
5682
diff
changeset
|
79 |
install: $(INSTALL_64) |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
80 |
|
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
|
81 |
test: $(TEST_64) |
1677
e41bbf0b1631
PSARC 2013/271 perl-tk version 804.031
mahmood.ali@oracle.com <mahmood.ali@oracle.com>
parents:
diff
changeset
|
82 |
|
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
|
83 |
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
|
84 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
85 |
REQUIRED_PACKAGES += runtime/tk-8 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
86 |
REQUIRED_PACKAGES += system/library |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
87 |
REQUIRED_PACKAGES += system/library/fontconfig |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
88 |
REQUIRED_PACKAGES += system/library/math |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
89 |
REQUIRED_PACKAGES += x11/library/libx11 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
1948
diff
changeset
|
90 |
REQUIRED_PACKAGES += x11/library/libxft |