# HG changeset patch # User John Donoghue # Date 1664212371 14400 # Node ID e5ffad81f0cea7513bb9dfa94d86efdd3cf78fa3 # Parent 8c787c4295024e7294b0789e3fef06d33af36c2b pass egrep to xz * src/xz.mk: add (e)grep to input env vars * Makefile.in: find (e)grep if can diff -r 8c787c429502 -r e5ffad81f0ce Makefile.in --- a/Makefile.in Mon Sep 26 13:12:50 2022 -0400 +++ b/Makefile.in Mon Sep 26 13:12:51 2022 -0400 @@ -232,6 +232,7 @@ SHELL := @SHELL@ GREP ?= grep +EGREP ?= $(shell egrep --help >/dev/null 2>&1 && echo e)grep INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install PATCH := $(shell gpatch --help >/dev/null 2>&1 && echo g)patch SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed diff -r 8c787c429502 -r e5ffad81f0ce src/xz.mk --- a/src/xz.mk Mon Sep 26 13:12:50 2022 -0400 +++ b/src/xz.mk Mon Sep 26 13:12:51 2022 -0400 @@ -17,7 +17,7 @@ endef define $(PKG)_BUILD - cd '$(1)' && autoreconf -fi && ./configure \ + cd '$(1)' && autoreconf -fi && EGREP=$(EGREP) ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) \