Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2023 17:15:30 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: afb34f1d3b86 - main - science/hypre: register the shared library
Message-ID:  <202308031715.373HFUaM006121@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=afb34f1d3b86f4e189decb9978381a5c95cf8265

commit afb34f1d3b86f4e189decb9978381a5c95cf8265
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-08-03 13:19:41 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-08-03 17:15:28 +0000

    science/hypre: register the shared library
    
    PR:             272916
    Approved by:    yuri (maintainer)
---
 science/hypre/Makefile  | 7 +++++++
 science/hypre/pkg-plist | 1 +
 2 files changed, 8 insertions(+)

diff --git a/science/hypre/Makefile b/science/hypre/Makefile
index a75b933f38e9..381461e37a20 100644
--- a/science/hypre/Makefile
+++ b/science/hypre/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	hypre
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.29.0
+PORTREVISION=	1
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -40,6 +41,12 @@ OPENMPI_BROKEN=		doesn't switch to openmpi in cmake build, see https://github.co
 
 PORTDOCS=	*
 
+post-install:
+	${MV} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so	\
+		${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0
+	${RLN} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0	\
+		${STAGEDIR}${PREFIX}/lib/libHYPRE.so
+
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} usr-manual ${STAGEDIR}${DOCSDIR}
diff --git a/science/hypre/pkg-plist b/science/hypre/pkg-plist
index 04e87686f4e8..502950f77c1a 100644
--- a/science/hypre/pkg-plist
+++ b/science/hypre/pkg-plist
@@ -58,3 +58,4 @@ lib/cmake/HYPRE/HYPREConfigVersion.cmake
 lib/cmake/HYPRE/HYPRETargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/HYPRE/HYPRETargets.cmake
 lib/libHYPRE.so
+lib/libHYPRE.so.0



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