The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libaio / 0003-destdir.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/libaio/0003-destdir.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/libaio/0003-destdir.patch
new file mode 100644 (file)
index 0000000..583a2af
--- /dev/null
@@ -0,0 +1,24 @@
+Patch borrowed from OpenEmbedded, available at
+recipes/libaio/libaio-0.3.106/destdir.patch in their source tree.
+
+It just adds support for the traditional DESTDIR variable to install
+the library in a different sysroot than the normal /.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: libaio-0.3.109/Makefile
+===================================================================
+--- libaio-0.3.109.orig/Makefile
++++ libaio-0.3.109/Makefile
+@@ -23,7 +23,7 @@
+       @$(MAKE) -C src
+ install:
+-      @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir)
++      @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir)
+ check:
+       @$(MAKE) -C harness check