列出某些MacPorts软件包安装的所有文件


Answers:


50
port contents installed_port_name

8
对于任何感兴趣的人,反向查找(哪个端口提供了文件)是port provides filename
drfrogsplat

0

在我的情况下,CFLAGS LDFLAGS是必需的。

# 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
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.