summaryrefslogtreecommitdiff
path: root/hints/darwin.sh
diff options
context:
space:
mode:
authorSlaven Rezic <slaven@rezic.de>2003-10-07 02:04:34 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-10-12 15:48:13 +0000
commit0cad7ed8738f312f479a2c3ee36c6cc1b76d037e (patch)
treed3b294aa6e467dc527f294783314df52cfdec6f9 /hints/darwin.sh
parent47427c4eeabaf71bb2382593c8e760e49bdf9070 (diff)
downloadperl-0cad7ed8738f312f479a2c3ee36c6cc1b76d037e.tar.gz
Re: [perl #24122] setreuid and friends borked on darwin/osx
Message-ID: <87ekxq6n0t.fsf@vran.herceg.de> p4raw-id: //depot/perl@21438
Diffstat (limited to 'hints/darwin.sh')
-rw-r--r--hints/darwin.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 6d2c11244a..f3e7ff9842 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -13,6 +13,12 @@ perl_version=`awk '/define[ ]+PERL_VERSION/ {print $3}' $src/patchlevel.h`
perl_subversion=`awk '/define[ ]+PERL_SUBVERSION/ {print $3}' $src/patchlevel.h`
version="${perl_revision}.${perl_version}.${perl_subversion}"
+# Pretend that Darwin doesn't know about those system calls [perl #24122]
+d_setregid='undef'
+d_setreuid='undef'
+d_setrgid='undef'
+d_setruid='undef'
+
# This was previously used in all but causes three cases
# (no -Ddprefix=, -Dprefix=/usr, -Dprefix=/some/thing/else)
# but that caused too much grief.