Merge pull request #106430 from avdv/fix-libmodplug-darwin
libmodplug: Fix build on darwin
This commit is contained in:
commit
65778375c9
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, file }:
|
||||
|
||||
let
|
||||
version = "0.8.9.0";
|
||||
@ -6,6 +6,12 @@ in stdenv.mkDerivation rec {
|
||||
pname = "libmodplug";
|
||||
inherit version;
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace configure \
|
||||
--replace ' -mmacosx-version-min=10.5' "" \
|
||||
--replace /usr/bin/file ${file}/bin/file
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "MOD playing library";
|
||||
homepage = "http://modplug-xmms.sourceforge.net/";
|
||||
|
Loading…
Reference in New Issue
Block a user