git: fc9dbc8819ee - main - security/snort3: Use USES=luajit (defaults to luajit-devel)

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Fri, 14 Oct 2022 20:11:23 UTC
The branch main has been updated by adamw:

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

commit fc9dbc8819eec8a0fd72d3915b5215ecb5a198d0
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-14 20:11:15 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-14 20:11:15 +0000

    security/snort3: Use USES=luajit (defaults to luajit-devel)
---
 security/snort3/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/security/snort3/Makefile b/security/snort3/Makefile
index eaf768fee910..1ce8b1d780c3 100644
--- a/security/snort3/Makefile
+++ b/security/snort3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	snort
 DISTVERSION=	3.1.43.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security
 PKGNAMESUFFIX=	3
@@ -18,7 +19,7 @@ LIB_DEPENDS=	libdaq.so:net/libdaq \
 		libpcre.so:devel/pcre \
 		libuuid.so:misc/e2fsprogs-libuuid
 
-USES=		cmake compiler:c++14-lang cpe iconv localbase pathfix pkgconfig \
+USES=		cmake compiler:c++14-lang cpe iconv localbase luajit pathfix pkgconfig \
 		shebangfix ssl
 USE_GITHUB=	yes
 
@@ -61,12 +62,6 @@ TSC_CMAKE_BOOL=			ENABLE_TSC_CLOCK
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH:Mpowerpc64*}
-LIB_DEPENDS+=	libluajit-5.1.so:lang/luajit-openresty
-.else
-LIB_DEPENDS+=	libluajit-5.1.so:lang/luajit
-.endif
-
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
 BUILD_DEPENDS=	flex>0:textproc/flex
 .endif