diff -ur freetype-2.4.3.orig/configure freetype-2.4.3/configure
--- freetype-2.4.3.orig/configure	2010-10-06 19:04:21.206037000 +1100
+++ freetype-2.4.3/configure	2010-10-06 19:04:52.144341000 +1100
@@ -80,8 +80,8 @@
 
 # build a dummy Makefile if we are not building in the source tree;
 # we use inodes to avoid issues with symbolic links
-inode_src=`ls -id $abs_ft2_dir | sed 's/ .*//'`
-inode_dst=`ls -id $abs_curr_dir | sed 's/ .*//'`
+inode_src=`ls -id $abs_ft2_dir | sed 's/[0-9] .*//'`
+inode_dst=`ls -id $abs_curr_dir | sed 's/[0-9] .*//'`
 
 if test $inode_src -ne $inode_dst; then
   if test ! -d reference; then
