853N/A#
853N/A# CDDL HEADER START
853N/A#
853N/A# The contents of this file are subject to the terms of the
853N/A# Common Development and Distribution License (the "License").
853N/A# You may not use this file except in compliance with the License.
853N/A#
853N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
853N/A# or http://www.opensolaris.org/os/licensing.
853N/A# See the License for the specific language governing permissions
853N/A# and limitations under the License.
853N/A#
853N/A# When distributing Covered Code, include this CDDL HEADER in each
853N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
853N/A# If applicable, add the following below this CDDL HEADER, with the
853N/A# fields enclosed by brackets "[]" replaced with your own identifying
853N/A# information: Portions Copyright [yyyy] [name of copyright owner]
853N/A#
853N/A# CDDL HEADER END
853N/A#
853N/A
853N/A#
5680N/A# Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
853N/A#
5680N/ABUILD_BITS= 64
853N/Ainclude ../../../make-rules/shared-macros.mk
853N/A
853N/ACOMPONENT_NAME= mod_wsgi
5991N/ACOMPONENT_VERSION= 4.5.1
5991N/ACOMPONENT_ARCHIVE_HASH= sha256:5ed31abf1978099ec0b4a00970c1be3c9cd3bef47830773cba441ca9770d4a2e
3351N/ACOMPONENT_ARCHIVE_URL= https://pypi.python.org/packages/source/m/mod_wsgi/$(COMPONENT_ARCHIVE)
853N/ACOMPONENT_PROJECT_URL= http://code.google.com/p/modwsgi/
853N/A
5991N/ATPNO= 27758
2899N/A
5123N/A# Don't use default CPPFLAGS; it causes Apache's custom CPP to fail.
5123N/ACONFIGURE_CPPFLAGS=
5991N/AVARIANTS_64 += $(BUILD_DIR)/apache24-python27
5991N/AVARIANTS_64 += $(BUILD_DIR)/apache24-python34
5991N/AVARIANTS_64 += $(BUILD_DIR)/apache24-python35
3351N/Ainclude ../modules.mk
3351N/A
7060N/A# Python is now built in C99 mode and we need it too (24743682).
7060N/Astudio_C99MODE= $(studio_C99_ENABLE)
7060N/A
5680N/A$(BUILD_DIR)/apache24-%/$(MACH64)/.configured: APXS=$(APACHE_24_USR_PREFIX)/bin/apxs BITS=64
5680N/A$(BUILD_DIR)/apache24-%/$(MACH64)/.built: BITS=64
5680N/A$(BUILD_DIR)/apache24-%/$(MACH64)/.tested: BITS=64
3351N/A
3351N/A$(BUILD_DIR)/apache2%-python27/$(MACH64)/.configured: PYTHON=$(PYTHON.2.7.64)
3351N/A$(BUILD_DIR)/apache2%-python34/$(MACH64)/.configured: PYTHON=$(PYTHON.3.4.64)
5991N/A$(BUILD_DIR)/apache2%-python35/$(MACH64)/.configured: PYTHON=$(PYTHON.3.5.64)
853N/A
853N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
853N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
853N/A
3351N/ACONFIGURE_OPTIONS += --with-python=$(PYTHON)
4337N/A
3817N/AREQUIRED_PACKAGES += runtime/python-27
3817N/AREQUIRED_PACKAGES += runtime/python-34
5991N/AREQUIRED_PACKAGES += runtime/python-35
3817N/AREQUIRED_PACKAGES += system/library/math