[MacPorts] #48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib" causes rebuild on every install
MacPorts
noreply at macports.org
Fri Jul 29 23:38:02 PDT 2016
#48123: after installing ngrep, "Could not open /opt/local/lib/libpcap.A.dylib"
causes rebuild on every install
------------------------+--------------------------------
Reporter: audvare@… | Owner: macports-tickets@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: ngrep |
------------------------+--------------------------------
Changes (by hasso.tepper@…):
* status: closed => reopened
* resolution: worksforme =>
Comment:
This is a real problem. The point is that ngrep registers libpcap as build
dependency, but it's really a runtime one. So, if ngrep is the only port
depending from libpcap from ports, 'port uninstall leaves" removes libpcap
and leaves ngrep in a broken state. I assume this change is needed:
{{{
- depends_build port:libpcap
+ depends_lib port:libpcap
}}}
--
Ticket URL: <https://trac.macports.org/ticket/48123#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list