summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-02-21 18:44:21 +0000
committerSteve Peters <steve@fisharerojo.org>2006-02-21 18:44:21 +0000
commit5d0b7876b0019191af58e1bc2dbfe65297fb07aa (patch)
tree4108e3fd87897f6b75d159b0a90560c22283fbb9
parentdc8220bfca2d71384f17f046f7e05856915092e1 (diff)
downloadperl-5d0b7876b0019191af58e1bc2dbfe65297fb07aa.tar.gz
Additional hints needed to build threaded Perls on NetBSD.
p4raw-id: //depot/perl@27263
-rw-r--r--hints/netbsd.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/hints/netbsd.sh b/hints/netbsd.sh
index 07c6099e28..65a6cbebb4 100644
--- a/hints/netbsd.sh
+++ b/hints/netbsd.sh
@@ -129,7 +129,25 @@ $define|true|[yY]*)
exit 1
fi
unset lpthread
- ;;
+
+ # several reentrant functions are embeded in libc, but haven't
+ # been added to the header files yet. Let's hold off on using
+ # them until they are a valid part of the API
+ case "$osvers" in
+ [012].*|3.0)
+ d_getprotobyname_r=$undef
+ d_getprotobynumber_r=$undef
+ d_getprotoent_r=$undef
+ d_getservbyname_r=$undef
+ d_getservbyport_r=$undef
+ d_getservent_r=$undef
+ d_setprotoent_r=$undef
+ d_setservent_r=$undef
+ d_endprotoent_r=$undef
+ d_endservent_r=$undef ;;
+ esac
+ ;;
+
esac
EOCBU