glew: fix darwin install name
This commit is contained in:
parent
4a8caddb6e
commit
78af59354c
@ -19,8 +19,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's|lib64|lib|' config/Makefile.linux
|
||||
substituteInPlace config/Makefile.darwin --replace /usr/local "$out"
|
||||
${optionalString (hostPlatform != buildPlatform) ''
|
||||
sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
|
||||
sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
|
||||
''}
|
||||
'';
|
||||
|
||||
@ -43,6 +44,8 @@ stdenv.mkDerivation rec {
|
||||
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An OpenGL extension loading library for C(++)";
|
||||
homepage = http://glew.sourceforge.net/;
|
||||
|
Loading…
Reference in New Issue
Block a user