git: 83d7aa9d7c83 - main - security/snort3: Fix plist when FLATBUFFERS=on

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 14 May 2022 16:04:11 UTC
The branch main has been updated by yuri:

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

commit 83d7aa9d7c831183047139198a806ed54d1fe3ff
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-14 16:02:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-14 16:04:08 +0000

    security/snort3: Fix plist when FLATBUFFERS=on
    
    Approved by:    portmgr (unbreak; blanket)
---
 security/snort3/Makefile  | 2 ++
 security/snort3/pkg-plist | 1 +
 2 files changed, 3 insertions(+)

diff --git a/security/snort3/Makefile b/security/snort3/Makefile
index 7284ad495073..596639e34393 100644
--- a/security/snort3/Makefile
+++ b/security/snort3/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	snort
 DISTVERSION=	3.1.29.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security
 PKGNAMESUFFIX=	3
@@ -31,6 +32,7 @@ OPTIONS_DEFINE=		ADDRESSSANITIZER DEBUG DOCS FLATBUFFERS HYPERSCAN LARGEPCAP PIE
 OPTIONS_DEFINE_amd64=	TSC
 OPTIONS_DEFAULT=	STATICDAQ
 OPTIONS_DEFAULT_amd64=	HYPERSCAN
+OPTIONS_SUB=		yes
 
 ADDRESSSANITIZER_DESC=	Enable address sanitizer
 FLATBUFFERS_DESC=	Enable flatbuffers support
diff --git a/security/snort3/pkg-plist b/security/snort3/pkg-plist
index 7aff43b1ecdf..682d5a55453c 100644
--- a/security/snort3/pkg-plist
+++ b/security/snort3/pkg-plist
@@ -1,4 +1,5 @@
 bin/appid_detector_builder.sh
+%%FLATBUFFERS%%bin/fbstreamer
 bin/snort
 bin/snort2lua
 bin/u2boat