Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 17:35:50 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549759 - head/security/snort3
Message-ID:  <202009231735.08NHZodi073406@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009231735.08NHZodi073406>