18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 # libtool only delivers scripts that embed paths, so prefer 32-bit. |
25 # libtool only delivers scripts that embed paths, so prefer 32-bit. |
26 BUILD_BITS= 32_and_64 |
26 BUILD_BITS= 32_and_64 |
27 include ../../make-rules/shared-macros.mk |
27 include ../../make-rules/shared-macros.mk |
28 |
28 |
29 COMPONENT_NAME= libtool |
29 COMPONENT_NAME= libtool |
30 COMPONENT_VERSION= 2.4.2 |
30 COMPONENT_VERSION= 2.4.6 |
31 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
32 sha256:b38de44862a987293cd3d8dfae1c409d514b6c4e794ebc93648febf9afc38918 |
32 sha256:e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3 |
33 COMPONENT_BUGDB= utility/libtool |
33 COMPONENT_BUGDB= utility/libtool |
34 |
34 |
35 TPNO= 9088 |
35 TPNO= 24542 |
36 |
36 |
37 BUILD_TARGET= |
37 BUILD_TARGET= |
38 INSTALL_TARGET= |
38 INSTALL_TARGET= |
39 include $(WS_MAKE_RULES)/gnu-component.mk |
39 include $(WS_MAKE_RULES)/gnu-component.mk |
40 |
40 |
41 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
41 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
42 CONFIGURE_OPTIONS += --disable-static |
42 CONFIGURE_OPTIONS += --disable-static |
43 CONFIGURE_OPTIONS += PERL="$(PERL)" |
43 CONFIGURE_OPTIONS += PERL="$(PERL)" |
44 |
44 |
45 COMPONENT_PREP_ACTION = (cd $(@D) ; ./bootstrap) |
45 COMPONENT_PREP_ACTION = (cd $(@D) ; \ |
46 |
46 touch $(SOURCE_DIR)/README-release ; \ |
|
47 MAKE=/usr/bin/gmake ./bootstrap --force --no-git) |
47 # Remove the hard-wired compiler locations in the LTCC and CC line |
48 # Remove the hard-wired compiler locations in the LTCC and CC line |
48 # in the version of the libtool script. |
49 # in the version of the libtool script. |
49 COMPONENT_POST_INSTALL_ACTION = \ |
50 COMPONENT_POST_INSTALL_ACTION = \ |
50 cd $(PROTO_DIR)$(USRBIN.$(BITS)); \ |
51 cd $(PROTO_DIR)$(USRBIN.$(BITS)); \ |
51 $(GSED) -i \ |
52 $(GSED) -i \ |
52 -e 's|^LTCC="/.*$$|LTCC="cc"|' \ |
53 -e 's|^LTCC="/.*$$|LTCC="cc"|' \ |
53 -e 's|^CC="/.*$$|CC="cc"|' libtool ; \ |
54 -e 's|^CC="/.*$$|CC="cc"|' libtool ; \ |
54 |
55 |
|
56 # When this component is updated, a full Userland build should |
|
57 # be performed in a test BE with the new version of libtool installed |
55 COMPONENT_TEST_TRANSFORMS += \ |
58 COMPONENT_TEST_TRANSFORMS += \ |
56 '-n ' \ |
59 '-n ' \ |
57 '-e "/SKIP/p" ' \ |
60 '-e "/SKIP/p" ' \ |
58 '-e "/PASS/p" ' \ |
61 '-e "/PASS/p" ' \ |
59 '-e "/FAIL/p" ' \ |
62 '-e "/FAIL/p" ' \ |