security/snort: Use USES=luajit (defaults to luajit-devel)

This commit is contained in:
Adam Weinberger 2022-10-14 19:18:28 -06:00
parent 499d9dac7b
commit 84778f9575
1 changed files with 3 additions and 2 deletions

View File

@ -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