git: 84778f95757e - main - security/snort: Use USES=luajit (defaults to luajit-devel)

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 01:18:32 UTC
The branch main has been updated by adamw:

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

commit 84778f95757e53e2b2bb7bb7a24e9a9fda2b60a6
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-15 01:18:28 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-15 01:18:28 +0000

    security/snort: Use USES=luajit (defaults to luajit-devel)
---
 security/snort/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/security/snort/Makefile b/security/snort/Makefile
index dd6253f56352..52ca41aa7cb7 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	snort
 PORTVERSION=	2.9.20
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	https://snort.org/downloads/snort/ \
 		https://snort.org/downloads/archive/snort/
@@ -77,8 +78,8 @@ FILEINSPECT_CONFIGURE_ENABLE=	file-inspect
 
 BARNYARD_RUN_DEPENDS=	barnyard2:security/barnyard2
 PULLEDPORK_RUN_DEPENDS=	pulledpork.pl:security/pulledpork
-APPID_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit-openresty
-APPID_CONFIGURE_ENV+=	luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.1" \
+APPID_USES=		luajit
+APPID_CONFIGURE_ENV+=	luajit_CFLAGS="-I${LUAJIT_INCDIR}" \
 			luajit_LIBS="-L${LOCALBASE}/lib -lluajit-5.1"
 
 # Disable SIMD on 32-bit arm. Snort has numerous arbitrarily misaligned memory