apply a patch to fix a bug in the QtE 2.3.7 makefile
authorMichael Lauer <mickey@vanille-media.de>
Fri, 23 Apr 2004 13:39:23 +0000 (13:39 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Fri, 23 Apr 2004 13:39:23 +0000 (13:39 +0000)
which lead to always including the system zlib and png headers even when -qt-zlib and -qt-libpng was specified

BKrev: 40891c8blb5MZmT3y8DnlS3eNSggag

uicmoc/uicmoc-native-2.3.7/fix-makefile.patch [new file with mode: 0644]
uicmoc/uicmoc-native_2.3.7.oe

diff --git a/uicmoc/uicmoc-native-2.3.7/fix-makefile.patch b/uicmoc/uicmoc-native-2.3.7/fix-makefile.patch
new file mode 100644 (file)
index 0000000..e69de29
index edb68a6..d3d61ed 100644 (file)
@@ -1,9 +1,10 @@
 DESCRIPTION = "User Interface Generator and Meta Object Compiler (moc) for Qt(E) 2.x"
+SECTION = "tools"
 PRIORITY = "optional"
-DEPENDS = "virtual/libc zlib-native"
 LICENSE = "GPL/QPL"
 
-SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz \
+           file://${FILESDIR}/fix-makefile.patch;patch=1"
 S = "${WORKDIR}/qt-${PV}"
 
 inherit autotools native
@@ -26,6 +27,7 @@ do_configure() {
 
 do_compile() {
         unset CC LD CCLD CXX RANLIB AR STRIP CFLAGS LDFLAGS CXXFLAGS CPPFLAGS
+       oe_runmake symlinks || die "Can't symlink include files"
         cd ${S}/src/moc && oe_runmake || die "Building moc failed"
         cp ${S}/src/moc/moc ${S}/bin
         cd ${S}/src && oe_runmake || die "Building libqt.a failed"