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