summaryrefslogtreecommitdiffstats
path: root/extra/qt/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-15 14:00:59 +0100
committersibel <lesibel@free.fr>2011-01-15 14:00:59 +0100
commit8b6ff40bc198c4db03a60bd18d94b34515c9632f (patch)
treecd435e2594b38c0b380a59307e3546669da3c676 /extra/qt/Pkgfile
parent70ff0684e02004b12353ef0846b1f302e5b86633 (diff)
downloadnutyx-extra-8b6ff40bc198c4db03a60bd18d94b34515c9632f.tar.gz
nutyx-extra-8b6ff40bc198c4db03a60bd18d94b34515c9632f.tar.bz2
nutyx-extra-8b6ff40bc198c4db03a60bd18d94b34515c9632f.tar.xz
nutyx-extra-8b6ff40bc198c4db03a60bd18d94b34515c9632f.zip
qt, corrections
Diffstat (limited to 'extra/qt/Pkgfile')
-rwxr-xr-xextra/qt/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/qt/Pkgfile b/extra/qt/Pkgfile
index e7342e79b..2e713b365 100755
--- a/extra/qt/Pkgfile
+++ b/extra/qt/Pkgfile
@@ -6,10 +6,12 @@
name=qt
version=4.7.1
-release=3
+release=4
_name=qt-everywhere-opensource-src-${version}
-source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz)
+source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz
+ qt-4.7.1-fix-qtbug-15857.patch
+ qt-4.7.1-add-postgresql9.patch)
build() {
unset QMAKESPC
@@ -19,6 +21,9 @@ build() {
cd ${_name}
+ patch -Np1 -i ../qt-4.7.1-fix-qtbug-15857.patch
+ patch -Np1 -i ../qt-4.7.1-add-postgresql9.patch
+
sed -i "s|-O2|$CXXFLAGS|" mkspecs/common/g++.conf
sed -i "/^QMAKE_RPATH/s| -Wl,-rpath,||g" mkspecs/common/g++.conf
sed -i "/^QMAKE_LFLAGS\s/s|+=|+= $LDFLAGS|g" mkspecs/common/g++.conf