author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 23 Feb 2017 13:46:52 -0800 | |
changeset 7687 | 1093e2a9adbd |
parent 7062 | 7c249efbfc20 |
permissions | -rw-r--r-- |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
1 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
3 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
7 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
12 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
18 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
20 |
# |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
21 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7062
diff
changeset
|
23 |
# Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@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:
5172
diff
changeset
|
25 |
BUILD_BITS= 64 |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
26 |
include ../../../make-rules/shared-macros.mk |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
27 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
28 |
COMPONENT_NAME= mod_wsgi |
5993
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
29 |
COMPONENT_VERSION= 4.5.1 |
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= sha256:5ed31abf1978099ec0b4a00970c1be3c9cd3bef47830773cba441ca9770d4a2e |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
31 |
COMPONENT_ARCHIVE_URL= https://pypi.python.org/packages/source/m/mod_wsgi/$(COMPONENT_ARCHIVE) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_PROJECT_URL= http://code.google.com/p/modwsgi/ |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
7062
diff
changeset
|
33 |
COMPONENT_ANITYA_ID= 2001 |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
34 |
|
5993
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
35 |
TPNO= 27758 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
36 |
|
5125
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
37 |
# Don't use default CPPFLAGS; it causes Apache's custom CPP to fail. |
34cc580c62c2
21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5066
diff
changeset
|
38 |
CONFIGURE_CPPFLAGS= |
5993
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
39 |
VARIANTS_64 += $(BUILD_DIR)/apache24-python27 |
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
40 |
VARIANTS_64 += $(BUILD_DIR)/apache24-python34 |
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
41 |
VARIANTS_64 += $(BUILD_DIR)/apache24-python35 |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
42 |
include ../modules.mk |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
43 |
|
7062
7c249efbfc20
24743682 mod_wsgi fails to build on 109 nightly
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5993
diff
changeset
|
44 |
# Python is now built in C99 mode and we need it too (24743682). |
7c249efbfc20
24743682 mod_wsgi fails to build on 109 nightly
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5993
diff
changeset
|
45 |
studio_C99MODE= $(studio_C99_ENABLE) |
7c249efbfc20
24743682 mod_wsgi fails to build on 109 nightly
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5993
diff
changeset
|
46 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
47 |
$(BUILD_DIR)/apache24-%/$(MACH64)/.configured: APXS=$(APACHE_24_USR_PREFIX)/bin/apxs BITS=64 |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
48 |
$(BUILD_DIR)/apache24-%/$(MACH64)/.built: BITS=64 |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
49 |
$(BUILD_DIR)/apache24-%/$(MACH64)/.tested: BITS=64 |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
50 |
|
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
51 |
$(BUILD_DIR)/apache2%-python27/$(MACH64)/.configured: PYTHON=$(PYTHON.2.7.64) |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
52 |
$(BUILD_DIR)/apache2%-python34/$(MACH64)/.configured: PYTHON=$(PYTHON.3.4.64) |
5993
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
53 |
$(BUILD_DIR)/apache2%-python35/$(MACH64)/.configured: PYTHON=$(PYTHON.3.5.64) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
54 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
55 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
56 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
57 |
|
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
58 |
CONFIGURE_OPTIONS += --with-python=$(PYTHON) |
4339
6501cf9c29f9
21116842 add system-test targets to each component Makefile and to top-level Makefiles
Stacy Yeh <stacy.yeh@oracle.com>
parents:
3936
diff
changeset
|
59 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
60 |
REQUIRED_PACKAGES += runtime/python-27 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
61 |
REQUIRED_PACKAGES += runtime/python-34 |
5993
54464a6c913c
23197540 Upgrade mod_wsgi to version 4.5.1
Petr Sumbera <petr.sumbera@oracle.com>
parents:
5982
diff
changeset
|
62 |
REQUIRED_PACKAGES += runtime/python-35 |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
63 |
REQUIRED_PACKAGES += system/library/math |