p910nd: fix darwin build
This commit is contained in:
parent
88ff5e40ea
commit
1a3b74cf75
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -e "s|/usr||g" -i Makefile
|
||||
substituteInPlace Makefile --replace "/usr" ""
|
||||
substituteInPlace Makefile --replace "gcc" "${stdenv.cc.targetPrefix}cc"
|
||||
'';
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" "BINDIR=/bin" ];
|
||||
|
@ -39,6 +40,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "http://p910nd.sourceforge.net/";
|
||||
downloadPage = "https://sourceforge.net/projects/p910nd/";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue