32

How to list all files that was installed by some MacPorts package?

For example in Funtoo (or in Gentoo) I can achieve the same with a command:

equery b [package name]

50
port contents installed_port_name
  • 8
    and for anyone interested, the reverse lookup (which port provided a file) is port provides filename – drfrogsplat May 16 '13 at 7:10
0

In my case the CFLAGS LDFLAGS were necessary.

# ensure libyaml is installed
port install libyaml +universal

# if you like you can check the location of the installied files (especially the .h file)
# port contents libyaml

# now configure with these options
CFLAGS="-I/opt/local/include/ "  LDFLAGS="-L/opt/local/lib/" ./configure
make
sudo make install

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .