It is considered good practice to use the build system provided
variables instead of directly specify hardcoded paths.

Signed-off-by: Javier Martinez Canillas <jav...@dowhile0.org>
---
 .../xorg-lib/xkeyboard-config_2.1.bb               |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb 
b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
index b077fa3..1b28208 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
@@ -19,7 +19,7 @@ SRC_URI[sha256sum] = 
"e293aa4b0dd259dbb4f0e7f56fdd95db5047d052c7b3b80922fe566392
 SECTION = "x11/libs"
 DEPENDS = "intltool-native xkbcomp-native glib-2.0"
 
-PR = "r1"
+PR = "r2"
 
 EXTRA_OECONF = "--with-xkb-rules-symlink=xorg"
 
@@ -29,6 +29,6 @@ FILES_${PN} += "${datadir}/X11/xkb"
 inherit autotools pkgconfig
 
 do_install_append () {
-    install -d ${D}/usr/share/X11/xkb/compiled
+    install -d ${D}${datadir}/X11/xkb/compiled
     cd ${D}${datadir}/X11/xkb/rules && ln -sf base xorg
 }
-- 
1.7.7.6


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to