X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Ffreebsd.sh;h=937df2a85a0069f28ee33b7cf8da4c5ba038209d;hb=3332bd48887b0ba301a11465bf667141ae01ada3;hp=7a2b23a8fbc1c422f112efb28edf4f395524447d;hpb=1973dd96bef9ac903e8ae60907e63e38e591ff1a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 7a2b23a..937df2a 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -220,10 +220,11 @@ EOM fi ldflags="-pthread $ldflags" case "$osvers" in - 4.*) # 4.x has gethostbyaddr_r but it is + 4.*|5.0-release*) + # 4.x and 5.0-release have gethostbyaddr_r but it is # "Temporary function, not threadsafe"... d_gethostbyaddr_r="undef" - d_gethostbyaddr_r_proto="undef" + d_gethostbyaddr_r_proto="0" ;; esac ;;