Makefile revision 5680
2713N/A#
2713N/A# CDDL HEADER START
2713N/A#
2713N/A# The contents of this file are subject to the terms of the
2713N/A# Common Development and Distribution License (the "License").
2713N/A# You may not use this file except in compliance with the License.
2713N/A#
2713N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2713N/A# or http://www.opensolaris.org/os/licensing.
2713N/A# See the License for the specific language governing permissions
2713N/A# and limitations under the License.
2713N/A#
2713N/A# When distributing Covered Code, include this CDDL HEADER in each
2713N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2713N/A# If applicable, add the following below this CDDL HEADER, with the
2713N/A# fields enclosed by brackets "[]" replaced with your own identifying
2713N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2713N/A#
2713N/A# CDDL HEADER END
2713N/A#
2713N/A
2713N/A#
2713N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
2713N/A#
2713N/ABUILD_BITS= 64
2713N/Ainclude ../../make-rules/shared-macros.mk
2713N/A
2713N/ACOMPONENT_NAME= patch
2713N/ACOMPONENT_VERSION= 2.7.5
2713N/ACOMPONENT_ARCHIVE_HASH= \
2713N/A sha256:7436f5a19f93c3ca83153ce9c5cbe4847e97c5d956e57a220121e741f6e7968f
2713N/ACOMPONENT_BUGDB= utility/gpatch
2713N/A
2713N/ATPNO= 22293
2713N/A
2713N/A# Although system-test doesn't run against the built bits, the tests
2713N/A# require the bits are built. Using build as a pre-requisite
2713N/A# to system-test separates the compilation output from the
2713N/A# test output, so the master test results will be consistent between
2713N/A# test and system-test targets.
2713N/ASYSTEM_TEST_TARGET= build $(SYSTEM_TEST_64)
2713N/Ainclude $(WS_MAKE_RULES)/gnu-component.mk
2713N/A
2713N/A# Needed for "gmake test" to work successfully.
2713N/A# If SHELLOPTS is exported (as it is by the userland makefiles),
2713N/A# then all shell options get exported to child invocations of bash,
2713N/A# which results in test failures due to nounset being
2713N/A# set unexpectedly, and errors such as "$1: unbound variable"
2713N/Aunexport SHELLOPTS
2713N/A
2713N/ACOMPONENT_INSTALL_ARGS += bindir=$(USRBINDIR)
2713N/A
2713N/ACOMPONENT_SYSTEM_TEST_ENV += PATCH=$(GPATCH)
2713N/A