openbsd-ports/math/mathomatic/patches/patch-makefile
steven 3361bf851b update to 14.5.2
and homepage changed
2009-07-26 19:53:28 +00:00

22 lines
776 B
Plaintext

$OpenBSD: patch-makefile,v 1.9 2009/07/26 19:53:28 steven Exp $
--- makefile.orig Sat Jul 11 02:42:07 2009
+++ makefile Sun Jul 26 21:46:19 2009
@@ -6,7 +6,7 @@
VERSION = `cat VERSION`
CFLAGS += -Wall -Wshadow -Wno-char-subscripts -fomit-frame-pointer # gcc specific flags
-CFLAGS += -O -DUNIX -DVERSION=\"$(VERSION)\"
+CFLAGS += -DUNIX -DVERSION=\"$(VERSION)\"
LDLIBS += -lm # libraries to link
# "make READLINE=1" to include readline support:
@@ -16,7 +16,7 @@ LDLIBS += $(READLINE:1=-lreadline -lncurses)
# Install directories follow, installs everything in /usr/local by default:
prefix ?= /usr/local
bindir ?= $(prefix)/bin
-mandir ?= $(prefix)/share/man
+mandir ?= $(prefix)/man
docdir ?= $(prefix)/share/doc
mathdocdir ?= $(docdir)/mathomatic