forked from mirrors/nixpkgs
* Fix building when /var/lib/dbus doesn't exist.
svn path=/nixpkgs/trunk/; revision=10963
This commit is contained in:
parent
ddb9d11f1c
commit
c65fa45df9
|
@ -34,8 +34,8 @@ in rec {
|
||||||
makeFlags = "DBUS_DAEMONDIR=${daemon}/bin";
|
makeFlags = "DBUS_DAEMONDIR=${daemon}/bin";
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
substituteInPlace tools/Makefile.in --replace 'test -z "$(localstatelibdir)"' true
|
||||||
sed -i 's@ $(top_builddir)/dbus/libdbus-1.la@@' tools/Makefile.in
|
sed -i 's@ $(top_builddir)/dbus/libdbus-1.la@@' tools/Makefile.in
|
||||||
sed -i '/mkdir.*localstate/d' tools/Makefile.in
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue