svn commit: r549759 - head/security/snort3

Piotr Kubaj pkubaj at FreeBSD.org
Wed Sep 23 17:35:51 UTC 2020


Author: pkubaj
Date: Wed Sep 23 17:35:50 2020
New Revision: 549759
URL: https://svnweb.freebsd.org/changeset/ports/549759

Log:
  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.

Modified:
  head/security/snort3/Makefile

Modified: head/security/snort3/Makefile
==============================================================================
--- head/security/snort3/Makefile	Wed Sep 23 17:32:17 2020	(r549758)
+++ head/security/snort3/Makefile	Wed Sep 23 17:35:50 2020	(r549759)
@@ -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
@@ -58,6 +57,12 @@ HYPERSCAN_LIB_DEPENDS=	libhs.so:devel/hyperscan
 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=""


More information about the svn-ports-head mailing list