$OpenBSD: patch-libclamav_Makefile_in,v 1.27 2016/05/04 07:12:55 sthen Exp $
--- libclamav/Makefile.in.orig	Fri Apr 22 17:19:53 2016
+++ libclamav/Makefile.in	Wed May  4 00:09:31 2016
@@ -3743,6 +3743,9 @@ version.h: version.h.tmp
 	fi
 
 version.h.tmp:
+	touch version.h.tmp
+
+NOT-version.h.tmp:
 	$(AM_V_GEN) test -f version.h || touch version.h;\
 	rm -f $@;\
 	REVISION="$$(LANG=C cd "$(top_srcdir)"; git describe --always 2>/dev/null || echo "exported")";\
