treewide: preset windres missing to fix builds on Linux

https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
This commit is contained in:
Orivej Desh 2017-11-21 04:27:10 +00:00
parent 0b9cd7ad0f
commit 4f73b3162b
4 changed files with 29 additions and 1 deletions

View File

@ -9,10 +9,17 @@ stdenv.mkDerivation rec {
sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii";
};
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_ac_ct_WINDRES=
'';
configureFlags = "--enable-dependency-tracking";
buildInputs = [ alsaLib python SDL ];
enableParallelBuilding = true;
meta = {
description = "Music tracker application, free reimplementation of Impulse Tracker";
homepage = http://schismtracker.org/;

View File

@ -12,7 +12,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake ];
preConfigure = "./autogen.sh";
preConfigure = ''
./autogen.sh
# Build fails on Linux with windres.
export ac_cv_prog_WINDRES=
'';
enableParallelBuilding = true;
meta = {
homepage = http://gravit.slowchop.com;

View File

@ -28,11 +28,18 @@ in stdenv.mkDerivation rec {
pkgconfig intltool fontconfig libzip zip zlib
];
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_ac_ct_WINDRES=
'';
postInstall = ''
mkdir -p "$out/share/"
ln -s ${freedink_data}/share/dink "$out/share/"
'';
enableParallelBuilding = true;
meta = {
description = "A free, portable and enhanced version of the Dink Smallwood game engine";

View File

@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk openssl ];
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_WINDRES=
'';
enableParallelBuilding = true;
meta = {
description = "Mascot Constructive Pilot for X";
homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;