author | zihao.zhu@oracle.com <zihao.zhu@oracle.com> |
Mon, 17 Oct 2016 09:22:53 -0700 | |
changeset 7116 | 24e5d18aa27c |
parent 6552 | 402379bc1b60 |
child 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
2190 | 1 |
# |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
21 |
|
2190 | 22 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
23 |
# Copyright (c) 2014, 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:
4339
diff
changeset
|
24 |
# |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
25 |
BUILD_BITS= 64_and_32 |
2190 | 26 |
include ../../make-rules/shared-macros.mk |
27 |
||
28 |
COMPONENT_NAME= jansson |
|
29 |
COMPONENT_VERSION= 2.7 |
|
30 |
COMPONENT_PROJECT_URL= http://www.digip.org/jansson |
|
31 |
COMPONENT_ARCHIVE_HASH= \ |
|
32 |
sha256:7905e6590fb316c0ff943df3dc6a21cd81a59cff7a6d12514054c359d04d78d7 |
|
33 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE) |
|
34 |
COMPONENT_BUGDB= library/jansson |
|
35 |
||
36 |
TPNO= 19403 |
|
37 |
||
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
38 |
include $(WS_MAKE_RULES)/common.mk |
3531
18f175f98e0e
20147164 Lint library for Jansson needed
Tomas Heran <tomas.heran@oracle.com>
parents:
2225
diff
changeset
|
39 |
|
18f175f98e0e
20147164 Lint library for Jansson needed
Tomas Heran <tomas.heran@oracle.com>
parents:
2225
diff
changeset
|
40 |
LINT_FLAGS += -I$(PROTOUSRINCDIR) |
2190 | 41 |
|
42 |
CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/jansson |
|
43 |
||
44 |
# The test/suites/api/check-exports uses nm and expects it to be the GNU kind. |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
4339
diff
changeset
|
45 |
COMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH) |
2190 | 46 |
|
6026
eca0f4ac65d8
23251296 problem in LIBRARY/JANSSON
Tomas Heran <tomas.heran@oracle.com>
parents:
5682
diff
changeset
|
47 |
# 003-CVE-2016-4425.patch modifies jansson_config.h.in that will generate a new |
eca0f4ac65d8
23251296 problem in LIBRARY/JANSSON
Tomas Heran <tomas.heran@oracle.com>
parents:
5682
diff
changeset
|
48 |
# jansson_config.h in the build subdirectory. We need to rm the one in the |
eca0f4ac65d8
23251296 problem in LIBRARY/JANSSON
Tomas Heran <tomas.heran@oracle.com>
parents:
5682
diff
changeset
|
49 |
# original source so that it doesn't get in the way. |
eca0f4ac65d8
23251296 problem in LIBRARY/JANSSON
Tomas Heran <tomas.heran@oracle.com>
parents:
5682
diff
changeset
|
50 |
COMPONENT_PREP_ACTION += $(RM) $(@D)/src/jansson_config.h |