glib-2.0: fix path to perl in glib-mkenums
authorKoen Kooi <koen@openembedded.org>
Tue, 30 Dec 2008 16:53:43 +0000 (17:53 +0100)
committerKoen Kooi <koen@openembedded.org>
Tue, 30 Dec 2008 16:53:43 +0000 (17:53 +0100)
packages/glib-2.0/glib-2.0_2.18.3.bb
packages/glib-2.0/glib.inc

index 1083ef4..6446b24 100644 (file)
@@ -3,7 +3,7 @@ require glib.inc
 # This version requires a newer libtool that isn't default yet 
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.18/glib-${PV}.tar.bz2 \
            file://glibconfig-sysdefs.h \
index 278b7cb..0781875 100644 (file)
@@ -38,6 +38,10 @@ do_configure_prepend () {
        install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
 }
 
+do_install_append() {
+       sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g ${D}${bindir}/glib-mkenums
+}
+
 do_stage () {
        autotools_stage_all
        install -d ${STAGING_INCDIR}/glib-2.0/glib