#
# 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
#
#
#
COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/clisp/release/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
# Required to configure correctly.
# SHELLOPTS appears to cause clisp's configure script to fail while
# checking the compiler.
# clisp's configure script is not a GNU auto* tools generated configure script
# and doesn't take --sbindir, so we need to override the default values.
# and x86 in the clisp package, because of embedded dates.
# Adjust the "/ID [ ... ]" line in clisp.pdf to set it to a fixed value
# to prevent it having different versions for SPARC and x86 in the clisp
# package. This value is normally generated by ghostscript, and is
# different on each machine. The fixed value that's been used comes from
# value generated when building clisp on the Userland SPARC build machine.
$(GSED) -i 's|^/ID.*|/ID [<DEA6B2ECA0DB714B6BEB6209A211AEF0><DEA6B2ECA0DB714B6BEB6209A211AEF0>]|' clisp.pdf)
# One of the tests now needs the GNU tail command.
# common targets
install: $(INSTALL_32)
test: $(TEST_32)