opentracker: combine calls to substituteInPlace (refactoring)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
c494e27999
commit
3e27c4662a
@ -12,12 +12,9 @@ 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'
|
||||
substituteInPlace Makefile \
|
||||
--replace 'LIBOWFAT_HEADERS=$(PREFIX)/libowfat' 'LIBOWFAT_HEADERS=${libowfat}/include/libowfat' \
|
||||
--replace 'LIBOWFAT_LIBRARY=$(PREFIX)/libowfat' 'LIBOWFAT_LIBRARY=${libowfat}/lib'
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user