$OpenBSD: patch-makefile,v 1.7 2008/10/08 21:55:19 steven Exp $
--- makefile.orig	Sun Sep 21 00:54:47 2008
+++ makefile	Wed Oct  8 23:51:23 2008
@@ -2,7 +2,7 @@
 # Currently uses gcc only options in CFLAGS, just remove them for other C compilers.
 
 VERSION		= `cat VERSION`
-CFLAGS		+= -O2 -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses # gcc specific flags
+CFLAGS		+= -Wuninitialized -Wunused -Wshadow -Wformat -Wparentheses # gcc specific flags
 CFLAGS		+= -DUNIX -DVERSION=\"$(VERSION)\" # C compiler flags
 LIBS		+= -lm # libraries to link
 
@@ -13,7 +13,7 @@ LIBS		+= $(READLINE:1=-lreadline -lncurses)
 # Install directories:
 prefix		?= /usr/local
 bindir		?= $(prefix)/bin
-mandir		?= $(prefix)/share/man
+mandir		?= $(prefix)/man
 docdir		?= $(prefix)/share/doc
 
 MANHTML		= doc/mathomatic.1.html doc/matho-primes.1.html doc/matho-pascal.1.html doc/matho-sumsq.1.html
