Makefile revision 5680
333N/A#
333N/A# CDDL HEADER START
333N/A#
333N/A# The contents of this file are subject to the terms of the
333N/A# Common Development and Distribution License (the "License").
333N/A# You may not use this file except in compliance with the License.
333N/A#
333N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
333N/A# or http://www.opensolaris.org/os/licensing.
333N/A# See the License for the specific language governing permissions
333N/A# and limitations under the License.
333N/A#
333N/A# When distributing Covered Code, include this CDDL HEADER in each
333N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
333N/A# If applicable, add the following below this CDDL HEADER, with the
333N/A# fields enclosed by brackets "[]" replaced with your own identifying
333N/A# information: Portions Copyright [yyyy] [name of copyright owner]
333N/A#
333N/A# CDDL HEADER END
333N/A#
1938N/A
333N/A#
333N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
333N/A#
333N/ABUILD_BITS= 64
333N/Ainclude ../../make-rules/shared-macros.mk
333N/A
333N/ACOMPONENT_NAME= sed
333N/ACOMPONENT_VERSION= 4.2.2
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff
333N/ACOMPONENT_BUGDB= utility/gnu-sed
1258N/A
333N/ATPNO= 12595
333N/A
333N/ASYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_64)
333N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
333N/A
333N/ACONFIGURE_BINDIR.64= $(GNUBIN)
333N/A
333N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
333N/A
333N/ACOMPONENT_TEST_DIR = $(@D)/testsuite
333N/A
1938N/ACOMPONENT_TEST_TRANSFORMS += \
1938N/A '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
333N/A '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
333N/A '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \
333N/A '-e "s|^/usr/gnu/bin/make.*$$|XXX_CC_XXX|g" ' \
333N/A '-e "/^XXX_CC_XXX$$/d" '
333N/A
333N/A# Modify test results for system-test
333N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
333N/A ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \
333N/A $(@D)/testsuite/version.good) ;
333N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
333N/A ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \
333N/A $(SOURCE_DIR)/testsuite/eval.good) ;
333N/ACOMPONENT_PRE_SYSTEM_TEST_ACTION += \
333N/A ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \
$(SOURCE_DIR)/testsuite/eval.sed) ;
COMPONENT_SYSTEM_TEST_ENV += SED=$(GNUBIN)/sed
COMPONENT_SYSTEM_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
COMPONENT_SYSTEM_TEST_DIR = $(@D)/testsuite