upstream in Makefiles lines of the form:
cat $(top_srcdir)/libarchive/test/test_*.c | grep '^DEFINE_TEST' > libarchive/test/list.h
have been changed to:
grep -h '^DEFINE_TEST(' $^ | LC_COLLATE=C sort > $@
bmake does not seem to understand $^ or at least does not expand it as expected.
the grep hangs bmake reading from stdin.
-jay