#
# 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
#
#
#
# These are required if retrieving packages from the AT&T website.
'-e "s|\(^$(CC)\).*|\\$$(CC)|"' \
'-e "s|\(temporary directory\).*|\1|"' \
'-e "1,/package: test start/d"' \
'-e "s|\(begins\).*|\1|"' \
'-e "s|\(passed\).*\(\[\)|\1 \2|"' \
'-e "s|\(failed\).*\(with exit code\)|\1 \2|"' \
'-e "s|\(package: test done\).*|\1|"'\
'-e "/usage: sleep/d"' \
'-e "/invalid interval/d"' \
'-e "s|\(took\).*\(expected\)|\1 x secs \2|"' \
'-e "s|\(expected .* sec\).*\(got\).*|\1 \2 x secs|"' \
'-e "s|^.*\(shcomp-.*\).*|\1|"'
# This flag controls the prep.mk behaviour to patch each archive individually
# Patch only required if building ksh93 only and not ast-base
# The ksh93 tarballs don't unpack cleanly into their own directories.
# Fixup HOSTTYPE to match uname output and bits
# Make the unpack of the second archive relocate to a sensible place
# We override LD_B_DIRECT because -B direct has unfortunate consequences for the
# nor fast, and causes the build to deadly embrace).
# Disable nmake's probing of runpaths
# Fix up the permissions of the compiler wrapper scripts from the patch
# Prevent nmake from taking over the entire machine
# Set the built to build all targets, install all of ast-base, and test ksh93.
# Unpack the ast-base tarball and copy it into the INIT tree,
# mark it as un-patched
# Add the two tarball paths to the paths to be cleaned
# ksh.kshrc needs to be installed with the ksh package
# Packaging information.
# Note how the AT&T "version letter symbol date" code is translated
# into the IPS version number:
#
#
# <letter representation> is the numeric place in the alphabet of the
# major version letter.
#
# <0 or 1> is the presence or absence of the "+" symbol in the AT&T
# "93<version letter>+" in the human readable form.
#
# EXAMPLE:
# AT&T Version string: 93u+ 2011-02-08
# IPS Version number: 93.21.1.20110208
#
# Exposes a bug in ON.
done )