--- /opt/local/var/macports//sources/rsync.macports.org/release/ports/science/gdal/Portfile	2008-08-15 09:50:10.000000000 +0200
+++ Portfile	2008-08-19 22:14:46.000000000 +0200
@@ -94,6 +94,11 @@
 	configure.args-append	--with-macosx-framework
 }
 
+variant xerces {
+	depends_lib-append              port:xercesc
+	configure.args-append   --with-xerces=${prefix}
+}
+
 post-destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
 	xinstall -m 644 -W ${worksrcpath} HOWTO-RELEASE NEWS VERSION \

