Andreas Wacknitz
2023-05-21 d8756cfead40be9c7a38a7165107d86080aa542c
components/text/diffutils/Makefile
@@ -29,18 +29,20 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=      diffutils
COMPONENT_VERSION=   3.9
COMPONENT_SUMMARY=   GNU diffutils
COMPONENT_VERSION=   3.10
COMPONENT_SUMMARY=   GNU Diffutils is a package of several programs related to finding differences between files
COMPONENT_PROJECT_URL=   https://www.gnu.org/software/diffutils/
COMPONENT_SRC=      $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=   $(COMPONENT_SRC).tar.xz
COMPONENT_ARCHIVE_HASH= sha256:d80d3be90a201868de83d78dad3413ad88160cc53bcc36eb9eaf7c20dbf023f1
COMPONENT_ARCHIVE_HASH= sha256:90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e
COMPONENT_ARCHIVE_URL=   https://ftp.gnu.org/gnu/diffutils/$(COMPONENT_ARCHIVE)
COMPONENT_FMRI=      text/gnu-diffutils
COMPONENT_CLASSIFICATION=   Applications/System Utilities
COMPONENT_LICENSE=   GPLv3, FDLv1.3
include $(WS_MAKE_RULES)/common.mk
PATH = $(PATH.gnu)
CFLAGS += $(CPP_LARGEFILES)
CPPFLAGS += $(CPP_LARGEFILES)
@@ -61,7 +63,9 @@
   '-e "/^XXX_CC_XXX$$/d" '
COMPONENT_SYSTEM_TEST_DIR = $(@D)/tests
COMPONENT_SYSTEM_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
# Note on tests: Some tests require the new version already to be installed because we have paths (eg. for diff3) hardcoded.
# Even setting the PATH for the tests might not work as intended:
COMPONENT_SYSTEM_TEST_ENV += PATH="$(PROTO_DIR)/usr/gnu/bin:$(PATH)"
ASLR_MODE = $(ASLR_ENABLE)
@@ -69,7 +73,7 @@
REQUIRED_PACKAGES += text/gnu-gettext
# Test dependency
REQUIRED_PACKAGES += developer/debug/valgrind
TEST_REQUIRED_PACKAGES += developer/debug/valgrind
# Auto-generated dependencies
REQUIRED_PACKAGES += system/library