summary refs log tree commit diff
path: root/pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch')
-rw-r--r--pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch b/pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch
new file mode 100644
index 000000000000..061875aa3b6f
--- /dev/null
+++ b/pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch
@@ -0,0 +1,28 @@
+diff -ubr lxc-0.9.0-orig/Makefile.am lxc-0.9.0/Makefile.am
+--- lxc-0.9.0-orig/Makefile.am	2013-04-15 10:50:22.899103057 +0200
++++ lxc-0.9.0/Makefile.am	2013-04-15 10:58:41.189504254 +0200
+@@ -25,8 +25,8 @@
+ 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
+diff -ubr lxc-0.9.0-orig/Makefile.in lxc-0.9.0/Makefile.in
+--- lxc-0.9.0-orig/Makefile.in	2013-04-15 10:50:22.899103057 +0200
++++ lxc-0.9.0/Makefile.in	2013-04-15 10:58:58.817870957 +0200
+@@ -805,8 +805,8 @@
+ 
+ 
+ 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