mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
When building math/py-cvxopt the following error is displayed: Error: /usr/local/lib/python3.9/site-packages/cvxopt/dsdp.cpython-39.so is linked to /usr/local/lib/libdsdp.so which does not have a SONAME. math/dsdp needs to be fixed. Since I’m there, also install the static library. PR: 274851 Approved by: yuri 'maintainer)
14 lines
374 B
Text
14 lines
374 B
Text
--- 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}
|
|
+ $(SH_LD) $(LDFLAGS) -llapack -lblas -lm *.o -o ${DSDPLIBSO}; \
|
|
cd ../ ; \
|
|
${RM} tmp
|