Failures due to known VPATH support issues in that make implementation (the same issues that have been causing the long-standing bug#7884).
* t/ltlibsrc.sh: Adjust. Signed-off-by: Stefano Lattarini <stefano.lattar...@gmail.com> --- t/ltlibsrc.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/ltlibsrc.sh b/t/ltlibsrc.sh index 04a029f..c497968 100644 --- a/t/ltlibsrc.sh +++ b/t/ltlibsrc.sh @@ -39,6 +39,13 @@ zoo_d_old2_la.c: $(srcdir)/old_la.c AUTOMAKE_OPTIONS = -Wno-unsupported END +if useless_vpath_rebuild; then + unindent >> Makefile.am <<'END' + # Work around a known FreeBSD make issues in VPATH builds. + DISTCLEANFILES = zoo_d_old2_la.c +END +fi + cat > foo.c << 'END' int foo (void) { -- 1.8.3.rc2