Change 34542 by [EMAIL PROTECTED] on 2008/10/21 04:37:44
Subject: FreeBSD 7 libc_r detection
From: Tony Cook <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 21 Oct 2008 10:26:30 +1100
Affected files ...
... //depot/perl/hints/freebsd.sh#49 edit
Differences ...
==== //depot/perl/hints/freebsd.sh#49 (text) ====
Index: perl/hints/freebsd.sh
--- perl/hints/freebsd.sh#48~32190~ 2007-10-25 01:48:49.000000000 -0700
+++ perl/hints/freebsd.sh 2008-10-20 21:37:44.000000000 -0700
@@ -211,6 +211,14 @@
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"
+ ;;
+
*)
if [ ! -r "$lc_r" ]; then
cat <<EOM >&4
End of Patch.