In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/04ec184ac01659664eaf4d4475aabdd6a078c7ae?hp=dc08898c4d1caf48f394c019210c403736150e01>
- Log ----------------------------------------------------------------- commit 04ec184ac01659664eaf4d4475aabdd6a078c7ae Author: Father Chrysostomos <[email protected]> Date: Sun Sep 26 22:27:29 2010 -0700 [perl #72990] Mac OS X and setruid, etc. hints/darwin.sh pretends that setruid and similar functions do not exist, as they were buggy in earlier versions of Mac OS X. Leopard and Snow Leopard (I donât know about Tiger) are fine. The attached patch re-enables those on recent versions. ----------------------------------------------------------------------- Summary of changes: hints/darwin.sh | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/hints/darwin.sh b/hints/darwin.sh index 6cb9bd1..dab0607 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -13,11 +13,16 @@ 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' +# Pretend that Darwin doesn't know about those system calls in Tiger +# (10.4/darwin 8) and earlier [perl #24122] +case "$osvers" in +[1-8].*) + d_setregid='undef' + d_setreuid='undef' + d_setrgid='undef' + d_setruid='undef' + ;; +esac # This was previously used in all but causes three cases # (no -Ddprefix=, -Dprefix=/usr, -Dprefix=/some/thing/else) -- Perl5 Master Repository
