openbsd-ports/math/mathomatic/patches/patch-makefile
steven d0ca02376f update to 14.3.7
whitespace nits while here
2009-04-14 18:37:31 +00:00

22 lines
850 B
Plaintext

$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