perl: remove sw_vers darwin patch
The patch fails to apply on 5.42. It's no longer needed since: https://github.com/Perl/perl5/commit/55b5890c26936402c07d7ae9e41b2b9842e36842
This commit is contained in:
@@ -37,10 +37,7 @@ let
|
||||
./no-sys-dirs.patch
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isSunOS ./ld-shared.patch
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
./cpp-precomp.patch
|
||||
./sw_vers.patch
|
||||
]
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin ./cpp-precomp.patch
|
||||
++ lib.optional crossCompiling ./cross.patch;
|
||||
|
||||
libc = if stdenv.cc.libc or null != null then stdenv.cc.libc else "/usr";
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/hints/darwin.sh b/hints/darwin.sh
|
||||
index afadf53..80b7533 100644
|
||||
--- a/hints/darwin.sh
|
||||
+++ b/hints/darwin.sh
|
||||
@@ -329,7 +329,7 @@ EOM
|
||||
# sw_vers output what we want
|
||||
# "ProductVersion: 10.10.5" "10.10"
|
||||
# "ProductVersion: 10.11" "10.11"
|
||||
- prodvers=`sw_vers|awk '/^ProductVersion:/{print $2}'|awk -F. '{print $1"."$2}'`
|
||||
+ prodvers="${MACOSX_DEPLOYMENT_TARGET:-10.12}"
|
||||
case "$prodvers" in
|
||||
10.*)
|
||||
add_macosx_version_min ccflags $prodvers
|
||||
Reference in New Issue
Block a user