$FreeBSD$ --- hints/freebsd.sh.orig Sat Jun 1 20:03:12 2002 +++ hints/freebsd.sh Tue Apr 1 14:17:18 2003 @@ -98,6 +98,13 @@ ;; esac libswanted=`echo $libswanted | sed 's/ malloc / /'` + libswanted=`echo $libswanted | sed 's/ bind / /'` + libswanted=`echo $libswanted | sed 's/ iconv / /'` + d_setregid='define' + d_setreuid='define' + d_setegid='define' + d_seteuid='define' + d_dosuid='define' ;; esac @@ -124,7 +131,7 @@ fi lddlflags='-Bshareable' fi - cccdlflags='-DPIC -fpic' + cccdlflags='-DPIC -fPIC' ;; esac @@ -223,6 +230,9 @@ 4.*) # 4.x has gethostbyaddr_r but it is # "Temporary function, not threadsafe"... d_gethostbyaddr_r="undef" + d_gethostbyaddr_r_proto="undef" + ;; + 5.*) d_gethostbyaddr_r="undef" d_gethostbyaddr_r_proto="undef" ;; esac