==== //depot/perl/hints/freebsd.sh#49 - /home/nick/p4perl/perl/hints/freebsd.sh ==== --- /tmp/tmp.76188.11 2008-10-21 09:37:29.000000000 +0100 +++ /home/nick/p4perl/perl/hints/freebsd.sh 2008-10-21 08:20:08.000000000 +0100 @@ -211,15 +211,7 @@ EOM exit 1 ;; - 7.*) - # 7.x doesn't install libc_r by default, and Configure - # would fail in the code following - # - # gethostbyaddr_r() appears to have been implemented in 6.x+ - ldflags="-pthread $ldflags" - ;; - - *) + [3-5].*) if [ ! -r "$lc_r" ]; then cat <&4 POSIX threads should be supported by FreeBSD $osvers -- @@ -251,6 +243,14 @@ EOM d_gethostbyaddr_r_proto="0" ;; + *) + # 7.x doesn't install libc_r by default, and Configure + # would fail in the code following + # + # gethostbyaddr_r() appears to have been implemented in 6.x+ + ldflags="-pthread $ldflags" + ;; + esac case "$osvers" in