git.iko.soy/typeable/nixpkgs
on master help sign in
glew: fix darwin install name
commit78af59354cba5fd84efc571086fcaab746b734c1 authorOrivej Desh <orivej@gmx.fr> dateMon 27 Nov 2017, 15:57 (9 years ago) parent4a8cadd
1 file changed+4−1
pkgs/development/libraries/glew/default.nix+4−1
pkgs/development/libraries/glew/default.nix+4−1
@@ -19,8 +19,9 @@ stdenv.mkDerivation rec {
1919
2020 patchPhase = ''
2121 sed -i 's|lib64|lib|' config/Makefile.linux
22+ substituteInPlace config/Makefile.darwin --replace /usr/local "$out"
2223 ${optionalString (hostPlatform != buildPlatform) ''
23− sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
24+ sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
2425 ''}
2526 '';
2627
@@ -43,6 +44,8 @@ stdenv.mkDerivation rec {
4344 "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
4445 ];
4546
47+ enableParallelBuilding = true;
48+
4649 meta = with stdenv.lib; {
4750 description = "An OpenGL extension loading library for C(++)";
4851 homepage = http://glew.sourceforge.net/;