all version of net-snmp only require zlib for build rpm see configure.in line 2358 ----------------------------------- # rpm libraries only needed for the host resources mib software # installed tables (on linux in particular) # if test "x$with_rpm" != "xno" && \ echo " $module_list " | grep " host/hr_swinst " > /dev/null; then # ARG. RPM is a real pain. # FWIW librpm.la, librpmio.la, and libpopt.la have correct dependencies. _rpmlibs="" # zlib is required for newer versions of rpm _cppflags="${CPPFLAGS}" _ldflags="${LDFLAGS}" AC_ARG_WITH(zlib, [ --with-zlib[=DIR] use libz in DIR],[ if test -d "$withval"; then CPPFLAGS="${CPPFLAGS} -I$withval/include" LDFLAGS="${LDFLAGS} -L$withval/lib" fi ]) -----------------------------------
Created attachment 99938 [details, diff] net-snmp-5.2.1.2-r1..ebuild.patch
fix in cvs version 5.4