Since v4.3.3 (https://github.com/zeromq/libzmq/commit/068385c951c0608edec6264d55ba9c4c923acccc) libzmq uses libbsd by default.
This PR disables libbsd explicitly, as it's not a part of our depends. Zeromq will fallback to its internal strlcpy implementation.
Otherwise, on systems with installed libbsd-dev package the zeromq package build system erroneously detects libbsd package from the host system:
--- a/libzmq.pc
+++ b/libzmq.pc
@@ -8,5 +8,5 @@
Version: 4.3.4
Libs: -L${libdir} -lzmq
Libs.private: -lpthread
-Requires.private:
+Requires.private: libbsd
Cflags: -I${includedir}
This causes the configure fails to detect the zeromq package:
configure: WARNING: libzmq version 4.x or greater not found, disabling
Other minor improvements:
- fixed
netbsd_kevent_void.patchoffset - disabled valgrind as it's used in unit tests which we do not run:
--- a/zmq-configure-output
+++ b/zmq-configure-output
@@ -119,11 +119,6 @@
checking whether the g++ -m64 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
-checking for valgrind... valgrind
-checking for Valgrind tool memcheck... memcheck
-checking for Valgrind tool helgrind... helgrind
-checking for Valgrind tool drd... drd
-checking for Valgrind tool exp-sgcheck... exp-sgcheck
checking linker version script flag... --version-script
checking if version scripts can use complex wildcards... yes
checking for working posix_memalign... yes