developer/check: configure: WARNING: filterdiff not installed; build will not be...
[oi-userland.git] / components / shell / conflict / Makefile
bloba096b2e804802eb02bf45d99c9788d4791ae8871
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2019, Michal Nowak
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= conflict
30 COMPONENT_VERSION= 2022.10.2
31 HUMAN_VERSION= 20221002
32 COMPONENT_SUMMARY= conflict displays conflicting filenames in your execution path
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(HUMAN_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
35 COMPONENT_PROJECT_URL= https://invisible-island.net/conflict/conflict.html
36 COMPONENT_ARCHIVE_HASH= sha256:8c183f3cabc814384db94a616d132f252753a8481a3f356a2135691d7d30dffc
37 COMPONENT_ARCHIVE_URL= https://invisible-mirror.net/archives/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= shell/conflict
39 COMPONENT_CLASSIFICATION= Applications/System Utilities
40 COMPONENT_LICENSE= BSD-like
41 COMPONENT_LICENSE_FILE= COPYING
43 include $(WS_MAKE_RULES)/common.mk
45 # Required to configure correctly.
46 COMPONENT_PRE_CONFIGURE_ACTION = \
47 ($(CLONEY) $(SOURCE_DIR) $(@D))
49 CC += $(CC_BITS)
51 # If the configure options are not explicitly set, then configure fails with:
52 # configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
53 # configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
54 # configure: error: can only configure for one host and one target at a time
55 CONFIGURE_OPTIONS= --prefix=$(CONFIGURE_PREFIX)
56 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
58 COMPONENT_TEST_DIR= $(BUILD_DIR_64)
59 COMPONENT_TEST_CMD= ./run_test.sh
60 COMPONENT_TEST_TARGETS=
62 # The additional conflict specific set of transforms to be applied to the
63 # test results to try to normalize them.
64 COMPONENT_TEST_TRANSFORMS += \
65 '-e "s|/tmp/conflict\.......|/tmp/conflict\.xxxxxx|g" ' \
66 '-e "s|^\*\* \$$(@D)/.*$$|XXX_CC_XXX|g" ' \
67 '-e "s|^\*\* /usr/bin/.*$$|XXX_CC_XXX|g" ' \
68 '-e "/^XXX_CC_XXX$$/d" '
70 # Auto-generated dependencies