git: 2dc51df9db62 - main - www/srt: Add HEAVY_LOGGING option

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 19 Jun 2022 04:52:44 UTC
The branch main has been updated by yuri:

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

commit 2dc51df9db62bb3ef3c7118f939ee1eabd811879
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-06-19 04:51:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-06-19 04:52:35 +0000

    www/srt: Add HEAVY_LOGGING option
---
 www/srt/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/srt/Makefile b/www/srt/Makefile
index c9865437080f..4fababadde48 100644
--- a/www/srt/Makefile
+++ b/www/srt/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	srt
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -21,10 +21,14 @@ SHEBANG_FILES=	scripts/srt-ffplay
 
 CMAKE_TESTING_ON=	ENABLE_TESTING ENABLE_UNITTESTS # 2 tests are known to fail: https://github.com/Haivision/srt/issues/2389, https://github.com/Haivision/srt/issues/2390
 
+OPTIONS_DEFINE=			HEAVY_LOGGING
 OPTIONS_RADIO=			ENCRYPTION
 OPTIONS_RADIO_ENCRYPTION=	NO_ENCRYPTION OPENSSL GNUTLS MBEDTLS
 OPTIONS_DEFAULT=		OPENSSL
 
+HEAVY_LOGGING_DESC=		Enable heavy logging (only for debugging)
+HEAVY_LOGGING_CMAKE_BOOL=	ENABLE_HEAVY_LOGGING
+
 NO_ENCRYPTION_DESC=		No encryption
 NO_ENCRYPTION_CMAKE_ON=		-DENABLE_ENCRYPTION=OFF