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