opentracker: use makeFlags instead of patching (refactoring)
Co-authored-by: Mic92 (Jörg Thalheim)
This commit is contained in:
co-authored by
Mic92 (Jörg Thalheim)
parent
3e27c4662a
commit
717beb92fa
@@ -11,11 +11,10 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ libowfat zlib ];
|
buildInputs = [ libowfat zlib ];
|
||||||
|
|
||||||
postPatch = ''
|
makeFlags = [
|
||||||
substituteInPlace Makefile \
|
"LIBOWFAT_HEADERS=${libowfat}/include/libowfat"
|
||||||
--replace 'LIBOWFAT_HEADERS=$(PREFIX)/libowfat' 'LIBOWFAT_HEADERS=${libowfat}/include/libowfat' \
|
"LIBOWFAT_LIBRARY=${libowfat}/lib"
|
||||||
--replace 'LIBOWFAT_LIBRARY=$(PREFIX)/libowfat' 'LIBOWFAT_LIBRARY=${libowfat}/lib'
|
];
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|||||||
Reference in New Issue
Block a user