summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-06 11:10:50 +0100
committersibel <lesibel@free.fr>2011-01-06 11:10:50 +0100
commitefe89e0ff118f9c152b6d072d8b27da673a289a7 (patch)
treea967b15d4bc2ae430b3f595593f1163e0cd12fa4
parent5f655dc072c5b15df0562ba7abf1c85f0c4689fa (diff)
downloadnutyx-extra-efe89e0ff118f9c152b6d072d8b27da673a289a7.tar.gz
nutyx-extra-efe89e0ff118f9c152b6d072d8b27da673a289a7.tar.bz2
nutyx-extra-efe89e0ff118f9c152b6d072d8b27da673a289a7.tar.xz
nutyx-extra-efe89e0ff118f9c152b6d072d8b27da673a289a7.zip
qt#4.7.1-2, corrections port
-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
}