3
0
Fork 0
forked from mirrors/nixpkgs

* Fix building when /var/lib/dbus doesn't exist.

svn path=/nixpkgs/trunk/; revision=10963
This commit is contained in:
Eelco Dolstra 2008-03-05 14:37:06 +00:00
parent ddb9d11f1c
commit c65fa45df9

View file

@ -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
''; '';
}; };