mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
net-snmp: update to 5.8
Disable PCRE process searching to avoid linking against libprce, which would cause the build to fail due to a missing dependency. With the --without-pcre switch, build fails due to an undefined reference, so do it via CONFIGURE_VARS instead. Signed-off-by: Rosen Penev <rosenp@gmail.com> [disable PCRE process searching] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
committed by
Stijn Tintel
parent
bcd482a194
commit
9251f51084
@@ -15,14 +15,14 @@ link tests to fail due to a stray "no" word getting passed to the linker.
|
||||
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
||||
--- a/configure.d/config_os_libs2
|
||||
+++ b/configure.d/config_os_libs2
|
||||
@@ -226,14 +226,22 @@ if test "x$with_nl" != "xno"; then
|
||||
case $target_os in
|
||||
linux*) # Check for libnl (linux)
|
||||
@@ -254,14 +254,22 @@ if test "x$with_nl" != "xno"; then
|
||||
)
|
||||
|
||||
netsnmp_save_CPPFLAGS="$CPPFLAGS"
|
||||
- CPPFLAGS="-I/usr/include/libnl3 $CPPFLAGS"
|
||||
- CPPFLAGS="${LIBNL3_CFLAGS} $CPPFLAGS"
|
||||
- NETSNMP_SEARCH_LIBS(nl_connect, nl-3,
|
||||
- [AC_CHECK_HEADERS(netlink/netlink.h)
|
||||
- EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES -I/usr/include/libnl3"],
|
||||
- EXTERNAL_MIBGROUP_INCLUDES="$EXTERNAL_MIBGROUP_INCLUDES ${LIBNL3_CFLAGS}"],
|
||||
- [CPPFLAGS="$netsnmp_save_CPPFLAGS"], [], [], [LMIBLIBS])
|
||||
+ netsnmp_netlink_include_flags=""
|
||||
if test "x$ac_cv_header_netlink_netlink_h" != xyes; then
|
||||
|
||||
Reference in New Issue
Block a user