summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-12-30 17:53:43 +0100
committerKoen Kooi <koen@openembedded.org>2008-12-30 17:53:43 +0100
commita6105013edc4ebe762268fd1000a8c15592effb5 (patch)
tree4e5c948f2da0d6c344c2322863d50d35832685e7
parent814da25dfa191482e1b0bf614eb064c85a3233b0 (diff)
glib-2.0: fix path to perl in glib-mkenums
-rw-r--r--packages/glib-2.0/glib-2.0_2.18.3.bb2
-rw-r--r--packages/glib-2.0/glib.inc4
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/glib-2.0/glib-2.0_2.18.3.bb b/packages/glib-2.0/glib-2.0_2.18.3.bb
index 1083ef4ba0..6446b2491d 100644
--- a/packages/glib-2.0/glib-2.0_2.18.3.bb
+++ b/packages/glib-2.0/glib-2.0_2.18.3.bb
@@ -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 \
diff --git a/packages/glib-2.0/glib.inc b/packages/glib-2.0/glib.inc
index 278b7cbc62..07818754e2 100644
--- a/packages/glib-2.0/glib.inc
+++ b/packages/glib-2.0/glib.inc
@@ -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