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
1 Patch borrowed from OpenEmbedded, available at
2 recipes/libaio/libaio-0.3.106/destdir.patch in their source tree.
3
4 It just adds support for the traditional DESTDIR variable to install
5 the library in a different sysroot than the normal /.
6
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 ---
9  Makefile |    2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 Index: libaio-0.3.109/Makefile
13 ===================================================================
14 --- libaio-0.3.109.orig/Makefile
15 +++ libaio-0.3.109/Makefile
16 @@ -23,7 +23,7 @@
17         @$(MAKE) -C src
18  
19  install:
20 -       @$(MAKE) -C src install prefix=$(prefix) includedir=$(includedir) libdir=$(libdir)
21 +       @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir)
22  
23  check:
24         @$(MAKE) -C harness check