author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 6028 | 99b43098b467 |
permissions | -rw-r--r-- |
173
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
1 |
# |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
3 |
# |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
7 |
# |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
12 |
# |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
18 |
# |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@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:
4834
diff
changeset
|
21 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6028
diff
changeset
|
23 |
# Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
173
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@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:
4834
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
26 |
# Built in SFW with gcc and builds cleanly now only with gcc |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
27 |
COMPILER= gcc |
173
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
28 |
include ../../make-rules/shared-macros.mk |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
29 |
|
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_NAME= guile |
5908
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
31 |
COMPONENT_VERSION= 1.8.8 |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
687
diff
changeset
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
5908
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
33 |
sha256:c3471fed2e72e5b04ad133bbaaf16369e8360283679bcf19800bc1b381024050 |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6028
diff
changeset
|
34 |
COMPONENT_ANITYA_ID= 1277 |
173
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
35 |
|
5908
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
36 |
TPNO= 28097 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1645
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/gnu-component.mk |
173
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
39 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
40 |
CONFIGURE_ENV += CPPFLAGS="-I/usr/include/gmp -D__USE_LEGACY_PROTOTYPES__" |
173
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
41 |
CONFIGURE_OPTIONS += --disable-static |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
42 |
CONFIGURE_OPTIONS += --disable-error-on-warning |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
43 |
CONFIGURE_OPTIONS += ac_cv_type_complex_double=no |
69315e61a221
7034838 migrate guile to userland
Kevin Crowe <Kevin.Crowe@oracle.com>
parents:
diff
changeset
|
44 |
|
4834
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
45 |
# Remove the GNU specific "-pthreads" Cflags option from the guile config |
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
46 |
# files. In case we need to back-port this to earlier versions of Solaris, |
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
47 |
# -D_POSIX_PTHREAD_SEMANTICS is added in its place, which makes the pthreads |
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
48 |
# interfaces behave as specified in the POSIX standard (even though it does |
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
49 |
# nothing for Solaris 12). |
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
50 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
51 |
PROTOPKGCONFIGDIR.32 = $(PROTOPKGCONFIGDIR) |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
52 |
PROTOPKGCONFIGDIR.64 = $(PROTOPKGCONFIGDIR64) |
4834
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
53 |
|
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
54 |
COMPONENT_POST_INSTALL_ACTION += \ |
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
55 |
$(GSED) -i -e 's/-pthreads/-D_POSIX_PTHREAD_SEMANTICS/' \ |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
56 |
$(PROTOPKGCONFIGDIR.$(BITS))/guile-1.8.pc; |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
57 |
|
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
58 |
# We only deliver 64-bit binaries and in /usr/bin. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
59 |
COMPONENT_POST_INSTALL_ACTION.32 += \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
60 |
$(GSED) -i -e 's|$(USRBINDIR)/$(MACH32)|$(USRBINDIR)|' \ |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4834
diff
changeset
|
61 |
$(PROTOUSRBINDIR)/$(MACH32)/guile-config; |
4834
22970ab7cd3a
21764367 guile pkg-config files include gcc-specific flag
Rich Burridge <rich.burridge@oracle.com>
parents:
4339
diff
changeset
|
62 |
|
5908
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
63 |
# Different test results on x86 and SPARC. |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
64 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH).master |
3725
57a3df1e928a
20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
65 |
|
57a3df1e928a
20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
66 |
COMPONENT_TEST_TRANSFORMS += \ |
5908
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
67 |
'-n ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
68 |
'-e "/^Totals for this test run:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
69 |
'-e "/^passes:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
70 |
'-e "/^failures:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
71 |
'-e "/^unexpected passes:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
72 |
'-e "/^expected failures:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
73 |
'-e "/^unresolved test cases:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
74 |
'-e "/^untested test cases:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
75 |
'-e "/^unsupported test cases:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
76 |
'-e "/^errors:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
77 |
'-e "/^Running/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
78 |
'-e "/^=======/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
79 |
'-e "/^UNRESOLVED:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
80 |
'-e "/^PASS:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
81 |
'-e "/^FAIL:/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
82 |
'-e "/failed/p" ' \ |
bf41b43f02d8
23084256 Upgrade guile to latest legacy version 1.8.8
Rich Burridge <rich.burridge@oracle.com>
parents:
5682
diff
changeset
|
83 |
'-e "/passed/p" ' |
3725
57a3df1e928a
20460414 GUILE should have some master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
84 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
85 |
REQUIRED_PACKAGES += library/gmp |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
86 |
REQUIRED_PACKAGES += library/libtool/libltdl |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
87 |
REQUIRED_PACKAGES += library/ncurses |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
88 |
REQUIRED_PACKAGES += library/readline |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
89 |
REQUIRED_PACKAGES += shell/ksh93 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
90 |
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
3772
diff
changeset
|
91 |
REQUIRED_PACKAGES += system/library/math |