2429N/A#
2429N/A# CDDL HEADER START
2429N/A#
2429N/A# The contents of this file are subject to the terms of the
2429N/A# Common Development and Distribution License (the "License").
2429N/A# You may not use this file except in compliance with the License.
2429N/A#
2429N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2429N/A# or http://www.opensolaris.org/os/licensing.
2429N/A# See the License for the specific language governing permissions
2429N/A# and limitations under the License.
2429N/A#
2429N/A# When distributing Covered Code, include this CDDL HEADER in each
2429N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2429N/A# If applicable, add the following below this CDDL HEADER, with the
2429N/A# fields enclosed by brackets "[]" replaced with your own identifying
2429N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2429N/A#
2429N/A# CDDL HEADER END
2429N/A#
2429N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
2429N/A#
2429N/Ainclude ../../../make-rules/shared-macros.mk
2429N/A
2429N/ACOMPONENT_NAME= zendopcache
2429N/ACOMPONENT_VERSION= 7.0.2
2429N/ACOMPONENT_PROJECT_URL= http://pecl.php.net/package/ZendOpcache
2429N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
2429N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
2429N/ACOMPONENT_ARCHIVE_HASH= \
2429N/A sha256:4aea4f0242dc50a5a68e7a170c3c537716e5da03b2a7b322349f211c09d90f44
2429N/ACOMPONENT_ARCHIVE_URL= http://pecl.php.net/get/$(COMPONENT_ARCHIVE)
2429N/ACOMPONENT_BUGDB= utility/php
2429N/A
2429N/Ainclude ../extensions.mk
2429N/Ainclude ../cleancr.mk
2429N/A
2429N/ACOMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer_internal.h)
2429N/ACOMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer.c)
2429N/ACOMPONENT_PREP_ACTION += $(call cleancr,$(SOURCE_DIR)/Optimizer/zend_optimizer.h)
2429N/A
2429N/ACOMPONENT_POST_INSTALL_ACTION = ( \
3469N/A set -e; \
2429N/A $(FIX_CONFIG_FILES) \
2429N/A )
2429N/A
2429N/A# Testing note:
2429N/A# According to: https://github.com/zendtech/ZendOptimizerPlus/issues/13
2429N/A# and https://github.com/zendtech/ZendOptimizerPlus/issues/13
2429N/A# these tests are having issues.
2429N/A# My own testing shows that if these are run by hand most of them pass.
2429N/A# There is some issue around the cli version of php not liking this optimizer.