nixpkgs/pkgs/os-specific/linux/lxc/install-localstatedir-in-store.patch

16 lines
394 B
Diff
Raw Normal View History

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
2013-04-15 11:15:55 +02:00
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