Makefile revision 5547
199767f8919635c4928607450d9e0abb932109ceToomas Soome# CDDL HEADER START
199767f8919635c4928607450d9e0abb932109ceToomas Soome# The contents of this file are subject to the terms of the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Common Development and Distribution License (the "License").
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You may not use this file except in compliance with the License.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
199767f8919635c4928607450d9e0abb932109ceToomas Soome# See the License for the specific language governing permissions
199767f8919635c4928607450d9e0abb932109ceToomas Soome# and limitations under the License.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# When distributing Covered Code, include this CDDL HEADER in each
199767f8919635c4928607450d9e0abb932109ceToomas Soome# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# If applicable, add the following below this CDDL HEADER, with the
199767f8919635c4928607450d9e0abb932109ceToomas Soome# fields enclosed by brackets "[]" replaced with your own identifying
199767f8919635c4928607450d9e0abb932109ceToomas Soome# information: Portions Copyright [yyyy] [name of copyright owner]
199767f8919635c4928607450d9e0abb932109ceToomas Soome# CDDL HEADER END
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_PROJECT_URL= https://fedorahosted.org/mlocate
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
199767f8919635c4928607450d9e0abb932109ceToomas Soome sha256:3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_ARCHIVE_URL= https://fedorahosted.org/releases/m/l/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCONFIGURE_OPTIONS += --localstatedir="/var/cache"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -f && automake)
199767f8919635c4928607450d9e0abb932109ceToomas Soome '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
199767f8919635c4928607450d9e0abb932109ceToomas Soome '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
199767f8919635c4928607450d9e0abb932109ceToomas Soome '-e "s|^make.*: Nothing to be.*$$|XXX_REMOVE_XXX|g" ' \
199767f8919635c4928607450d9e0abb932109ceToomas Soome '-e "s|^/usr/gnu/bin/make.*$$|XXX_REMOVE_XXX|g" ' \
199767f8919635c4928607450d9e0abb932109ceToomas Soome '-e "/^XXX_REMOVE_XXX$$/d" '
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Test 41 needs to be able to open at least 950 fds. Bump up the limit.
199767f8919635c4928607450d9e0abb932109ceToomas Soome# Need /usr/gnu/bin before /usr/bin for GNU diff.
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_TEST_ENV += PATH="$(@D)/src:$(GNUBIN):$(USRBINDIR):$(USRSBINDIR)"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_TEST_CMD = $(SOURCE_DIR)/tests/testsuite
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_SYSTEM_TEST_ENV_CMD = ulimit -n 1000; env
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_SYSTEM_TEST_ENV += PATH="$(GNUBIN):$(USRBINDIR):$(USRSBINDIR)"
199767f8919635c4928607450d9e0abb932109ceToomas SoomeCOMPONENT_SYSTEM_TEST_CMD = $(SHELL) $(SOURCE_DIR)/tests/testsuite