$OpenBSD: patch-man_Makefile_in,v 1.7 2021/05/24 16:59:57 sthen Exp $

Index: man/Makefile.in
--- man/Makefile.in.orig
+++ man/Makefile.in
@@ -1005,7 +1005,7 @@ uninstall-man: uninstall-man3 uninstall-man5 uninstall
 
 
 $(MANS_CPP): $(MANS_CPP:%=%.pre)
-	$(CPP_FOR_BUILD) -nostdinc -w -C -P -I$(top_srcdir)/man $@.pre $@
+	$(CPP_FOR_BUILD) -nostdinc -w -C -P -I$(top_srcdir)/man < $@.pre > $@
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
