summaryrefslogtreecommitdiff
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
commit5527428ab108e448bfecd3df2523c7e5868e1e49 (patch)
treed3b294aa6e467dc527f294783314df52cfdec6f9
parentd1647e3cca23398ac1b73f13f56dd34e4e41c2d9 (diff)
downloadperl-5527428ab108e448bfecd3df2523c7e5868e1e49.tar.gz
Re: [perl #24122] setreuid and friends borked on darwin/osx
Message-ID: <87ekxq6n0t.fsf@vran.herceg.de> p4raw-id: //depot/perl@21438
-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.