#
# 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://downloads.sourceforge.net/project/zsh/zsh/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
CONFIGURE_OPTIONS += -n
# Zsh uses the compiler to link, so we need to pass CC_BITS, not LD_BITS.
# pcre-config --libs unnecessarily emits "-R$(USRLIBDIR64)"; we remove it so that it
# doesn't end up in the binaries.
(cd $(@D); \
chmod 755 config.status; \
$(PROTOETCDIR)/%: % $(PROTOETCDIR)
$(INS.file)
# makepro.awk leaves turds behind when using gawk 3.1.5 and a UTF-8 locale.
# Upgrading gawk would fix the problem, but for now, all we can do is change
# the language.
# The configure test for NIS tests to make sure that NIS is working, not whether
# it's available to compile against. We actually want to go through the switch
# in all cases, so we force it off, regardless of whether the build environment
# has it enabled.
$(CP) $< $@
tail +13 $< > $@
# common targets