From 84a44b23f513146943b6dfd31f6cae57714a53ee Mon Sep 17 00:00:00 2001
From: Richard Purdie <rpurdie@rpsys.net>
Date: Sun, 21 Oct 2007 22:22:38 +0000
Subject: openobex: Fix staging function

---
 packages/openobex/openobex_1.2.bb | 2 +-
 packages/openobex/openobex_1.3.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/openobex/openobex_1.2.bb b/packages/openobex/openobex_1.2.bb
index 358415d9b0..41648ca412 100644
--- a/packages/openobex/openobex_1.2.bb
+++ b/packages/openobex/openobex_1.2.bb
@@ -21,7 +21,7 @@ do_stage() {
 	ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.2.so
 	install -d ${STAGING_INCDIR}/openobex
 	install -m 0644 include/*.h ${STAGING_INCDIR}/openobex/
-	install -d ${STAGING_DIR}/aclocal
+	install -d ${STAGING_DATADIR}/aclocal
 	install -m 0644 openobex.m4 ${STAGING_DATADIR}/aclocal/
 }
 
diff --git a/packages/openobex/openobex_1.3.bb b/packages/openobex/openobex_1.3.bb
index 606f8de1c3..2e98fbc644 100644
--- a/packages/openobex/openobex_1.3.bb
+++ b/packages/openobex/openobex_1.3.bb
@@ -21,7 +21,7 @@ do_stage() {
 	ln -sf libopenobex.so ${STAGING_LIBDIR}/libopenobex-1.2.so
 	install -d ${STAGING_INCDIR}/openobex
 	install -m 0644 include/*.h ${STAGING_INCDIR}/openobex/
-	install -d ${STAGING_DIR}/aclocal
+	install -d ${STAGING_DATADIR}/aclocal
 	install -m 0644 openobex.m4 ${STAGING_DATADIR}/aclocal/
 }
 
-- 
cgit v1.2.3