summaryrefslogtreecommitdiff
path: root/math/sdpa/files/patch-Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-10-04 04:21:13 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-10-04 04:21:13 +0000
commit6004b8dfd695ad1294f9a8b94bc2a27c23f242e5 (patch)
tree89e0b799be4ab858a434e659f8d621024a329561 /math/sdpa/files/patch-Makefile
parentUpgrade to v5.5.2. (diff)
Add new port math/sdpa.
The SDPA (SemiDefinite Programming Algorithm) is a software package for solving semidefinite program (SDP). Extremely efficient, almost fastest around the world!
Diffstat (limited to 'math/sdpa/files/patch-Makefile')
-rw-r--r--math/sdpa/files/patch-Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/math/sdpa/files/patch-Makefile b/math/sdpa/files/patch-Makefile
new file mode 100644
index 000000000000..b36fa563eb36
--- /dev/null
+++ b/math/sdpa/files/patch-Makefile
@@ -0,0 +1,24 @@
+--- Makefile.orig Fri Jun 6 10:13:51 2003
++++ Makefile Sat Oct 4 11:33:31 2003
+@@ -1,8 +1,7 @@
+-LAPACK = $(HOME)/lib/b/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.
+@@ -14,8 +13,8 @@
+ #RSDPA_LIB_NAME = rsdpa
+ RSDPA_LIB = -l$(RSDPA_LIB_NAME)
+
+-CC = g++
+-OPTION = -O3 # -Wall # -g
++CC = %%CXX%%
++OPTION = %%CXXFLAGS%%
+
+ TARGET_EXE = $(RSDPA_LIB_NAME)
+ #TARGET_EXE = rsdpa_main.exe