summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-11 10:42:42 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-11 10:42:42 +0000
commitb0b02364c99ba3093bd792cf01e933cf928ff7bc (patch)
tree9ab1de34a521e0316716576e3a0c5095d9ac9d23 /pango
parentabb363d0b71e785a8e991859f80300a83e4db87c (diff)
disable pango tests instead of fighting against make.
if we really need the tests, we can then think about a proper fix. BKrev: 405042a2B3m7iGHEkhLvQhFUnoAmjQ
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-1.2.5/no-tests.patch0
-rw-r--r--pango/pango_1.2.5.oe12
2 files changed, 3 insertions, 9 deletions
diff --git a/pango/pango-1.2.5/no-tests.patch b/pango/pango-1.2.5/no-tests.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/pango/pango-1.2.5/no-tests.patch
diff --git a/pango/pango_1.2.5.oe b/pango/pango_1.2.5.oe
index b63e18b3f3..cf6b77cbc8 100644
--- a/pango/pango_1.2.5.oe
+++ b/pango/pango_1.2.5.oe
@@ -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/
}
+