git: ec3fcf55ba7b - main - math/dsdp: fix the shared library
Thierry Thomas
thierry at FreeBSD.org
Fri Jul 2 17:38:19 UTC 2021
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ec3fcf55ba7b3d3570a342f364ee1026956ef615
commit ec3fcf55ba7b3d3570a342f364ee1026956ef615
Author: Thierry Thomas <thierry at FreeBSD.org>
AuthorDate: 2021-07-02 17:33:00 +0000
Commit: Thierry Thomas <thierry at FreeBSD.org>
CommitDate: 2021-07-02 17:33:00 +0000
math/dsdp: fix the shared library
PR: 256938
Approved by: yuri (maintainer)
---
math/dsdp/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/math/dsdp/Makefile b/math/dsdp/Makefile
index 45df457c53c6..e130396ed9da 100644
--- a/math/dsdp/Makefile
+++ b/math/dsdp/Makefile
@@ -1,6 +1,6 @@
PORTNAME= dsdp
DISTVERSION= 5.8
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= https://www.mcs.anl.gov/hs/software/${PORTNAME:tu}/
DISTNAME= ${PORTNAME:tu}${DISTVERSION}
@@ -31,6 +31,7 @@ PLIST_FILES= bin/dsdp5 \
include/dsdp/dsdplapack.h \
include/dsdp/dsdpmem.h \
include/dsdp/dsdpsys.h \
+ lib/libdsdp.so.0 \
lib/libdsdp.so
do-build: # the build fails to build all binaries without being called twice due to makefile convolution
@@ -40,7 +41,8 @@ do-build: # the build fails to build all binaries without being called twice due
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/dsdp
${INSTALL_PROGRAM} ${WRKSRC}/bin/dsdp5 ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_LIB} ${WRKSRC}/lib/libdsdp.so ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/lib/libdsdp.so ${STAGEDIR}${PREFIX}/lib/libdsdp.so.0
+ (cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libdsdp.so.0 libdsdp.so)
${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include/dsdp
.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list