typo in last commit and other method

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12153 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2013-11-07 15:44:49 +00:00
parent bb2f06c7d7
commit ece3a738ba

View File

@ -271,13 +271,11 @@ install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>for file in 3Support CLucene Core DBus Declarative DesignerComponents \
Designer Gui Help Multimedia Network OpenGL Script \
ScriptTools Sql Svg Test UiTools WebKit XmlPatterns Xml
<screen role="root"><userinput>for file in `basename -a -s .prl /usr/lib/lib*.prl`; do
do
sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' \
/usr/lib/libQt${file}.prl
perl -pi -e "s, -L$PWD/?\S+,,g" /usr/lib/pkgconfig/Qt${file}.pc
/usr/lib/${file}.prl
perl -pi -e "s, -L$PWD/?\S+,,g" /usr/lib/pkgconfig/${file##lib}.pc
done
unset file</userinput></screen>
@ -361,7 +359,7 @@ install -v -Dm644 tools/qdbus/qdbusviewer/images/qdbusviewer-128.png \
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>for file in `basename -a -s .prl /usr/lib/lib*.prl`; do
<screen role="root"><userinput>for file in `basename -a -s .prl $QTDIR/lib/lib*.prl`; do
sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' \
$QTDIR/lib/${file}.prl
perl -pi -e "s, -L$PWD/?\S+,,g" $QTDIR/lib/pkgconfig/${file##lib}.pc