diff -urN libxml2-2.7.0/configure.in libxml2-2.7.0-haiku/configure.in
--- libxml2-2.7.0/configure.in	2008-08-30 07:38:39.000000000 -0700
+++ libxml2-2.7.0-haiku/configure.in	2008-08-30 14:20:06.000000000 -0700
@@ -1255,6 +1255,9 @@
 	;;
 	*beos*) M_LIBS=""
 	;;
+	*haiku*) M_LIBS=""
+	;;
+
 	*) M_LIBS="-lm"
 	;;
 esac

Patch to fix -lm issue for libxml2-2.7.0 on Haiku
Patch to fix -lm issue for libxml2-2.7.0 on Haiku

