#
# 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
#
#
#
# this is the hash of the payload because it appears to be re-compressed
# periodically causing it to have a new hash value.
CFLAGS += $(CPP_LARGEFILES)
CPPFLAGS += $(CPP_LARGEFILES)
# Needed for "gmake test" to work.
CONFIGURE_OPTIONS += --with-x
COMPONENT_POST_INSTALL_ACTION.32 += \
$(GSED) -i -e 's|$(USRBINDIR)/$(MACH32)|$(USRBINDIR)|' \
ctest .
'-e "s|\(^.*32 Test.*Passed\).*|\1|" ' \
'-e "s|\(^.*32 Test.*Failed\).*|\1|" ' \
'-e "s|\(^Total Test time (real) =\).*|\1|" ' \
'-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \
'-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \
'-e "/^XXX_CC_XXX$$/d" '