git: b35b54fe8cbf - main - security/openfhe: Update 1.0.1 -> 1.0.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 25 Dec 2022 09:57:50 UTC
The branch main has been updated by yuri:

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

commit b35b54fe8cbff08448dfa554d94b4cb3d0940705
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-25 06:43:46 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-25 09:57:36 +0000

    security/openfhe: Update 1.0.1 -> 1.0.2
    
    Reported by:    portscout
---
 security/openfhe/Makefile  | 8 +++++---
 security/openfhe/distinfo  | 6 +++---
 security/openfhe/pkg-plist | 6 +++---
 3 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/security/openfhe/Makefile b/security/openfhe/Makefile
index bf41b1567955..823d732e9fb9 100644
--- a/security/openfhe/Makefile
+++ b/security/openfhe/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	openfhe
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0.1
-PORTREVISION=	2
+DISTVERSION=	1.0.2
 CATEGORIES=	security math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -18,7 +17,7 @@ BROKEN=		requires OpenMP support that is missing on this architecture
 
 BUILD_DEPENDS=	autoconf:devel/autoconf # possibly a mistake in the project
 
-USES=		cmake:noninja,testing compiler:c++17-lang # cmake refuses to work with ninja
+USES=		cmake:noninja,testing compiler:c++17-lang localbase:ldflags # cmake refuses to work with ninja
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
@@ -54,4 +53,7 @@ OPTIONS_DEFAULT+=	OPENMP
 OPENMP_BROKEN=		OpenMP isn't enabled on this architecture
 .endif
 
+post-install:
+	@${RM} ${STAGEDIR}${PREFIX}/include/*.orig
+
 .include <bsd.port.mk>
diff --git a/security/openfhe/distinfo b/security/openfhe/distinfo
index fb4304f94eff..4e0326c88294 100644
--- a/security/openfhe/distinfo
+++ b/security/openfhe/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1669862337
-SHA256 (openfheorg-openfhe-development-v1.0.1_GH0.tar.gz) = ac620b3a8478849e9c3fb4db8305b4297cdc68d9e87756585cd494bc90e7b20a
-SIZE (openfheorg-openfhe-development-v1.0.1_GH0.tar.gz) = 1894402
+TIMESTAMP = 1671937640
+SHA256 (openfheorg-openfhe-development-v1.0.2_GH0.tar.gz) = c8163d2ece15dc9441d05751127e415c0670bf5893edd51b3f6f1504cb834a87
+SIZE (openfheorg-openfhe-development-v1.0.2_GH0.tar.gz) = 1894521
 SHA256 (openfheorg-cereal-984e3f1_GH0.tar.gz) = d79d6b97a53c1adb67a001d3b85a3f7396131bfefb09a64b6ea78fa5a17c5fc5
 SIZE (openfheorg-cereal-984e3f1_GH0.tar.gz) = 386502
 SHA256 (google-googletest-8b4817e_GH0.tar.gz) = 2707e4eecfb7ab19678c435e469c500e253c85236fc6a78e9fb5cb166f4d88d2
diff --git a/security/openfhe/pkg-plist b/security/openfhe/pkg-plist
index cd0434aa614b..5634549366bb 100644
--- a/security/openfhe/pkg-plist
+++ b/security/openfhe/pkg-plist
@@ -322,10 +322,10 @@ lib/OpenFHE/OpenFHETargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/OpenFHE/OpenFHETargets.cmake
 lib/libOPENFHEbinfhe.so
 lib/libOPENFHEbinfhe.so.1
-lib/libOPENFHEbinfhe.so.1.0.1
+lib/libOPENFHEbinfhe.so.1.0.2
 lib/libOPENFHEcore.so
 lib/libOPENFHEcore.so.1
-lib/libOPENFHEcore.so.1.0.1
+lib/libOPENFHEcore.so.1.0.2
 lib/libOPENFHEpke.so
 lib/libOPENFHEpke.so.1
-lib/libOPENFHEpke.so.1.0.1
+lib/libOPENFHEpke.so.1.0.2