Makefile revision 5795
2873N/A#
2873N/A# CDDL HEADER START
2873N/A#
2873N/A# The contents of this file are subject to the terms of the
2873N/A# Common Development and Distribution License (the "License").
2873N/A# You may not use this file except in compliance with the License.
2873N/A#
2873N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2873N/A# or http://www.opensolaris.org/os/licensing.
2873N/A# See the License for the specific language governing permissions
2873N/A# and limitations under the License.
2873N/A#
2873N/A# When distributing Covered Code, include this CDDL HEADER in each
2873N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2873N/A# If applicable, add the following below this CDDL HEADER, with the
2873N/A# fields enclosed by brackets "[]" replaced with your own identifying
2873N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2873N/A#
2873N/A# CDDL HEADER END
2873N/A#
2873N/A
2873N/A#
3817N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2873N/A#
3998N/ABUILD_BITS= 64
2873N/Ainclude ../../make-rules/shared-macros.mk
2873N/A
2873N/ACOMPONENT_NAME= patchutils
3998N/ACOMPONENT_VERSION= 0.3.1
2873N/AIPS_PKG_NAME= text/patchutils
2873N/ACOMPONENT_PROJECT_URL= http://cyberelk.net/tim/patchutils/
2873N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
3998N/ACOMPONENT_ARCHIVE_HASH= \
2873N/A sha256:48d28d4a6fd9922e15ecfd8a152ba5aef6673842c8303337fcaa6b3bb2d129a2
4540N/ACOMPONENT_ARCHIVE_URL= http://cyberelk.net/tim/data/patchutils/stable/$(COMPONENT_ARCHIVE)
2873N/A
2873N/ATPNO= 9269
3998N/A
2899N/Ainclude $(WS_MAKE_RULES)/common.mk
3998N/A
4982N/A# A couple of tests dump core, and the message contains the pid
2873N/A# A number of failing tests operate on randomly named files
3817N/A# Remove the make garbage from the test output
3817N/ACOMPONENT_TEST_TRANSFORMS += \
3817N/A '-e "/coredump/s/[0-9]*: Abort/XXXX: Abort/"' \
2873N/A '-e "s,\(/var/tmp//.*diff-1\.\)......,\1XXXXXX,"' \
2873N/A '-e "1,/^for test in/{N;d}"' \
2873N/A '-e "/^===/{N;N;q}"'
2873N/A
2873N/A# Note that the gendiff tests will fail on Solaris, because the gendiff utility
2873N/A# is missing; this is delivered by rpm.
2873N/A
2873N/AREQUIRED_PACKAGES += $(PERL_PKG)
2873N/AREQUIRED_PACKAGES += text/gnu-diffutils
2873N/AREQUIRED_PACKAGES += text/gnu-patch
2873N/A