--- hints/darwin.sh.orig 2017-09-28 10:47:53.000000000 -0700 +++ hints/darwin.sh 2017-09-28 10:56:53.000000000 -0700 @@ -346,9 +346,12 @@ prodvers_minor=$(echo $prodvers|awk -F. '{print $2}') # macOS (10.12) deprecated syscall(). - if [ "$prodvers_minor" -ge 12 ]; then - d_syscall='undef' - fi + # but it's still available on both macOS 10.12 and 10.13 + # for compatibility with perl5.24 allow syscall() configuration on Sierra and later + # will auto-configure without syscall() if and when it's actually removed + # if [ "$prodvers_minor" -ge 12 ]; then + # d_syscall='undef' + # fi lddlflags="${ldflags} -bundle -undefined dynamic_lookup" ;;