Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jul 2021 17:38:18 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ec3fcf55ba7b - main - math/dsdp: fix the shared library
Message-ID:  <202107021738.162HcID1051036@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ec3fcf55ba7b3d3570a342f364ee1026956ef615

commit ec3fcf55ba7b3d3570a342f364ee1026956ef615
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2021-07-02 17:33:00 +0000
Commit:     Thierry Thomas <thierry@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107021738.162HcID1051036>