This is a small patch for following error.
$ make
cc -fno-common -g -O2 -fno-common -pipe -no-precomp -I/opt/pgsql/7.2.1/include
-I/sw/lib/ruby/1.6/powerpc-darwin5.5 -I. -I/sw/include -DHAVE_SYS_UN_H
-DHAVE_SOCKET -DHAVE_GETHOSTNAME -I/sw/include -c -o postgres.o postgres.c
cc -dynamic -bundle -undefined suppress -flat_namespace -L/sw/lib
-L/opt/pgsql/7.2.1/lib -o postgres.bundle postgres.o -L. -lruby -lpq
/usr/bin/ld: table of contents for archive: /opt/pgsql/7.2.1/lib/libpq.a is
out of date; rerun ranlib(1) (can't load from it)
make: *** [postgres.bundle] Error 1
$