4store: fix build
This commit is contained in:
parent
f4ec141869
commit
f54b40f80e
@ -3,8 +3,8 @@ x@{builderDefsPackage
|
|||||||
glib, libxml2, pcre, avahi,
|
glib, libxml2, pcre, avahi,
|
||||||
readline, ncurses, expat,
|
readline, ncurses, expat,
|
||||||
zlib, pkgconfig, which,
|
zlib, pkgconfig, which,
|
||||||
perl,
|
perl, libuuid, gmp, mpfr
|
||||||
db_dir ? "/var/lib/4store"
|
, db_dir ? "/var/lib/4store"
|
||||||
, ...}:
|
, ...}:
|
||||||
builderDefsPackage
|
builderDefsPackage
|
||||||
(a :
|
(a :
|
||||||
@ -28,9 +28,9 @@ rec {
|
|||||||
doFixConfigure = a.fullDepEntry ''
|
doFixConfigure = a.fullDepEntry ''
|
||||||
sed -e 's@#! */bin/bash@#! ${a.stdenv.shell}@' -i configure
|
sed -e 's@#! */bin/bash@#! ${a.stdenv.shell}@' -i configure
|
||||||
find . -name Makefile -exec sed -e "s@/usr/local@$out@g" -i '{}' ';'
|
find . -name Makefile -exec sed -e "s@/usr/local@$out@g" -i '{}' ';'
|
||||||
sed -e '/\/var\/lib\/4store/d' -i src/utilities/Makefile
|
|
||||||
|
|
||||||
sed -e 's@/var/lib/4store@${db_dir}@g' -i src/common/params.h src/utilities/*
|
sed -e 's@/var/lib/4store@${db_dir}@g' -i src/common/params.h src/utilities/*
|
||||||
|
sed -e '/FS_STORE_ROOT/d' -i src/utilities/Makefile*
|
||||||
'' ["minInit" "doUnpack"];
|
'' ["minInit" "doUnpack"];
|
||||||
|
|
||||||
fixInterpreter = (a.doPatchShebangs "$out/bin");
|
fixInterpreter = (a.doPatchShebangs "$out/bin");
|
||||||
@ -46,4 +46,3 @@ rec {
|
|||||||
linux;
|
linux;
|
||||||
};
|
};
|
||||||
}) x
|
}) x
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user