openbsd-ports/math/mathomatic/patches/patch-makefile
2009-10-10 10:16:17 +00:00

22 lines
777 B
Plaintext

$OpenBSD: patch-makefile,v 1.10 2009/10/10 10:16:17 steven Exp $
--- makefile.orig Sat Sep 5 17:12:42 2009
+++ makefile Sat Oct 10 12:13:26 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:
@@ -20,7 +20,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