Freetypeが入らない

PHPを入れようとしたら、freetypeでこけたので。

$ sudo port install freetype
--->  Fetching freetype
--->  Verifying checksum(s) for freetype
--->  Extracting freetype
--->  Applying patches to freetype
--->  Configuring freetype
--->  Building freetype with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_print_freetype/work/freetype-2.1.10" && make all" returned error 2
Command output: config.mk:25: /unix-def.mk: No such file or directory
config.mk:26: /unix-cc.mk: No such file or directory
make: *** No rule to make target `/unix-cc.mk'.  Stop.

http://sourceforge.net/mailarchive/forum.php?forum_id=3200&style=flat&viewday=16&viewmonth=200303を参考にして、

$ cd /opt/local/var/db/dports/build/_opt...../work/freetype-2.1.10
$ cd builds/unix
$ sudo ./configure

としたら、解決した。