summaryrefslogtreecommitdiffstats
path: root/extra/qt
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt')
-rwxr-xr-xextra/qt/Pkgfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/extra/qt/Pkgfile b/extra/qt/Pkgfile
index c26f9e986..ae3b62855 100755
--- a/extra/qt/Pkgfile
+++ b/extra/qt/Pkgfile
@@ -6,7 +6,7 @@
name=qt
version=4.7.1
-release=1
+release=2
_name=qt-everywhere-opensource-src-${version}
source=(http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-$version.tar.gz)
@@ -59,9 +59,9 @@ build() {
rm -rf $PKG/usr/doc
# cleanup and path fixes
find $PKG/usr/lib -type f -name '*prl' -print -exec sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" {} \;
- sed -i -e "s|-L$srcdir/${_pkgfqn}/lib||g" $PKG/usr/lib/pkgconfig/*.pc
- sed -i -e "s|$srcdir/${_pkgfqn}/bin/moc|/usr/bin/moc|g" $PKG/usr/lib/pkgconfig/*.pc
- sed -i -e "s|$srcdir/${_pkgfqn}/bin/uic|/usr/bin/uic|g" $PKG/usr/lib/pkgconfig/*.pc
+ sed -i -e "s|-L$SRC/${_pkgfqn}/lib||g" $PKG/usr/lib/pkgconfig/*.pc
+ sed -i -e "s|$SRC/${_pkgfqn}/bin/moc|/usr/bin/moc|g" $PKG/usr/lib/pkgconfig/*.pc
+ sed -i -e "s|$SRC/${_pkgfqn}/bin/uic|/usr/bin/uic|g" $PKG/usr/lib/pkgconfig/*.pc
}