--- Portfile.orig	2009-03-29 04:52:25.000000000 -0400
+++ Portfile	2009-03-31 19:34:53.000000000 -0400
@@ -49,12 +50,9 @@
 depends_lib \
     port:zlib
 
-pre-extract {
-    if {[file exists ${prefix}/include/ftconfig.h]} {
-        ui_error "${name} cannot be built while flow-tools is active. To build ${name}, first deactivate flow-tools, then build ${name}, then re-activate flow-tools."
-        return -code error "flow-tools is present"
-    }
-}
+# See http://trac.macports.org/ticket/18232
+configure.cppflags-delete -I${prefix}/include
+configure.cppflags-append -isystem${prefix}/include
 
 platform darwin 7 {
     depends_build-append    port:gmake

