cmake-2.8: supports darwin
builds fine, just need to enable to
This commit is contained in:
parent
196b4863de
commit
4cc1cd8516
|
@ -43,6 +43,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "16acmdr27adma7gs9rs0dxdiqppm15vl3vv3agy7y8s94wyh4ybv";
|
sha256 = "16acmdr27adma7gs9rs0dxdiqppm15vl3vv3agy7y8s94wyh4ybv";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace Utilities/cmlibarchive/CMakeLists.txt \
|
||||||
|
--replace '"-framework CoreServices"' '""'
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ curl expat zlib bzip2 ]
|
buildInputs = [ curl expat zlib bzip2 ]
|
||||||
++ optional useNcurses ncurses
|
++ optional useNcurses ncurses
|
||||||
++ optional useQt4 qt4;
|
++ optional useQt4 qt4;
|
||||||
|
@ -76,7 +81,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.cmake.org/;
|
homepage = http://www.cmake.org/;
|
||||||
description = "Cross-Platform Makefile Generator";
|
description = "Cross-Platform Makefile Generator";
|
||||||
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.linux;
|
platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix;
|
||||||
maintainers = with stdenv.lib.maintainers; [ ];
|
maintainers = with stdenv.lib.maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue