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]
21 # Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
25 include ..
/..
/..
/make-rules
/shared-macros.mk
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
+= \
54 ASLR_MODE
= $(ASLR_ENABLE
)
58 install: $(INSTALL_64
)
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES
+= system
/library
64 REQUIRED_PACKAGES
+= text
/gnu-diffutils