Changeset 57242ab


Ignore:
Timestamp:
10/30/2013 02:19:55 PM (9 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.0, 11.1, 7.10, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
0b59e4c
Parents:
5460a25
Message:

prevent qt configure to write in / if building as root

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12099 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/qt4.xml

    r5460a25 r57242ab  
    215215<screen><userinput>sed -i -e "/#if/d" -e "/#error/d" -e "/#endif/d" \
    216216     config.tests/unix/libmng/libmng.cpp &amp;&amp;
     217sed -i '/CONFIG -/ a\isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../..' \
     218     src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro &amp;&amp;
    217219
    218220./configure -prefix         /usr                 \
     
    312314<screen><userinput>sed -i -e "/#if/d" -e "/#error/d" -e "/#endif/d" \
    313315     config.tests/unix/libmng/libmng.cpp &amp;&amp;
     316sed -i '/CONFIG -/ a\isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../..' \
     317     src/3rdparty/webkit/Source/WebKit2/DerivedSources.pro &amp;&amp;
    314318
    315319export QTDIR=/opt/qt-&qt4-version;
     
    374378
    375379    <para>
    376       <command>sed -i "..." ...</command>: This command fixes
    377       detection of <application>libmng</application> 2.0.
     380      <command>sed -i ...</command>: First command fixes detection of
     381      <application>libmng</application> 2.0 and second one prevents configure
     382      script to write in root directory if building as privileged user.
    378383    </para>
    379384
Note: See TracChangeset for help on using the changeset viewer.