From: Tony Cook Date: Tue, 21 Oct 2008 10:26:30 +0000 (+1100) Subject: FreeBSD 7 libc_r detection X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b230e30d6b57ff1dff6b7ccb4076beb872594d5d;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/hints/freebsd.sh b/hints/freebsd.sh index 38908fe..f246bff 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 <&4