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