aboutsummaryrefslogtreecommitdiffstats
path: root/math/dsdp/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/dsdp/files/patch-Makefile')
-rw-r--r--math/dsdp/files/patch-Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/dsdp/files/patch-Makefile b/math/dsdp/files/patch-Makefile
new file mode 100644
index 000000000000..9d1d131f58f7
--- /dev/null
+++ b/math/dsdp/files/patch-Makefile
@@ -0,0 +1,14 @@
+--- Makefile.orig 2005-10-21 19:31:14 UTC
++++ Makefile
+@@ -53,8 +53,8 @@ oshared:
+ -@${RM} tmp; \
+ mkdir tmp; \
+ cd tmp; \
+- echo "building ${DSDPLIBSO}"; \
+- ${AR} x ${DSDPLIB} ;\
+- ${SH_LD} ${DSDPLIBSO} *.o -o ${DSDPLIBSO}; \
++ echo "building ${DSDPLIBSO}"
++ ${AR} x ${DSDPLIB}
++ $(CC) -shared $(LDFLAGS) -llapack -lblas -lm *.o -o ${DSDPLIBSO}; \
+ cd ../ ; \
+ ${RM} tmp