summaryrefslogtreecommitdiff
path: root/qte/qte_2.3.7.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-01-08 15:02:16 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-01-08 15:02:16 +0000
commitb4239eb6c8606bab1331dcb003f392039c80802c (patch)
tree06fa695a63af59a5bce84b7e4db1dfe0c784ad59 /qte/qte_2.3.7.oe
parent68f7e8252a9e92c8ed2086cff0e34ba179d530e3 (diff)
fix qte builds to work with uicmoc
BKrev: 3ffd70f8LYVOFHlPIw6cehuhSbQnqw
Diffstat (limited to 'qte/qte_2.3.7.oe')
-rw-r--r--qte/qte_2.3.7.oe14
1 files changed, 4 insertions, 10 deletions
diff --git a/qte/qte_2.3.7.oe b/qte/qte_2.3.7.oe
index 606e4ced1e..815622e6a6 100644
--- a/qte/qte_2.3.7.oe
+++ b/qte/qte_2.3.7.oe
@@ -3,7 +3,8 @@ LICENSE="GPL/QPL"
SRC_URI="ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz \
file://${FILESDIR}/qpe.patch;patch=1 \
file://${FILESDIR}/tslib.patch;patch=1 \
- file://${FILESDIR}/devfs.patch;patch=1"
+ file://${FILESDIR}/devfs.patch;patch=1 \
+ file://${FILESDIR}/no-moc.patch;patch=1 "
DEPENDS=virtual/libc base/zlib base/libpng base/jpeg
PROVIDES=virtual/qte virtual/libqte2
S="${WORKDIR}/qt-${PV}"
@@ -37,6 +38,8 @@ export SYSCONF_SHLIB = ${CCLD}
export SYSCONF_CFLAGS = ${CFLAGS}
export SYSCONF_CXXFLAGS = ${CXXFLAGS} -pipe -DQWS -fno-exceptions -fno-rtti -DNO_DEBUG
export SYSCONF_LFLAGS = ${LDFLAGS}
+export SYSCONF_MOC = ${STAGING_BINDIR}/moc
+export SYSCONF_UIC = ${STAGING_BINDIR}/uic
do_configure() {
if [ "$BUILD_ARCH" = "i686" ]; then
@@ -47,15 +50,6 @@ do_configure() {
do_compile() {
unset CC LD CCLD CXX RANLIB AR STRIP CFLAGS LDFLAGS CXXFLAGS CPPFLAGS
- (
- cd src/moc
- export SYSCONF_CXX="${BUILD_CXX}"
- export SYSCONF_CC="${BUILD_CC}"
- export SYSCONF_LINK="${BUILD_CCLD}"
- export SYSCONF_SHLIB="${BUILD_CC}"
- unset SYSCONF_CFLAGS SYSCONF_CXXFLAGS SYSCONF_LFLAGS
- oe_runmake
- ) || die "Building moc failed"
oe_runmake
}