python/hypothesis: update to 6.122.3
[oi-userland.git] / components / text / wdiff / Makefile
blobebc1b84568431ceec62d8323dd5232b22952c33b
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
21 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
23 PREFERRED_BITS=64
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= wdiff
28 COMPONENT_VERSION= 1.2.2
29 COMPONENT_SUMMARY= GNU wdiff - a front end to GNU diff for comparing files on a word per word basis
30 COMPONENT_PROJECT_URL= http://www.gnu.org/software/wdiff/
31 COMPONENT_FMRI= text/wdiff
32 COMPONENT_CLASSIFICATION=System/Text Tools
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= \
36 sha256:34ff698c870c87e6e47a838eeaaae729fa73349139fc8db12211d2a22b78af6b
37 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/wdiff/$(COMPONENT_ARCHIVE)
38 COMPONENT_LICENSE= GPLv3
40 include $(WS_MAKE_RULES)/prep.mk
41 include $(WS_MAKE_RULES)/configure.mk
42 include $(WS_MAKE_RULES)/ips.mk
44 CONFIGURE_OPTIONS += CC="$(CC) $(CC_BITS)"
45 CONFIGURE_OPTIONS += --enable-experimental
47 CFLAGS_BUILD += -DDIFF_PROGRAM="$(GNUBINDIR)/diff"
49 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) $(CFLAGS_BUILD)"
51 COMPONENT_TEST_TRANSFORMS += \
52 '-n -e "/^ [0-9]:/p"'
54 ASLR_MODE = $(ASLR_ENABLE)
56 build: $(BUILD_64)
58 install: $(INSTALL_64)
60 test: $(TEST_64)
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES += system/library
64 REQUIRED_PACKAGES += text/gnu-diffutils