Index: postgresql90/files/Makefile.libtool
===================================================================
RCS file: /cvsroot/pkgsrc/databases/postgresql90/files/Makefile.libtool,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.libtool
--- postgresql90/files/Makefile.libtool	5 Nov 2010 14:56:37 -0000	1.2
+++ postgresql90/files/Makefile.libtool	21 Nov 2010 02:38:16 -0000
@@ -30,6 +30,9 @@ else
 ifneq (,$(findstring contrib/adminpack,$(subdir)))
 shmodule	= yes
 else
+ifneq (,$(findstring contrib/pg_stat_statements,$(subdir)))
+shmodule	= yes
+else
 ifneq (,$(findstring contrib/pgcrypto,$(subdir)))
 shmodule	= yes
 else
@@ -44,6 +47,7 @@ endif
 endif
 endif
 endif
+endif
 
 # Fix dependencies in some makefiles that assume the target matches
 # %.o so that when built for libtool, the target matches the corresponding
