security/snort3: fix build on powerpc64

Use luajit-openresty on powerpc64 since luajit doesn't support powerpc64.

Still fails to build on elfv1, but builds on elfv2.
This commit is contained in:
Piotr Kubaj 2020-09-23 17:35:50 +00:00
parent 362e250dd2
commit 290ba13190
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549759

View File

@ -16,7 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpcre.so:devel/pcre \
libdnet.so:net/libdnet \
libpcap.so:net/libpcap \
libluajit-5.1.so:lang/luajit \
libhwloc.so:devel/hwloc \
libuuid.so:misc/e2fsprogs-libuuid \
libdaq.so:net/libdaq
@ -59,6 +58,12 @@ CONFLICTS= snort-2*
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64
LIB_DEPENDS+= libluajit-5.1.so:lang/luajit-openresty
.else
LIB_DEPENDS+= libluajit-5.1.so:lang/luajit
.endif
.if ${PORT_OPTIONS:MHYPERSCAN}
PLIST_SUB+= HYPERSCAN=""
.else