Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150788 - net-analyzer/net-snmp only require zlib for rpm
Summary: net-analyzer/net-snmp only require zlib for rpm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 12:11 UTC by INODE64 Sistemas
Modified: 2006-11-26 13:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-snmp-5.2.1.2-r1..ebuild.patch (net-snmp-5.2.1.2-r1..ebuild.patch,1.04 KB, patch)
2006-10-18 05:35 UTC, Cédric Krier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description INODE64 Sistemas 2006-10-10 12:11:34 UTC
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
  ])

-----------------------------------
Comment 1 Cédric Krier gentoo-dev 2006-10-18 05:35:21 UTC
Created attachment 99938 [details, diff]
net-snmp-5.2.1.2-r1..ebuild.patch
Comment 2 Cédric Krier gentoo-dev 2006-11-26 13:39:59 UTC
fix in cvs version 5.4