From 4a6acff86627f344b9d9f8acc87fee46b159623f Mon Sep 17 00:00:00 2001 From: sibel Date: Mon, 10 Jan 2011 10:35:05 +0100 Subject: qt, maj 4.7.1-3 --- extra/qt/Pkgfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'extra/qt') 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 \ -- cgit v1.2.3-70-g09d2