summaryrefslogtreecommitdiff
path: root/net/dpdk/files/patch-config_meson.build
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-29 23:17:50 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-30 08:16:41 +0100
commit35b06fb1497aff804abe21e254ea4cf5829953b2 (patch)
tree2ce7e64aac6d166be0645b6fb98d98fe79263823 /net/dpdk/files/patch-config_meson.build
parentdatabases/mysql-connector-odbc-80: Remove references to percona (diff)
net/dpdk: Move net/dpdk-22.11 to net/dpdk
net/dpdk was about to expire in lieu of net/dpdk-22.11. So move net/dpdk-22.11 to dpdk. When there are multiple versions in the ports tree always keep the most latest stable version without the suffix/prefix and adjust accordingly for other versions. Approved by: portmgr (blanket)
Diffstat (limited to 'net/dpdk/files/patch-config_meson.build')
-rw-r--r--net/dpdk/files/patch-config_meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/dpdk/files/patch-config_meson.build b/net/dpdk/files/patch-config_meson.build
new file mode 100644
index 000000000000..bad754fc1390
--- /dev/null
+++ b/net/dpdk/files/patch-config_meson.build
@@ -0,0 +1,12 @@
+--- config/meson.build.orig 2023-07-18 14:47:33.929900000 +0100
++++ config/meson.build 2023-07-18 14:47:36.329284000 +0100
+@@ -207,6 +207,9 @@
+ dpdk_conf.set('RTE_BACKTRACE', cc.has_header('execinfo.h') or is_windows)
+
+ libarchive = dependency('libarchive', required: false, method: 'pkg-config')
++if not libarchive.found()
++ libarchive = cc.find_library('archive', required: false)
++endif
+ if libarchive.found()
+ dpdk_conf.set('RTE_HAS_LIBARCHIVE', 1)
+ # Push libarchive link dependency at the project level to support