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]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= conflict
29 COMPONENT_VERSION
= 20150705
30 IPS_COMPONENT_VERSION
= 0.2015.7.5
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
33 COMPONENT_PROJECT_URL
= http
://invisible-island.net
/conflict
/conflict.html
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:30e14808768a938df139a1b76f8f7397e1b3bf46a18ceabcc8b1b1a70d5ea8a9
36 COMPONENT_ARCHIVE_URL
= ftp
://invisible-island.net
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= utility
/conflict
39 include $(WS_MAKE_RULES
)/prep.mk
40 include $(WS_MAKE_RULES
)/configure.mk
41 include $(WS_MAKE_RULES
)/ips.mk
43 # Required to configure correctly.
44 COMPONENT_PRE_CONFIGURE_ACTION
= \
45 ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
49 # If the configure options are not explicitly set, then configure fails with:
50 # configure: warning: CC=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/cc: invalid host type
51 # configure: warning: CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC: invalid host type
52 # configure: error: can only configure for one host and one target at a time
53 CONFIGURE_OPTIONS
= --prefix=$(CONFIGURE_PREFIX
)
54 CONFIGURE_OPTIONS
+= --mandir=$(CONFIGURE_MANDIR
)
56 COMPONENT_TEST_DIR
= $(BUILD_DIR_32
)
57 COMPONENT_TEST_CMD
= .
/run_test.sh
58 COMPONENT_TEST_TARGETS
=
60 # The additional conflict specific set of transforms to be applied to the
61 # test results to try to normalize them.
62 COMPONENT_TEST_TRANSFORMS
+= \
63 '-e "s|/tmp/conflict\.......|/tmp/conflict\.xxxxxx|g" ' \
64 '-e "s|^\*\* \$$(@D)/.*$$|XXX_CC_XXX|g" ' \
65 '-e "s|^\*\* /usr/bin/.*$$|XXX_CC_XXX|g" ' \
66 '-e "/^XXX_CC_XXX$$/d" '
71 install: $(INSTALL_32
)
75 REQUIRED_PACKAGES
+= system
/library