답변:
필자의 경우 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
port provides filename