Opened 13 years ago

Closed 13 years ago

#31385 closed defect (fixed)

sane-backends uses net-snmp without declaring dependency

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: aguynamedryan+sane@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc:
Port: net-snmp

Description

I discovered that the sane-backends libraries are linked with /opt/local/lib/libnetsnmp.25.dylib on my system. This causes attempts to use sane-backends to fail, since /opt/local/lib/libnetsnmp.25.dylib does not exist anymore, ever since net-snmp was updated to library version 30 in r80042. I had also increased the revision of all other known ports using net-snmp, to force a rebuild against the new library version, but because sane-backends doesn't declare this dependency I didn't know to increase its revision.

sane-backends should probably increase its revision to force a rebuild against the current version of net-snmp, and declare a dependency on net-snmp. I'm attaching a patch to do this, which I'd be happy to commit if you agree. Alternately, the port could be modified to not use net-snmp, even if it is already installed.

Attachments (1)

sane-backends.diff (616 bytes) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: sane-backends.diff added

proposed patch

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

comment:2 in reply to:  1 Changed 13 years ago by aguynamedryan+macports@…

Applied the patch and all seems working. Thanks for fixing that bug!

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.