git: d2b903d861f2 - main - security/openfhe: Add options HEXL and NTL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Dec 2022 18:42:24 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d2b903d861f299813cdc9cc44933f4f710ee8d8d
commit d2b903d861f299813cdc9cc44933f4f710ee8d8d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-01 15:33:37 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-01 18:42:20 +0000
security/openfhe: Add options HEXL and NTL
---
security/openfhe/Makefile | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/security/openfhe/Makefile b/security/openfhe/Makefile
index 37705157fb7a..f478a54f7a7b 100644
--- a/security/openfhe/Makefile
+++ b/security/openfhe/Makefile
@@ -1,6 +1,7 @@
PORTNAME= openfhe
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= security math
MAINTAINER= yuri@FreeBSD.org
@@ -29,4 +30,16 @@ CMAKE_TESTING_TARGET= testall
BINARY_ALIAS= git=false
+OPTIONS_DEFINE= HEXL NTL
+OPTIONS_DEFAULT= NTL
+
+HEXL_DESC= Buld with Intel hexl
+HEXL_CMAKE_BOOL= WITH_INTEL_HEXL
+HEXL_BROKEN= Fails to find hexl package and no hexl submodule
+
+NTL_DESC= Build with libntl
+NTL_CMAKE_BOOL= WITH_NTL
+NTL_LIB_DEPENDS= libgmp.so:math/gmp \
+ libntl.so:math/ntl
+
.include <bsd.port.mk>