opentracker: fix build for libowfat 0.32

This commit is contained in:
Markus S. Wamser 2020-12-03 15:21:54 +01:00
parent ded8dc1c46
commit c494e27999

@ -11,6 +11,15 @@ stdenv.mkDerivation {
buildInputs = [ libowfat zlib ];
postPatch = ''
substituteInPlace Makefile --replace \
'LIBOWFAT_HEADERS=$(PREFIX)/libowfat' \
'LIBOWFAT_HEADERS=${libowfat}/include/libowfat'
substituteInPlace Makefile --replace \
'LIBOWFAT_LIBRARY=$(PREFIX)/libowfat' \
'LIBOWFAT_LIBRARY=${libowfat}/lib'
'';
installPhase = ''
runHook preInstall
install -D opentracker $out/bin/opentracker