summaryrefslogtreecommitdiffstats
path: root/package/libaio/libaio-0.3.109-destdir.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-04-09 00:21:38 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-04-09 00:21:38 +0200
commit6047d57813f9db970bf4b85234f2e5a10afe7c86 (patch)
treec7ea9cc0ab740ec0e06baade50f83f4af85655c8 /package/libaio/libaio-0.3.109-destdir.patch
parentb72cb51e0b754550582e231ab04011adb341eafc (diff)
parent3ae6d619a458b89192029d9cbcfc0bc70669dd8c (diff)
downloadbuildroot-novena-6047d57813f9db970bf4b85234f2e5a10afe7c86.tar.gz
buildroot-novena-6047d57813f9db970bf4b85234f2e5a10afe7c86.zip
Merge branch 'libaio-conversion' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'package/libaio/libaio-0.3.109-destdir.patch')
-rw-r--r--package/libaio/libaio-0.3.109-destdir.patch24
1 files changed, 24 insertions, 0 deletions
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 <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