Makefile revision 5740
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A
2N/A#
2N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/ABUILD_BITS= 64
2N/Ainclude ../../make-rules/shared-macros.mk
2N/A
2N/ACOMPONENT_NAME= lighttpd
2N/ACOMPONENT_VERSION= 1.4.39
2N/ACOMPONENT_PROJECT_URL= http://www.lighttpd.net/
2N/ACOMPONENT_ARCHIVE_HASH= \
2N/A sha256:bc5f910f78b8cbae3e8fe1a1d8558259f09dbe50dd3907db771404bfab27bb2e
2N/ACOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)download/$(COMPONENT_ARCHIVE)
2N/A
2N/ATPNO= 27512
2N/A
2N/ALIGHTTPD_INSTALLDIR=$(USRDIR)/lighttpd/1.4
2N/A
2N/Ainclude $(WS_MAKE_RULES)/common.mk
2N/A
2N/APATCH_LEVEL=0
2N/A
2N/A# lighttpd is logging using __FILE__ macro. Cloning will make this happen
2N/A# using just source file names (without full absolute paths).
2N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
2N/A
2N/ACONFIGURE_PREFIX= $(LIGHTTPD_INSTALLDIR)
2N/ACONFIGURE_MANDIR= $(CONFIGURE_PREFIX)/man
2N/A
2N/A# Force lighttpd binaries and private modules to standard path
2N/ACONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
2N/A
2N/ACFLAGS += "-I/usr/include/openldap"
2N/ALDFLAGS += "-lldap_r-2.4"
2N/A
2N/ACONFIGURE_OPTIONS += --with-pic
2N/ACONFIGURE_OPTIONS += --with-lua
2N/ACONFIGURE_OPTIONS += --with-openssl
2N/ACONFIGURE_OPTIONS += --with-pcre
2N/ACONFIGURE_OPTIONS += --with-ldap
2N/ACONFIGURE_OPTIONS += --with-mysql=$(USRDIR)/mysql/5.5/bin/mysql_config
2N/ACONFIGURE_OPTIONS += PCRECONFIG="$(USRBINDIR64)/pcre-config"
2N/A
2N/ACOMPONENT_TEST_TRANSFORMS += \
2N/A '-e "s/[0-9][0-9]* wallclock secs (.*CPU)$$/<TIMINGS REMOVED>/" ' \
2N/A '-e "/^preparing infrastructure/,/make\[4\]: Leaving directory/p" ' \
2N/A '-e "/.*/d" '
2N/A
2N/AREQUIRED_PACKAGES += compress/bzip2
2N/AREQUIRED_PACKAGES += database/mysql-55
2N/AREQUIRED_PACKAGES += database/mysql-55/library
2N/AREQUIRED_PACKAGES += library/openldap
2N/AREQUIRED_PACKAGES += library/pcre
2N/AREQUIRED_PACKAGES += library/security/openssl
2N/AREQUIRED_PACKAGES += library/security/openssl/openssl-fips-140
2N/AREQUIRED_PACKAGES += library/zlib
2N/AREQUIRED_PACKAGES += runtime/lua
2N/AREQUIRED_PACKAGES += runtime/perl-522
2N/AREQUIRED_PACKAGES += system/core-os
2N/AREQUIRED_PACKAGES += system/network
2N/AREQUIRED_PACKAGES += web/fastcgi/spawn-fcgi
2N/A