$OpenBSD: patch-ext_standard_config_m4,v 1.2 2011/01/05 09:31:23 robert Exp $
--- ext/standard/config.m4.orig	Sat Nov 28 00:41:13 2009
+++ ext/standard/config.m4	Mon Jan  3 14:34:43 2011
@@ -311,9 +311,9 @@ dnl
 dnl Detect library functions needed by php dns_xxx functions
 dnl ext/standard/php_dns.h will collect these in a single define: HAVE_DNS_FUNCS
 dnl
-PHP_CHECK_FUNC(res_nmkquery, resolv, bind, socket)
-PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
-PHP_CHECK_FUNC(dn_expand, resolv, bind, socket)
+PHP_CHECK_FUNC(res_nmkquery, resolv, socket)
+PHP_CHECK_FUNC(res_nsend, resolv, socket)
+PHP_CHECK_FUNC(dn_expand, resolv, socket)
 
 dnl OSX has the dns functions in libc but remaps them in resolv.h for bind so linking fails
 case $host_alias in
