--- Portfile	2009-07-03 00:26:29.000000000 -0400
+++ /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php5/Portfile	2009-07-03 00:30:08.000000000 -0400
@@ -130,6 +130,11 @@
         "-no-cpp-precomp"
 }
 
+platform darwin 10 {
+	configure.env-append \
+		LIBS=-lresolv
+}
+
 platform macosx {
     configure.args-append \
         --with-ldap=/usr \
