diff -ur t.orig/005_import.t t/005_import.t --- t.orig/005_import.t 2018-05-09 08:41:35.000000000 -0700 +++ t/005_import.t 2018-05-09 08:42:29.000000000 -0700 @@ -12,7 +12,7 @@ #check for sdk version passed to xs build require Config; -if($Config::Config{ccflags} =~ m/-mmacosx-version-min=10\.(\d)/) { +if($Config::Config{ccflags} =~ m/-mmacosx-version-min=10\.(\d+)/) { $sdk = $1; }