Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 06:01:01 GMT
From:      =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 59a11060dd83 - main - net/dpdk-20.11: fix packaging error
Message-ID:  <202110200601.19K611fY066591@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59a11060dd83a918ecf16e88e6d13e6952c13af2

commit 59a11060dd83a918ecf16e88e6d13e6952c13af2
Author:     Bruce Richardson <bruce.richardson@intel.com>
AuthorDate: 2021-10-19 13:18:53 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2021-10-20 05:52:53 +0000

    net/dpdk-20.11: fix packaging error
    
    dpdk-test binary is installed whith TESTS=on and not TOOLS=on
    
    While here, pet linters.
    
    PR:     259248
    Reported by:    bruce.richardson@intel.com (maintainer)
---
 net/dpdk-20.11/Makefile  | 11 +++++------
 net/dpdk-20.11/pkg-plist |  2 +-
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/net/dpdk-20.11/Makefile b/net/dpdk-20.11/Makefile
index f8d598a1814d..26be3afd940c 100644
--- a/net/dpdk-20.11/Makefile
+++ b/net/dpdk-20.11/Makefile
@@ -1,5 +1,3 @@
-# $FreeBSD$
-
 PORTNAME=	dpdk
 DISTVERSION=	20.11.1
 CATEGORIES=	net
@@ -14,13 +12,12 @@ LICENSE=	BSD3CLAUSE
 ONLY_FOR_ARCHS=	amd64
 ONLY_FOR_ARCHS_REASON=	Only tested on 64-bit x86 hardware
 
-LIB_DEPENDS=	libjansson.so:devel/jansson
 BUILD_DEPENDS=	objdump:devel/binutils
+LIB_DEPENDS=	libjansson.so:devel/jansson
 
 USES=		meson kmod pkgconfig:both shebangfix tar:xz python:3.5+
-WRKSRC=		${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}
-MESON_ARGS=	-Dmachine=default -Ddefault_library=shared -Denable_kmods=true
 USE_LDCONFIG=	yes
+MESON_ARGS=	-Dmachine=default -Ddefault_library=shared -Denable_kmods=true
 SHEBANG_FILES=	usertools/dpdk-pmdinfo.py \
 		usertools/dpdk-telemetry-client.py \
 		usertools/dpdk-telemetry.py \
@@ -35,6 +32,8 @@ SHEBANG_FILES=	usertools/dpdk-pmdinfo.py \
 		examples/performance-thread/l3fwd-thread/test.sh \
 		examples/pipeline/examples/vxlan_table.py \
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}
+
 OPTIONS_DEFINE=		EXAMPLES DEBUG TOOLS TESTS
 OPTIONS_DEFAULT=	TOOLS
 OPTIONS_SUB=		yes
@@ -42,9 +41,9 @@ DEBUG_DESC=		Debugging support (unoptimized build, impacts performance)
 TOOLS_DESC=		Install tool scripts
 TESTS_DESC=		Build the automated unit test binary
 
-EXAMPLES_MESON_ON=	-Dexamples=all
 DEBUG_MESON_ON=		--buildtype=debug
 DEBUG_MESON_OFF=	--buildtype=release
+EXAMPLES_MESON_ON=	-Dexamples=all
 TESTS_MESON_TRUE=	tests
 TOOLS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR}
 
diff --git a/net/dpdk-20.11/pkg-plist b/net/dpdk-20.11/pkg-plist
index d3c4b4945ca2..82cff6da31e7 100644
--- a/net/dpdk-20.11/pkg-plist
+++ b/net/dpdk-20.11/pkg-plist
@@ -6,7 +6,7 @@
 %%TOOLS%%bin/dpdk-pmdinfo.py
 %%TOOLS%%bin/dpdk-proc-info
 %%TOOLS%%bin/dpdk-telemetry.py
-%%TOOLS%%bin/dpdk-test
+%%TESTS%%bin/dpdk-test
 bin/dpdk-test-acl
 bin/dpdk-test-bbdev
 bin/dpdk-test-cmdline



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