diff options
Diffstat (limited to 'extra/qt/Pkgfile')
-rwxr-xr-x | extra/qt/Pkgfile | 10 |
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 \ |