#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# webserver7-spi only for php NSAPI
#
#COMPONENT_VERSION_1= NONE
#
# The Netscape server?
# Came from Sun's Netscape (web stack) group originally?
COMPONENT_POST_UNPACK_ACTION += && ( \
set -e; \
)
CONFIGURE_OPTIONS += \
set -e; \
sed -e 's%cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build%cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build%' \
> phpize-proto.zts ; \
chmod 755 phpize-proto.zts )
set -e; \
)
set -e; \
$(GSED) -e "s@extension_dir = \(.*\)@extension_dir=$(PHP_ROOT_ZTS_EXT)@"< ../php-sapi/build/prototype/$(MACH)/$(CONFDIR)/php.ini > php.ini; \
)
set -e; \
)
# Test results not quite stable but good enough for human eyes
install: $(INSTALL_32)
# These test and compare results are not quite stable enough
# to use in automated testing but good enough to eye
# ball and get a sense that php is working correctly.
# Individual tests can be run afterwards.
# test and compare results.
# To use the master test result file do:
# $ gmake build
# $ gmake -i -k test
# because very likely the comparison phase will fail.
# test failures; keep going
COMPONENT_TEST_ARGS += -k -i
# different results for different architectures
test: $(TEST_32)
# php-sapi does the publish