278N/A#
278N/A# CDDL HEADER START
278N/A#
278N/A# The contents of this file are subject to the terms of the
278N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
278N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
278N/A# or http://www.opensolaris.org/os/licensing.
278N/A# See the License for the specific language governing permissions
278N/A# and limitations under the License.
278N/A#
278N/A# When distributing Covered Code, include this CDDL HEADER in each
278N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
278N/A# If applicable, add the following below this CDDL HEADER, with the
278N/A# fields enclosed by brackets "[]" replaced with your own identifying
278N/A# information: Portions Copyright [yyyy] [name of copyright owner]
278N/A#
278N/A# CDDL HEADER END
278N/A#
5680N/A
278N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/ABUILD_BITS= 64
278N/Ainclude ../../../make-rules/shared-macros.mk
278N/A
278N/ACOMPONENT_NAME= mod_perl
4786N/ACOMPONENT_VERSION= 2.0.9
618N/ACOMPONENT_PROJECT_URL= http://perl.apache.org/
844N/ACOMPONENT_ARCHIVE_HASH= \
4786N/A sha256:0260f26ab771c1c95fadc67544b3400e420bb30b8a77565d2d02ad05498ef52b
4786N/ACOMPONENT_ARCHIVE_URL= http://www.apache.org/dist/perl/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/apache
278N/A
4786N/ATPNO= 23900
2899N/A
5680N/ABUILD_STYLE= justmake
5680N/ACONFIGURE_DEFAULT_DIRS= no
5680N/ASYSTEM_TEST_TARGET= build $(SYSTEM_TEST_64)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
278N/A
4786N/APATCH_LEVEL=0
4786N/A
5721N/AAPACHE_USR_PREFIX=/usr/apache2/2.4
4786N/A
278N/AAP_PERL5LIB=$(APACHE_USR_PREFIX)/lib/perl
278N/AAP_PERL5BIN=$(APACHE_USR_PREFIX)/bin
278N/APERLMAN=$(APACHE_USR_PREFIX)/man
278N/A
278N/ACOMPONENT_PRE_BUILD_ACTION= ( \
278N/A cd $(@D); $(PERL) Makefile.PL \
278N/A INSTALLDIRS=perl \
278N/A INSTALLSITELIB=$(AP_PERL5LIB) \
278N/A INSTALLARCHLIB=$(AP_PERL5LIB) \
278N/A INSTALLSITEARCH=$(AP_PERL5LIB) \
278N/A INSTALLPRIVLIB=$(AP_PERL5LIB) \
278N/A SITEARCHEXP=$(AP_PERL5LIB) \
278N/A SITELIBEXP=$(AP_PERL5LIB) \
278N/A INSTALLMAN1DIR=$(PERLMAN)/man1 \
278N/A INSTALLMAN3DIR=$(PERLMAN)/man3 \
278N/A INSTALLSCRIPT=$(AP_PERL5BIN) \
278N/A MP_APXS=$(APACHE_USR_PREFIX)/bin/apxs)
278N/A
278N/ACOMPONENT_TEST_TARGETS= test
4786N/ACOMPONENT_SYSTEM_TEST_TARGETS= system_test
278N/A
1845N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
5680N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:$(USRBINDIR)
5680N/Aelse
5680N/APATH=$(SPRO_VROOT)/bin:$(USRBINDIR):$(GNUBIN)
1845N/Aendif
278N/A
4786N/ACOMPONENT_TEST_TRANSFORMS += \
4786N/A '-e "s/\[pid [0-9][0-9]*:tid [0-9][0-9]*\] //" ' \
4786N/A '-e "/\[.* 20[0-9][0-9]\] \[/s/\[.* 20[0-9][0-9]\]/[date]/" ' \
4786N/A '-e "/^server localhost/s/ (.*)//" ' \
4786N/A '-e "/base server + [0-9][0-9] vhosts ready to run tests/d" ' \
4786N/A '-e "/^Files=/s/, Tests=[0-9][0-9]*, *[0-9][0-9]* wallclock secs (.*)//" ' \
4786N/A '-e "/^waiting .* to start: ok/s/ (waited [0-9][0-9]* secs)//" ' \
4786N/A '-e "/^waiting .* to start: \./s/\.\.*//" ' \
4786N/A '-e "/^\.\.*$$/d" ' \
4786N/A '-e "/^\[warning\] port 8529 still in use\.\.\.$$/d" ' \
4786N/A '-e "/^\.*done$$/d" ' \
4786N/A '-e "s/ -I.*blib\/arch -I.*blib\/lib//" ' \
4786N/A '-e "s/ -I\/usr\/apache2\/2\.[0-9]\/lib\/perl//" ' \
4786N/A '-e "s/ -libmodperl .*mod_perl\.so//" ' \
4786N/A '-e "s/ make system_test APACHEINSTALLSITELIB=.*/ make test/" ' \
4786N/A '-e "s/using Apache\/2.[0-9].[0-9][0-9]* (/using Apache\/2.x.x (/" '
4786N/A
1938N/AASLR_MODE = $(ASLR_NOT_APPLICABLE)
1938N/A
5721N/AREQUIRED_PACKAGES += $(PERL_PKG)
3817N/AREQUIRED_PACKAGES += library/apr-15
3817N/AREQUIRED_PACKAGES += library/apr-util-15
3817N/AREQUIRED_PACKAGES += system/library/math
4786N/AREQUIRED_PACKAGES += web/server/apache-24