Index: src/Makefile.shlib
===================================================================
RCS file: /cvsroot/pgsql/src/Makefile.shlib,v
retrieving revision 1.83
diff -c -c -r1.83 Makefile.shlib
*** src/Makefile.shlib	13 Oct 2004 09:51:47 -0000	1.83
--- src/Makefile.shlib	13 Oct 2004 10:17:36 -0000
***************
*** 216,221 ****
--- 216,223 ----
  
  ifeq ($(PORTNAME), cygwin)
    shlib			= $(NAME)$(DLSUFFIX)
+   # needed for /contrib modules, not sure why
+   SHLIB_LINK		+= -lpgport
  endif
  
  ifeq ($(PORTNAME), win32)
