diff -ruN postgresql-7.4.13-old/contrib/Makefile postgresql-7.4.13/contrib/Makefile
--- postgresql-7.4.13-old/contrib/Makefile	2004-11-01 00:09:56.758754000 +0100
+++ postgresql-7.4.13/contrib/Makefile	2004-11-01 00:11:36.676564664 +0100
@@ -41,7 +41,8 @@
 		tsearch		\
 		tsearch2	\
 		userlock	\
-		vacuumlo
+		vacuumlo	\
+		xml
 
 # Missing:
 #		array		\ (removed all but the README)
@@ -54,7 +55,6 @@
 #		reindexdb	\ (does not have a makefile)
 #		start-scripts	\ (does not have a makefile)
 #		tools		\ (does not have a makefile)
-#		xml		\ (non-standard makefile)
 
 
 all install installdirs uninstall clean distclean maintainer-clean check installcheck:
diff -ruN postgresql-7.4.13-old/contrib/xml/Makefile postgresql-7.4.13/contrib/xml/Makefile
--- postgresql-7.4.13-old/contrib/xml/Makefile	2002-10-22 22:03:09.000000000 +0200
+++ postgresql-7.4.13/contrib/xml/Makefile	2004-11-01 00:11:19.308205056 +0100
@@ -4,6 +4,7 @@
 top_builddir = ../..
 include $(top_builddir)/src/Makefile.global
 
+CFLAGS += $(shell xml2-config --cflags)
 MODULE_big = pgxml_dom
 OBJS = pgxml_dom.o
 SHLIB_LINK = -lxml2
