freebsd-ports/math/sdpa/files/patch-Makefile
Maho Nakata 9ff5ab2f18 Unbreak by updating to 6.2.0
and now it is relased under GPL

Submitted by:	kris (broken report)
2005-05-12 02:30:41 +00:00

27 lines
667 B
Text

--- Makefile.orig Fri Apr 8 12:17:04 2005
+++ Makefile Thu May 12 11:23:34 2005
@@ -19,11 +19,10 @@
# $Id: Makefile,v 1.3 2004/09/02 01:14:19 makoto Exp $
-LAPACK = $(HOME)/lapack
+LAPACK = %%LOCALBASE%%
RSDPA = .
-LAPACK_LIB = -llapack -lcblaswr -lcblas \
- -lf77blas -lI77 -lF77 -latlas
+LAPACK_LIB = %%LAPACK%% %%CBLAS%%
# if you use BLAS in clapack.tgz, use next line
# and set NON_ATLAS_SDPA in rsdpa_include.h to 1.
@@ -35,8 +34,8 @@
#RSDPA_LIB_NAME = rsdpa
RSDPA_LIB = -l$(RSDPA_LIB_NAME)
-CC = g++
-OPTION = -O3 # -g # -Wall
+CC = %%CXX%%
+OPTION = %%CXXFLAGS%%
TARGET_EXE = $(RSDPA_LIB_NAME)
#TARGET_EXE = rsdpa_main.exe