nixpkgs/pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch
Peter Simons e857fee7a7 lxc: update to current git HEAD 1.0.0.alpha1-92-g8111adf
The developers claim that the new version works on systemd-based hosts.
2013-10-03 17:09:02 +02:00

16 lines
394 B
Diff

diff --git a/Makefile.am b/Makefile.am
index eac2bfd..8f040d3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,8 +25,8 @@ pcdatadir = $(libdir)/pkgconfig
pcdata_DATA = lxc.pc
install-data-local:
- $(MKDIR_P) $(DESTDIR)$(LXCPATH)
- $(MKDIR_P) $(DESTDIR)$(localstatedir)/cache/lxc
+ $(MKDIR_P) $(out)$(LXCPATH)
+ $(MKDIR_P) $(out)$(localstatedir)/cache/lxc
ChangeLog::
@touch ChangeLog