I have a different fix committed upstream which I'll pull across. But in order to have hit this you're doing a build in-tree without an obj directory which is not recommended.
On 2014-03-26, [email protected] <[email protected]> wrote: > Small problem building unbound on -current; fixed with this patch to > prevent doc/unbound-host.1 from being removed on the clean target. > > > Index: Makefile.bsd-wrapper >=================================================================== > RCS file: /depot/cvs/openbsd/src/usr.sbin/unbound/Makefile.bsd-wrapper,v > retrieving revision 1.8 > diff -u -p -r1.8 Makefile.bsd-wrapper > --- Makefile.bsd-wrapper 21 Mar 2014 00:23:15 -0000 1.8 > +++ Makefile.bsd-wrapper 26 Mar 2014 16:47:17 -0000 > @@ -91,7 +91,7 @@ install: maninstall > .endfor > > BEFOREMAN= ${.OBJDIR}/config.status > -CLEANFILES+= ${MAN} doc/example.conf doc/libunbound.3 > +CLEANFILES+= ${MAN:Ndoc/unbound-host.1} doc/example.conf doc/libunbound.3 > > clean cleandir: > -@if [ -e Makefile ]; then ${MAKE} realclean; fi > > > Thanks, > Bill

