macports which port owns a file

Roger Pack rogerdpack2 at gmail.com
Sat Apr 6 11:32:13 PDT 2013


On 4/6/13, Clemens Lang <cal at macports.org> wrote:
> On Sat, Apr 06, 2013 at 09:48:53AM -0600, Roger Pack wrote:
>> is there a way to determine which port "owns" or "put down" a file,
>> for instance (relative to a comment at the bottom of
>> http://trac.macports.org/ticket/29198 )
>
> For files you have installed, use port contents <portname> or port
> provides <file>:
>
>> I'm trying to add a dependency for this file, to mplayer:
>> /opt/rdp_project_local/lib/libXss.1.dylib
>> however, "port search xss" doesn't easily reveal an answer.
>
> /opt/rdp_project_local/bin/port provides
> /opt/rdp_project_local/lib/libXss.1.dylib.

Thanks that command worked.  I must have messed up my install somehow,
since it seems unbound, but I would assume  that's a separate problem
:)

 /opt/rdp_project_local/bin/port provides
/opt/rdp_project_local/lib/libXss.1.dylib
/opt/rdp_project_local/lib/libXss.1.dylib is not provided by a MacPorts port.


More information about the macports-users mailing list