openbsd-ports/math/mathomatic/patches/patch-makefile
steven 0125cadf17 update to mathomatic 12.5.20
Gerardo Santana Gomez Garrido gives up maintainership.
2006-07-17 07:48:40 +00:00

15 lines
557 B
Plaintext

$OpenBSD: patch-makefile,v 1.3 2006/07/17 07:48:40 steven Exp $
--- makefile.orig Fri Jul 7 22:33:27 2006
+++ makefile Fri Jul 14 15:29:40 2006
@@ -2,8 +2,8 @@
# Currently uses gcc only options in CFLAGS, just remove them for other C compilers.
VERSION = `cat VERSION`
-CFLAGS += -O -Wunused -Wshadow -Wformat -Wparentheses -Wcast-align -DUNIX -DVERSION=\"$(VERSION)\"
-LDFLAGS += -s
+CFLAGS += -Wunused -Wshadow -Wformat -Wparentheses -Wcast-align -DUNIX -DVERSION=\"$(VERSION)\"
+LDFLAGS +=
LIBS += -lm
CFLAGS += $(READLINE:1=-DREADLINE)