41

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]

1

2 Answers 2

65
port contents installed_port_name
2
-1

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
1
  • This answer is not related to the question!
    – alls0rts
    Nov 17, 2022 at 8:07

You must log in to answer this question.

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