freebsd-ports/math/lp_solve/files/patch-Makefile
Maho Nakata d458fcb309 Fixed bison problem.
Pointed out by:	kris
Pointy hat to:	maho and Pedro F. Giffuni <giffunip@yahoo.com>
2003-07-23 15:33:37 +00:00

26 lines
644 B
Text

--- Makefile.orig Thu Jan 9 16:56:51 2003
+++ Makefile Wed Jul 23 10:11:37 2003
@@ -1,4 +1,4 @@
-CC= gcc
+CC= %%CC%%
#should be OK in most situations:
#CFLAGS= -O
@@ -9,7 +9,7 @@
#CFLAGS= -g -Aa -D_POSIX_SOURCE -DCHECK +FP VZOUiD
# nice for gcc
-CFLAGS= -O3 -Wall -pedantic -ansi
+CFLAGS= %%CFLAGS%% -DCHECK
#CFLAGS= -g -Wall -pedantic -ansi
# Option -DCHECK checks for numerical problems during rounding of numbers.
@@ -39,7 +39,7 @@
#ANSI math lib
#MATHLIB= -lM
#non-ANSI math lib, should also work
-MATHLIB= -lm
+MATHLIB= -lm -lcompat
LPKSRC.c= lpkit.c solve.c debug.c read.c readmps.c hash.c presolve.c
LEXFILE.l= lex.l