skarnet.org packages: fix darwin build

The configure scripts have been changed so that `--build` is now the
way to specify (non-cross compiling) build target, which is necessary
on darwin for binary compatibility across darwin versions.
This commit is contained in:
Patrick Mahoney
2017-03-26 17:30:41 -05:00
parent eab30996bd
commit 09a5007797
7 changed files with 13 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
# Explicitly setting target ensures code can be compiled against a skalibs
# binary built on a different version of darwin.
# http://www.skarnet.org/cgi-bin/archive.cgi?1:mss:623:heiodchokfjdkonfhdph
++ (stdenv.lib.optional stdenv.isDarwin "--target=${stdenv.system}");
++ (stdenv.lib.optional stdenv.isDarwin "--build=${stdenv.system}");
meta = {
homepage = http://skarnet.org/software/skalibs/;