author | John Beck <John.Beck@Oracle.COM> |
Thu, 13 Oct 2016 08:06:14 -0700 | |
changeset 7109 | f298ea535620 |
parent 5682 | 94c0ca64c022 |
child 7424 | 6c7d8df94006 |
permissions | -rw-r--r-- |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
1 |
# |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
3 |
# |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
7 |
# |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
12 |
# |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
18 |
# |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
20 |
# |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
21 |
|
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
22 |
# |
5392
2cf37adf29cf
21184391 Update pkg-config to 0.29
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5046
diff
changeset
|
23 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@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:
5392
diff
changeset
|
25 |
BUILD_BITS= 64 |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
26 |
include ../../make-rules/shared-macros.mk |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
27 |
|
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= pkg-config |
5392
2cf37adf29cf
21184391 Update pkg-config to 0.29
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5046
diff
changeset
|
29 |
COMPONENT_VERSION= 0.29 |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_PROJECT_URL= http://www.freedesktop.org/wiki/Software/pkg-config |
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
5392
2cf37adf29cf
21184391 Update pkg-config to 0.29
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5046
diff
changeset
|
32 |
sha256:c8507705d2a10c67f385d66ca2aae31e81770cc0734b4191eb8c489e864a006b |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE_URL= http://pkgconfig.freedesktop.org/releases/$(COMPONENT_ARCHIVE) |
5392
2cf37adf29cf
21184391 Update pkg-config to 0.29
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5046
diff
changeset
|
34 |
COMPONENT_SIG_URL= $(COMPONENT_ARCHIVE_URL).asc |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
35 |
|
5392
2cf37adf29cf
21184391 Update pkg-config to 0.29
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5046
diff
changeset
|
36 |
TPNO= 26453 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1381
diff
changeset
|
37 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5392
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
39 |
|
1381
15aec33b84fa
17052472 pkg-config breaks sane-frontends build in 25
Brian Cameron <brian.cameron@oracle.com>
parents:
1359
diff
changeset
|
40 |
# otherwise our default PKG_CONFIG_PATH will change to the 64-bit libdir |
15aec33b84fa
17052472 pkg-config breaks sane-frontends build in 25
Brian Cameron <brian.cameron@oracle.com>
parents:
1359
diff
changeset
|
41 |
CONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib |
15aec33b84fa
17052472 pkg-config breaks sane-frontends build in 25
Brian Cameron <brian.cameron@oracle.com>
parents:
1359
diff
changeset
|
42 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5392
diff
changeset
|
43 |
COMPONENT_TEST_ENV += PATH=$(GNUBIN):$(USRBINDIR) |
1359
0d0ad1e7bd3f
16851071 Move pkg-config from Desktop consolidation to Userland
Brian Cameron <brian.cameron@oracle.com>
parents:
diff
changeset
|
44 |
|
3716
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
45 |
# The additional pkg-config specific set of transforms to be applied to the |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
46 |
# test results to try to normalize them. |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
47 |
COMPONENT_TEST_TRANSFORMS += \ |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
48 |
'-e "/^+ sed -e /d" ' |
a2629a2cf270
20451511 Yet more Userland components should have master test results to compare against
Rich Burridge <rich.burridge@oracle.com>
parents:
2225
diff
changeset
|
49 |
|
5046
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
50 |
ifeq ($(OS_VERSION),5.11) |
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
51 |
OLD_DESKTOP_BUILD= 0.175.2.0.0.21.0 |
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
52 |
else |
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
53 |
OLD_DESKTOP_BUILD= 5.12.0.0.0.25.0 |
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
54 |
endif |
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
55 |
|
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
56 |
PKG_MACROS += OLD_DESKTOP_BUILD=$(OLD_DESKTOP_BUILD) |
d511b9037189
22100340 pkgconfig dependency on gettext needs to be variable
John Beck <John.Beck@Oracle.COM>
parents:
4339
diff
changeset
|
57 |
|
5392
2cf37adf29cf
21184391 Update pkg-config to 0.29
Stacy Yeh <stacy.yeh@oracle.com>
parents:
5046
diff
changeset
|
58 |
REQUIRED_PACKAGES += library/glib2 |