libmikmod: fix build on darwin

* build with gccApple
This commit is contained in:
Jason \"Don\" O'Conal 2013-07-04 14:58:32 +10:00 committed by Rok Garbas
parent 970346e2d1
commit c449a67e01
2 changed files with 13 additions and 6 deletions

View File

@ -6,15 +6,17 @@ stdenv.mkDerivation rec {
sha256 = "07k6iyx6pyzisncgdkd071w2dhm3rx6l34hbja3wbc7rpf888k3k";
};
buildInputs = [ texinfo ];
meta = {
meta = with stdenv.lib; {
description = "A library for playing tracker music module files";
homepage = http://mikmod.shlomifish.org/;
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ astsmtl lovek323 ];
platforms = platforms.unix;
longDescription = ''
A library for playing tracker music module files supporting many formats,
including MOD, S3M, IT and XM.
'';
homepage = http://mikmod.shlomifish.org/;
license = "LGPLv2+";
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -4676,7 +4676,12 @@ let
libmicrohttpd = callPackage ../development/libraries/libmicrohttpd { };
libmikmod = callPackage ../development/libraries/libmikmod { };
libmikmod = callPackage ../development/libraries/libmikmod {
# resolve the "stray '@' in program" errors
stdenv = if stdenv.isDarwin
then overrideGCC stdenv gccApple
else stdenv;
};
libmilter = callPackage ../development/libraries/libmilter { };