3
0
Fork 0
forked from mirrors/nixpkgs

alienarena: fix libGL path

This commit is contained in:
Fabian Möller 2019-11-26 16:40:05 +01:00 committed by Frederik Rietdijk
parent 735590c765
commit b21700a6b6

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libjpeg, libX11, libXxf86vm, curl, libogg
, libvorbis, freetype, openal, libGLU, libGL }:
, libvorbis, freetype, openal, libGL }:
stdenv.mkDerivation {
name = "alienarena-7.65";
@ -11,12 +11,12 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libjpeg libX11 curl libogg libvorbis
freetype openal libGLU libGL libXxf86vm ];
freetype openal libGL libXxf86vm ];
patchPhase = ''
substituteInPlace ./configure \
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
--replace libGL.so.1 ${libGLU libGL}/lib/libGL.so.1
--replace libGL.so.1 ${libGL}/lib/libGL.so.1
'';
meta = with stdenv.lib; {