[blfs-book] r12153 - trunk/BOOK/x/lib

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Thu Nov 7 07:44:49 PST 2013


Author: igor
Date: Thu Nov  7 07:44:49 2013
New Revision: 12153

Log:
typo in last commit and other method

Modified:
   trunk/BOOK/x/lib/qt4.xml

Modified: trunk/BOOK/x/lib/qt4.xml
==============================================================================
--- trunk/BOOK/x/lib/qt4.xml	Thu Nov  7 06:25:42 2013	(r12152)
+++ trunk/BOOK/x/lib/qt4.xml	Thu Nov  7 07:44:49 2013	(r12153)
@@ -271,13 +271,11 @@
       <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 @@
       <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



More information about the blfs-book mailing list