From 3ae6d619a458b89192029d9cbcfc0bc70669dd8c Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 5 Apr 2010 22:24:02 +0200 Subject: libaio: convert to the GENTARGETS infrastructure Signed-off-by: Thomas Petazzoni --- package/libaio/libaio-0.3.109-destdir.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 package/libaio/libaio-0.3.109-destdir.patch (limited to 'package/libaio/libaio-0.3.109-destdir.patch') diff --git a/package/libaio/libaio-0.3.109-destdir.patch b/package/libaio/libaio-0.3.109-destdir.patch new file mode 100644 index 000000000..583a2afa8 --- /dev/null +++ b/package/libaio/libaio-0.3.109-destdir.patch @@ -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 +--- + 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 -- cgit v1.2.3