disable pango tests instead of fighting against make.
authorMichael Lauer <mickey@vanille-media.de>
Thu, 11 Mar 2004 10:42:42 +0000 (10:42 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Thu, 11 Mar 2004 10:42:42 +0000 (10:42 +0000)
if we really need the tests, we can then think about a proper fix.

BKrev: 405042a2B3m7iGHEkhLvQhFUnoAmjQ

pango/pango-1.2.5/no-tests.patch [new file with mode: 0644]
pango/pango_1.2.5.oe

diff --git a/pango/pango-1.2.5/no-tests.patch b/pango/pango-1.2.5/no-tests.patch
new file mode 100644 (file)
index 0000000..e69de29
index b63e18b..cf6b77c 100644 (file)
@@ -2,7 +2,8 @@ DEPENDS = virtual/libc glib-2.0 fontconfig freetype zlib x11-cvs xft-cvs xproto-
 
 SRC_URI = http://ftp.gnome.org/pub/gnome/sources/pango/1.2/pango-${PV}.tar.bz2 \
          file://${FILESDIR}/ft2.patch;patch=1 \
-         file://${FILESDIR}/m4.patch;patch=1
+         file://${FILESDIR}/m4.patch;patch=1 \
+         file://${FILESDIR}/no-tests.patch;patch=1
 
 inherit autotools libtool pkgconfig
 
@@ -11,14 +12,6 @@ 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 $LIBTOOL --silent --mode=compile ${BUILD_CC} ${BUILD_CFLAGS} -I${STAGING_INCDIR}/glib-2.0 gen-all-unicode.c -c -o gen-all-unicode.o && \
-       /bin/sh $LIBTOOL --silent --mode=link ${BUILD_CC} ${BUILD_LDFLAGS} -lglib-2.0 gen-all-unicode.o -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
 do_stage () {
        install -m 0755 pango/.libs/libpangoft2-1.0.so.${SOV} ${STAGING_LIBDIR}/
@@ -44,3 +37,4 @@ do_stage () {
        install -d ${STAGING_INCDIR}/pango
        install -m 0644 pango/pango*.h ${STAGING_INCDIR}/pango/
 }
+