summaryrefslogtreecommitdiffstats
path: root/extra/qt/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-10 10:35:05 +0100
committersibel <lesibel@free.fr>2011-01-10 10:35:05 +0100
commit4a6acff86627f344b9d9f8acc87fee46b159623f (patch)
treeb24631c7848dc104d3c46c303e244d4616f3e725 /extra/qt/Pkgfile
parent73f5d49d1d4439c5fb44cf0e7f1a93443e08d7b6 (diff)
downloadnutyx-extra-4a6acff86627f344b9d9f8acc87fee46b159623f.tar.gz
nutyx-extra-4a6acff86627f344b9d9f8acc87fee46b159623f.tar.bz2
nutyx-extra-4a6acff86627f344b9d9f8acc87fee46b159623f.tar.xz
nutyx-extra-4a6acff86627f344b9d9f8acc87fee46b159623f.zip
qt, maj 4.7.1-3
Diffstat (limited to 'extra/qt/Pkgfile')
-rwxr-xr-xextra/qt/Pkgfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/extra/qt/Pkgfile b/extra/qt/Pkgfile
index 7f4b359f6..e7342e79b 100755
--- a/extra/qt/Pkgfile
+++ b/extra/qt/Pkgfile
@@ -6,7 +6,7 @@
name=qt
version=4.7.1
-release=2
+release=3
_name=qt-everywhere-opensource-src-${version}
source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz)
@@ -15,8 +15,14 @@ build() {
unset QMAKESPC
export QT4DIR=$SRC/${_name}
export PATH=${QT4DIR}/bin:$PATH
+ export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
+
cd ${_name}
- # Install service phonon
+
+ 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
+
./configure -confirm-license -opensource \
-prefix /usr \
-sysconfdir /etc \