* Fix building when /var/lib/dbus doesn't exist.
svn path=/nixpkgs/trunk/; revision=10963
This commit is contained in:
@@ -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
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user