From: Chris Larson Date: Wed, 14 Jan 2004 18:54:25 +0000 (+0000) Subject: BUGFIX: add necessary m4 macros for the pango build. X-Git-Tag: Release-2010-05/1~20382 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2005210858591b57880c83b771ef80bc432aa4bb;p=openembedded.git BUGFIX: add necessary m4 macros for the pango build. BKrev: 40059061Gzk3YRb8kTzH0oBo6DdaTA --- diff --git a/pango/pango-1.2.5/m4.patch b/pango/pango-1.2.5/m4.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/pango/pango_1.2.5.oe b/pango/pango_1.2.5.oe index 2d5898eaf2..0f75c79f6c 100644 --- a/pango/pango_1.2.5.oe +++ b/pango/pango_1.2.5.oe @@ -1,7 +1,8 @@ DEPENDS = virtual/libc glib-2.0 fontconfig freetype zlib x11-cvs xft-cvs xproto-cvs SRC_URI = http://ftp.gnome.org/pub/gnome/sources/pango/1.2/pango-${PV}.tar.bz2 \ - file://${FILESDIR}/ft2.patch;patch=1 + file://${FILESDIR}/ft2.patch;patch=1 \ + file://${FILESDIR}/m4.patch;patch=1 inherit autotools libtool pkgconfig @@ -11,9 +12,10 @@ EXTRA_OECONF = '--disable-glibtest \ FILES_${PN}-doc:=${FILES_pango-doc} ${datadir}/gtk-doc do_compile_prepend () { + if test -e ${S}/${HOST_PREFIX}libtool; then LIBTOOL=${S}/${HOST_PREFIX}libtool; else LIBTOOL=${S}/libtool; fi (cd tests && \ - /bin/sh ${S}/libtool --silent --mode=link ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR}/glib-2.0 -lglib-2.0 gen-all-unicode.c -o gen-all-unicode && \ - touch gen-all-unicode.c .libs/gen-all-unicde gen-all-unicode gen-all-unicode.o) + /bin/sh $LIBTOOL --silent --mode=link ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR}/glib-2.0 -lglib-2.0 gen-all-unicode.c -o gen-all-unicode && \ + touch gen-all-unicode.c .libs/gen-all-unicode gen-all-unicode gen-all-unicode.o .deps/gen-all-unicode.Po) } SOV=0.200.5