perl522: fix build on Darwin
The sw_vers patch only applies to version 5.24
This commit is contained in:
parent
4338ddd0f9
commit
982af09d2c
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ let
|
|||
./no-sys-dirs.patch
|
||||
]
|
||||
++ optional stdenv.isSunOS ./ld-shared.patch
|
||||
++ optional stdenv.isDarwin [ ./cpp-precomp.patch ./sw_vers.patch ];
|
||||
++ optional stdenv.isDarwin ./cpp-precomp.patch
|
||||
++ optional (stdenv.isDarwin && versionAtLeast version "5.24") ./sw_vers.patch;
|
||||
|
||||
postPatch = ''
|
||||
pwd="$(type -P pwd)"
|
||||
|
|
Loading…
Reference in a new issue