2
1

diffutils.mk 759 B

12345678910111213141516171819202122
  1. ################################################################################
  2. #
  3. # diffutils
  4. #
  5. ################################################################################
  6. DIFFUTILS_VERSION = 3.12
  7. DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz
  8. DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
  9. DIFFUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
  10. DIFFUTILS_LICENSE = GPL-3.0+
  11. DIFFUTILS_LICENSE_FILES = COPYING
  12. DIFFUTILS_CPE_ID_VENDOR = gnu
  13. DIFFUTILS_CONF_ENV += gl_cv_func_strcasecmp_works=yes
  14. # Since glibc >= 2.26, don't try to use getopt_long replacement bundled
  15. # with diffutils. It will conflict with the one from glibc.
  16. ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y)
  17. DIFFUTILS_CONF_ENV += gl_cv_func_getopt_gnu=yes
  18. endif
  19. $(eval $(autotools-package))