21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
|
26 COMPILER= gnu |
|
27 |
26 include ../../make-rules/shared-macros.mk |
28 include ../../make-rules/shared-macros.mk |
27 |
29 |
28 COMPONENT_NAME= diffutils |
30 COMPONENT_NAME= diffutils |
29 COMPONENT_VERSION= 3.2 |
31 COMPONENT_VERSION= 3.3 |
30 COMPONENT_PROJECT_URL= http://www.gnu.org/software/diffutils/ |
32 COMPONENT_PROJECT_URL= http://www.gnu.org/software/diffutils/ |
31 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
33 COMPONENT_ARCHIVE_HASH= \ |
35 COMPONENT_ARCHIVE_HASH= \ |
34 sha256:2aaaebef615be7dc365306a14caa5d273a4fc174f9f10abca8b60e082c054ed3 |
36 sha256:a25e89a8ab65fded1731e4186be1bb25cda967834b6df973599cdcd5abdfc19c |
35 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/diffutils/$(COMPONENT_ARCHIVE) |
37 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/diffutils/$(COMPONENT_ARCHIVE) |
36 COMPONENT_BUGDB= utility/gnu-diffutils |
38 COMPONENT_BUGDB= utility/gnu-diffutils |
37 |
39 |
38 TPNO= 10502 |
40 TPNO= 21995 |
39 |
41 |
40 include $(WS_MAKE_RULES)/prep.mk |
42 include $(WS_MAKE_RULES)/prep.mk |
41 include $(WS_MAKE_RULES)/configure.mk |
43 include $(WS_MAKE_RULES)/configure.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
44 include $(WS_MAKE_RULES)/ips.mk |
43 |
45 |
44 # Need to reduce optimization level in order to successfully run the |
46 COMPONENT_PREP_ACTION = (cd $(@D) ; autoreconf -f) |
45 # configure test for detecting whether Solaris can detect stack overflow. |
|
46 # See CR #16954300. |
|
47 studio_OPT = -xO3 |
|
48 |
47 |
49 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
48 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
50 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
49 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
51 |
50 |
52 ASLR_MODE = $(ASLR_ENABLE) |
51 ASLR_MODE = $(ASLR_ENABLE) |
53 |
52 |
54 # common targets |
|
55 configure: $(CONFIGURE_64) |
53 configure: $(CONFIGURE_64) |
56 |
54 |
57 build: $(BUILD_64) |
55 build: $(BUILD_64) |
58 |
56 |
59 install: $(INSTALL_64) |
57 install: $(INSTALL_64) |