-Index: postgresql-8.2.5/src/port/Makefile
-===================================================================
---- postgresql-8.2.5.orig/src/port/Makefile 2007-09-20 10:18:17.000000000 -0500
-+++ postgresql-8.2.5/src/port/Makefile 2007-09-20 10:18:17.000000000 -0500
-@@ -43,6 +43,7 @@
+--- a/src/port/Makefile
++++ b/src/port/Makefile
+@@ -53,6 +53,7 @@ uninstall:
- libpgport.a: $(LIBOBJS)
+ libpgport.a: $(OBJS)
$(AR) $(AROPT) $@ $^
+ $(RANLIB) libpgport.a
+ # thread.o needs PTHREAD_CFLAGS (but thread_srv.o does not)
thread.o: thread.c
- $(CC) $(CFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -c $<