From bd402424a472178263228d94f314aa50a9687062 Mon Sep 17 00:00:00 2001 From: Renato Westphal Date: Tue, 1 Aug 2017 22:12:24 -0300 Subject: [PATCH] lib: fix build from git repository on OpenBSD The OpenBSD's cp(1) command doesn't support the -v option. This will change in the next releases (starting from v6.2) but this patch fixes the problem for v6.1 and older releases. Fixes Issue #875. Signed-off-by: Renato Westphal --- lib/subdir.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/subdir.am b/lib/subdir.am index cc082a8e85..5a1971cba7 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -251,7 +251,7 @@ GITH=lib/gitversion.h lib/gitversion.h.tmp: $(top_srcdir)/.git @PERL@ $(top_srcdir)/lib/gitversion.pl $(top_srcdir) > ${GITH}.tmp lib/gitversion.h: lib/gitversion.h.tmp - { test -f ${GITH} && diff -s -q ${GITH}.tmp ${GITH}; } || cp -v ${GITH}.tmp ${GITH} + { test -f ${GITH} && diff -s -q ${GITH}.tmp ${GITH}; } || cp ${GITH}.tmp ${GITH} else .PHONY: lib/gitversion.h -- 2.39.5