From owner-svn-ports-head@freebsd.org Thu Sep 3 22:33:26 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1274A3CD057; Thu, 3 Sep 2020 22:33:26 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BjFvT6lPBz46mY; Thu, 3 Sep 2020 22:33:25 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CBE3022B93; Thu, 3 Sep 2020 22:33:25 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 083MXPvu063026; Thu, 3 Sep 2020 22:33:25 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 083MXPXB063025; Thu, 3 Sep 2020 22:33:25 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202009032233.083MXPXB063025@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Thu, 3 Sep 2020 22:33:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547488 - head/net-mgmt/fastnetmon X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/net-mgmt/fastnetmon X-SVN-Commit-Revision: 547488 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2020 22:33:26 -0000 Author: pkubaj Date: Thu Sep 3 22:33:25 2020 New Revision: 547488 URL: https://svnweb.freebsd.org/changeset/ports/547488 Log: net-mgmt/fastnetmon: unbreak on powerpc64, others non-x86 need testing LuaJIT is not available on powerpc64. MFH: 2020Q3 (fix build blanket) Modified: head/net-mgmt/fastnetmon/Makefile Modified: head/net-mgmt/fastnetmon/Makefile ============================================================================== --- head/net-mgmt/fastnetmon/Makefile Thu Sep 3 22:27:54 2020 (r547487) +++ head/net-mgmt/fastnetmon/Makefile Thu Sep 3 22:33:25 2020 (r547488) @@ -15,16 +15,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_armv6= Does not build: invokes x86 assembler BROKEN_armv7= Does not build: invokes x86 assembler -BROKEN_powerpc64= Does not build LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ liblog4cpp.so:devel/log4cpp \ - libluajit-5.1.so:lang/luajit \ libmongoc-1.0.so:devel/mongo-c-driver \ libjson-c.so:devel/json-c \ libbson-1.0.so:devel/libbson -USES= cmake +USES= cmake compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= pavel-odintsov @@ -46,6 +44,14 @@ CMAKE_ARGS+= -DDISABLE_PF_RING_SUPPORT=ON \ -DENABLE_NETMAP_SUPPORT=OFF CMAKE_INSTALL_PREFIX= ${PREFIX} +.include + +.if ${ARCH} == amd64 || ${ARCH} == i386 +LIB_DEPENDS+= libluajit-5.1.so:lang/luajit +.else +CMAKE_ARGS+= -DENABLE_LUA_SUPPORT:BOOL=OFF +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/src/CMakeLists.txt @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \ @@ -65,4 +71,4 @@ post-install: post-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "README.md docs" ${STAGEDIR}${DOCSDIR} -.include +.include