$OpenBSD: patch-makefile,v 1.8 2009/04/14 18:37:31 steven Exp $
--- makefile.orig	Mon Apr  6 00:12:58 2009
+++ makefile	Tue Apr 14 20:31:15 2009
@@ -3,7 +3,7 @@
 
 VERSION		= `cat VERSION`
 #CFLAGS		+= -Wall # Copy cproto.h to proto.h to compile with -Wall with no complaints.
-CFLAGS		+= -O2 -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses -Wno-char-subscripts # gcc specific flags
+CFLAGS		+= -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses -Wno-char-subscripts # gcc specific flags
 CFLAGS		+= -DUNIX -DVERSION=\"$(VERSION)\"
 LDLIBS		+= -lm # libraries to link
 
@@ -14,7 +14,7 @@ LDLIBS		+= $(READLINE:1=-lreadline -lncurses)
 # Install directories:
 prefix		?= /usr/local
 bindir		?= $(prefix)/bin
-mandir		?= $(prefix)/share/man
+mandir		?= $(prefix)/man
 docdir		?= $(prefix)/share/doc
 mathdocdir	?= $(docdir)/mathomatic
 
