summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2008-10-21 21:26:30 +1100
committerNicholas Clark <nick@ccl4.org>2008-10-21 04:37:44 +0000
commitb230e30d6b57ff1dff6b7ccb4076beb872594d5d (patch)
tree94cd57c3b28d366db84fa2ffdc6cfdedcfcdc383 /hints
parentb5b9b3855f771d1ed1aaa79a547b12ee1f8a218b (diff)
downloadperl-b230e30d6b57ff1dff6b7ccb4076beb872594d5d.tar.gz
FreeBSD 7 libc_r detection
Message-ID: <20081020232630.GA20563@mars.tony.develop-help.com> Date: Tue, 21 Oct 2008 10:26:30 +1100 p4raw-id: //depot/perl@34542
Diffstat (limited to 'hints')
-rw-r--r--hints/freebsd.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 38908fe724..f246bffd36 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -211,6 +211,14 @@ 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"
+ ;;
+
*)
if [ ! -r "$lc_r" ]; then
cat <<EOM >&4