24 # |
24 # |
25 BUILD_BITS= 64 |
25 BUILD_BITS= 64 |
26 include ../../make-rules/shared-macros.mk |
26 include ../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= sed |
28 COMPONENT_NAME= sed |
29 COMPONENT_VERSION= 4.2.2 |
29 COMPONENT_VERSION= 4.4 |
|
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
30 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
31 sha256:fea0a94d4b605894f3e2d5572e3f96e4413bcad3a085aae7367c2cf07908b2ff |
32 sha256:cbd6ebc5aaf080ed60d0162d7f6aeae58211a1ee9ba9bb25623daa6cd942683b |
32 COMPONENT_BUGDB= utility/gnu-sed |
33 COMPONENT_BUGDB= utility/gnu-sed |
33 COMPONENT_ANITYA_ID= 4789 |
34 COMPONENT_ANITYA_ID= 4789 |
34 |
35 |
35 TPNO= 12595 |
36 TPNO= 34017 |
36 |
37 |
37 SYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_64) |
38 SYSTEM_TEST_TARGET= configure $(SYSTEM_TEST_64) |
38 include $(WS_MAKE_RULES)/gnu-component.mk |
39 include $(WS_MAKE_RULES)/gnu-component.mk |
39 |
40 |
40 CONFIGURE_BINDIR.64= $(GNUBIN) |
41 CONFIGURE_BINDIR.64= $(GNUBIN) |
41 |
42 |
42 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
43 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR) |
43 |
44 |
44 COMPONENT_TEST_DIR = $(@D)/testsuite |
45 # Needed for "gmake test" to work successfully. |
|
46 # If SHELLOPTS is exported (as it is by the userland makefiles), |
|
47 # then all shell options get exported to child invocations of bash, |
|
48 # which results in test failures due to nounset and xtrace being |
|
49 # set unexpectedly, and errors such as "$1: unbound variable" and |
|
50 # diffs failing due to script tracing in output files. |
|
51 unexport SHELLOPTS |
45 |
52 |
46 COMPONENT_TEST_TRANSFORMS += \ |
53 COMPONENT_TEST_TRANSFORMS += \ |
47 '-e "s|^make.*: Leaving directory.*$$|XXX_CC_XXX|g" ' \ |
54 '-n ' \ |
48 '-e "s|^make.*: Entering directory.*$$|XXX_CC_XXX|g" ' \ |
55 '-e "/TOTAL/p" ' \ |
49 '-e "s|^make.*: Nothing to be.*$$|XXX_CC_XXX|g" ' \ |
56 '-e "/SKIP/p" ' \ |
50 '-e "s|^/usr/gnu/bin/make.*$$|XXX_CC_XXX|g" ' \ |
57 '-e "/PASS/p" ' \ |
51 '-e "/^XXX_CC_XXX$$/d" ' |
58 '-e "/FAIL/p" ' \ |
|
59 '-e "/ERROR/p" ' |
52 |
60 |
53 # Modify test results for system-test |
61 # Modify test results for system-test |
54 COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
62 COMPONENT_PRE_SYSTEM_TEST_ACTION += \ |
55 ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \ |
63 ($(GSED) -i -e "s|../sed/sed|/usr/gnu/bin/sed|" \ |
56 $(@D)/testsuite/version.good) ; |
64 $(@D)/testsuite/version.good) ; |