summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorIngo Weinhold <unknown>2004-11-30 15:38:32 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2004-12-01 13:44:24 +0000
commitdbc1d98621f53e4a3938cf011ae90a189e72f69f (patch)
tree10af181eb3e36b988f92fa611324750c78226ee7 /hints
parentacd8d558460f297a79cf62ccca790c90790f8058 (diff)
downloadperl-dbc1d98621f53e4a3938cf011ae90a189e72f69f.tar.gz
[perl #32717] BeOS specific Updates
From: Ingo Weinhold (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-32717-101307.19.7097750538509@perl.org> p4raw-id: //depot/perl@23584
Diffstat (limited to 'hints')
-rw-r--r--hints/beos.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/hints/beos.sh b/hints/beos.sh
index 25b99a1f16..47e724b2a5 100644
--- a/hints/beos.sh
+++ b/hints/beos.sh
@@ -39,14 +39,19 @@ d_syserrlst='undef'
# large negative numbers really kind of suck in arrays.
# Sockets didn't use to be real sockets but BONE changes this.
-# How does one test for BONEness?
-if [ ! -f /some/bone/file.h ]; then
+if [ ! -f /boot/develop/headers/be/bone/sys/socket.h ]; then
d_socket='undef'
d_gethbyaddr='undef'
d_gethbyname='undef'
d_getsbyname='undef'
+
+ libs='-lnet'
fi
+# We provide a flock() emulation.
+d_flock='define'
+d_flockproto='define'
+
ld='gcc'
export PATH="$PATH:$PWD/beos"
@@ -55,8 +60,6 @@ case "$ldlibpthname" in
'') ldlibpthname=LIBRARY_PATH ;;
esac
-# the waitpid() wrapper
+# the waitpid() wrapper (among other things)
archobjs="beos.o"
test -f beos.c || cp beos/beos.c .
-
-