freebsd-ports/math/sdpara/files/patch-mumps+Makefile
2009-02-17 05:44:47 +00:00

21 lines
922 B
Text

--- mumps/Makefile~ 2009-02-17 14:12:26.000000000 +0900
+++ mumps/Makefile 2009-02-17 14:12:54.000000000 +0900
@@ -6,12 +6,12 @@
# The following variables are set from SDPA_MAKEFILE
###################################################################
-CC = ${shell grep "^CC" ${SDPA_MAKEFILE} | cut -f2- -d=}
-CFLAGS = ${shell grep "^CFLAGS" ${SDPA_MAKEFILE} | cut -f2- -d=}
-CXX = ${shell grep "^CXX" ${SDPA_MAKEFILE} | cut -f2- -d=}
-CXXFLAGS = ${shell grep "^CXXFLAGS" ${SDPA_MAKEFILE} | cut -f2- -d=}
-FC = ${shell grep "^FC" ${SDPA_MAKEFILE} | cut -f2- -d=}
-FFLAGS = ${shell grep "^FFLAGS" ${SDPA_MAKEFILE} | cut -f2- -d=}
+CC = %%MPICC%%
+CFLAGS = %%CFLAGS%%
+CXX = %%MPICXX%%
+CXXFLAGS = %%CXXFLAGS%%
+FC = %%MPIF77%%
+FFLAGS = %%FFLAGS%%
###################################################################