diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-11 20:14:25 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-11 20:14:25 +0000 |
commit | 51f6aec764ffb473508dcc8095ce68c20fdab48d (patch) | |
tree | f1f95a43b16fa47adaba3043520980cedcbd52c5 /pkgs/games/scummvm | |
parent | 039b660b5b712c7197c24ae1da3e3e417c27e42f (diff) | |
download | nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.tar nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.tar.gz nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.tar.bz2 nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.tar.lz nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.tar.xz nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.tar.zst nixpkgs-51f6aec764ffb473508dcc8095ce68c20fdab48d.zip |
Fixing the gcc-cross-wrapper; it failed after some changes related to breaking
dependencies with it. (I should never link ld.so with a NIX_LDFLAGS -rpath forced) I made vim, scummvm cross-build. I added prboom (that cross-builds). Mplayer and elinks don't cross-build fine still, but are on the way. The mplayer fails to build in a weird way; nix does not show either a gcc error message or even the 'make' error message. svn path=/nixpkgs/branches/stdenv-updates/; revision=23131
Diffstat (limited to 'pkgs/games/scummvm')
-rw-r--r-- | pkgs/games/scummvm/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix index d6912d5c3c0..ad03906888c 100644 --- a/pkgs/games/scummvm/default.nix +++ b/pkgs/games/scummvm/default.nix @@ -10,6 +10,18 @@ stdenv.mkDerivation { buildInputs = [SDL zlib mpeg2dec]; + crossAttrs = { + preConfigure = '' + # Remove the --build flag set by the gcc cross wrapper setup + # hook + export configureFlags="--host=${stdenv.cross.config}" + ''; + postConfigure = '' + # They use 'install -s', that calls the native strip instead of the cross + sed -i 's/-c -s/-c/' ports.mk; + ''; + }; + meta = { description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)"; homepage = http://www.scummvm.org/; |