author | Shawn Walker-Salas <shawn.walker@oracle.com> |
Wed, 30 Mar 2016 13:33:31 -0700 | |
changeset 5682 | 94c0ca64c022 |
parent 5172 | 2ac937ed383b |
child 5726 | 62c75f323a0f |
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 |
# |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
23 |
# Copyright (c) 2012, 2016, 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 |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
29 |
COMPONENT_VERSION= 4.3.0 |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
30 |
COMPONENT_ARCHIVE_HASH= sha256:89dfcc8564bb8781f36370c80c6fbeef9ec0723dec273231f4f760760d8e813d |
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/ |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
33 |
|
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
34 |
TPNO= 19269 |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
35 |
|
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
|
36 |
# 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
|
37 |
CONFIGURE_CPPFLAGS= |
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
38 |
VARIANTS_64 = $(BUILD_DIR)/apache24-python27 $(BUILD_DIR)/apache24-python34 |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
39 |
include ../modules.mk |
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
40 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
41 |
# Fix 64-bit linking via compiler. |
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
42 |
LDFLAGS += $(CC_BITS) |
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
43 |
|
5682
94c0ca64c022
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents:
5172
diff
changeset
|
44 |
$(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
|
45 |
$(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
|
46 |
$(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
|
47 |
|
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
48 |
$(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
|
49 |
$(BUILD_DIR)/apache2%-python34/$(MACH64)/.configured: PYTHON=$(PYTHON.3.4.64) |
804
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
50 |
|
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
51 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
52 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
6652c7c4eb82
6630237 supply mod_wsgi with Apache 2
Tim Foster <tim.s.foster@oracle.com>
parents:
diff
changeset
|
53 |
|
2163
a23eea6de4af
19780770 Apache 2.4 needs some third party modules too
Petr Sumbera <petr.sumbera@oracle.com>
parents:
1948
diff
changeset
|
54 |
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
|
55 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
56 |
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
|
57 |
REQUIRED_PACKAGES += runtime/python-34 |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
58 |
REQUIRED_PACKAGES += system/library/math |