Change 34546 by [EMAIL PROTECTED] on 2008/10/21 11:15:45
Future-proof the FreeBSD hints - assume that FreeBSD 8, 9 etc behave
like 7, not 6 and earlier.
Affected files ...
... //depot/perl/hints/freebsd.sh#50 edit
Differences ...
==== //depot/perl/hints/freebsd.sh#50 (text) ====
Index: perl/hints/freebsd.sh
--- perl/hints/freebsd.sh#49~34542~ 2008-10-20 21:37:44.000000000 -0700
+++ perl/hints/freebsd.sh 2008-10-21 04:15:45.000000000 -0700
@@ -211,15 +211,7 @@
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 <<EOM >&4
POSIX threads should be supported by FreeBSD $osvers --
@@ -251,6 +243,14 @@
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
End of Patch.