[oe-commits] Khem Raj : scim_1.4.9.bb: Fix infinite loop when compiling po/ subdir
git version control
git at git.openembedded.org
Thu Oct 28 02:14:40 UTC 2010
Module: openembedded.git
Branch: master
Commit: 9ccba6c9c0212abc2e9414c09932d6daab29fd8c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9ccba6c9c0212abc2e9414c09932d6daab29fd8c
Author: Khem Raj <raj.khem at gmail.com>
Date: Wed Oct 27 19:08:54 2010 -0700
scim_1.4.9.bb: Fix infinite loop when compiling po/ subdir
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/scim/scim_1.4.9.bb | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/recipes/scim/scim_1.4.9.bb b/recipes/scim/scim_1.4.9.bb
index 153a1aa..21110b2 100644
--- a/recipes/scim/scim_1.4.9.bb
+++ b/recipes/scim/scim_1.4.9.bb
@@ -1,9 +1,9 @@
DESCRIPTION = "Smart Common Input Method (SCIM) platform"
HOMEPAGE = "http://www.scim-im.org"
SECTION = "libs/inputmethod"
-LICENSE = "LGPL"
-DEPENDS = "gtk+"
-PR = "r1"
+LICENSE = "LGPLv2.1+"
+DEPENDS = "gtk+ cairo"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
file://gcc-4.4-const-char.dpatch;apply=yes \
@@ -19,7 +19,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${PN}-${PV}.tar.gz \
"
inherit autotools pkgconfig
-
EXTRA_OECONF = " --without-doxygen "
LEAD_SONAME = "libscim-1.0.so"
@@ -35,7 +34,15 @@ do_configure_append () {
sed -i "s/${SEDL}.*/${SEDR}/" Makefile.in.in
sed -i "s/${SEDL}.*/${SEDR}/" Makefile.in
sed -i "s/${SEDL}.*/${SEDR}/" Makefile
+ # the below sed is done to prevent an infinite loop when make enters po/
+ # since intltoolize is not a knobbable operation in autotools do_configure
+ # good old sed comes to our rescue
+ # this is equivalent of a patch to Makefile.in.in which would be
+ #- $(SHELL) ./config.status
+ #+ $(SHELL) ./config.status
+ #+ touch stamp-it
+ sed -i 's/^[ \t]*\$(SHELL).*$/\t\$(SHELL) .\/config.status\n\ttouch stamp-it/g' Makefile.in.in
# Fix unset @INTLTOOL_LIBDIR@
# Only needed for a check to see if charmap.alias is present,
# not really needed, so we fail that test by having it look
More information about the Openembedded-commits
mailing list