1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/dpdk/Makefile
Rene Ladan 3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00

47 lines
1.5 KiB
Makefile

PORTNAME= dpdk
DISTVERSION= 19.11.12
CATEGORIES= net
MASTER_SITES= http://fast.dpdk.org/rel/
MAINTAINER= bruce.richardson@intel.com
COMMENT= DPDK: Software libraries for packet processing
WWW= https://dpdk.org/
LICENSE= BSD3CLAUSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= only works on 64-bit x86 hardware
LIB_DEPENDS= libjansson.so:devel/jansson
BUILD_DEPENDS= objdump:devel/binutils
USES= meson kmod pkgconfig:both shebangfix tar:xz python
WRKSRC= ${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}
MESON_ARGS= -Dmachine=default -Ddefault_library=shared -Denable_kmods=true
USE_LDCONFIG= yes
SHEBANG_FILES= usertools/dpdk-pmdinfo.py \
usertools/dpdk-telemetry-client.py \
usertools/dpdk-devbind.py \
usertools/dpdk-pmdinfo.py \
examples/ipsec-secgw/test/pkttest.py \
examples/ipsec-secgw/test/pkttest.sh \
examples/ipsec-secgw/test/run_test.sh \
examples/ipsec-secgw/test/trs_ipv6opts.py \
examples/ipsec-secgw/test/tun_null_header_reconstruct.py \
examples/performance-thread/l3fwd-thread/test.sh \
OPTIONS_DEFINE= EXAMPLES DEBUG TOOLS TESTS
OPTIONS_DEFAULT= TOOLS
OPTIONS_SUB= yes
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
TESTS_MESON_TRUE= tests
TOOLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR}
.include <bsd.port.mk>