git: 8d9b0d680f6e - main - print/qpdf: Add OpenSSL/GnuTLS option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Jan 2023 11:16:13 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8d9b0d680f6e2c94f6e159c5d158b6a2201ed88e
commit 8d9b0d680f6e2c94f6e159c5d158b6a2201ed88e
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-01-04 11:14:36 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-01-04 11:14:36 +0000
print/qpdf: Add OpenSSL/GnuTLS option
PR: 268739
Reported by: tijl@
---
print/qpdf/Makefile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/print/qpdf/Makefile b/print/qpdf/Makefile
index 9a456a8d9372..4fa2c84b9cda 100644
--- a/print/qpdf/Makefile
+++ b/print/qpdf/Makefile
@@ -1,5 +1,6 @@
PORTNAME= qpdf
DISTVERSION= 11.2.0
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF
@@ -18,8 +19,19 @@ CPE_VENDOR= qpdf_project
CMAKE_ARGS= -DHAVE_EXTERN_LONG_TIMEZONE=0 \
-DBUILD_STATIC_LIBS=0 \
+ -DUSE_IMPLICIT_CRYPTO=0 \
+ -DALLOW_CRYPTO_NATIVE=0 \
-DCMAKE_INSTALL_MANDIR=${PREFIX}/man
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS
+OPTIONS_RADIO= CRYPTO
+OPTIONS_RADIO_CRYPTO= GNUTLS OPENSSL
+OPTIONS_DEFAULT= OPENSSL
+
+OPENSSL_USES= ssl
+OPENSSL_CMAKE_BOOL= REQUIRE_CRYPTO_OPENSSL
+
+GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
+GNUTLS_CMAKE_BOOL= REQUIRE_CRYPTO_GNUTLS
.include <bsd.port.mk>