$OpenBSD: patch-Makefile,v 1.6 2007/05/01 12:55:14 todd Exp $
--- Makefile.orig	Mon Feb  5 17:01:54 2007
+++ Makefile	Tue Mar 20 19:21:54 2007
@@ -27,7 +27,7 @@ endif
 ifndef CONFIG_DARWIN
 ifndef CONFIG_WIN32
 ifndef CONFIG_SOLARIS
-LIBS+=-lrt
+#LIBS+=-lrt
 endif
 endif
 endif
@@ -51,7 +51,7 @@ clean:
 	rm -f *.o *.a $(TOOLS) dyngen$(EXESUF) TAGS *.pod *~ */*~
 	$(MAKE) -C tests clean
 	for d in $(TARGET_DIRS); do \
-	$(MAKE) -C $$d $@ || exit 1 ; \
+	$(MAKE) -C $$d $@ || exit $$? ; \
         done
 
 distclean: clean
@@ -106,7 +106,7 @@ cscope:
 
 # documentation
 %.html: %.texi
-	texi2html -monolithic -number $<
+	-texi2html -monolithic -number $<
 
 %.info: %.texi
 	makeinfo $< -o $@
