aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-27 22:32:09 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-27 22:32:09 +0000
commit8ad94ab722857c1be1a8357258a18ad2591b921e (patch)
tree3abef6aa42019148a8ac8f016783b74d9908fc77 /chapter05
parentcc2f8a526d71f81c72e880acd33bb0b80bf64b59 (diff)
Add an environment variable to util-linux
in Chapter 5 to prevent an installation error for hosts that have unneeded capabilities availible. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10452 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/ncurses.xml3
-rw-r--r--chapter05/util-linux.xml15
2 files changed, 13 insertions, 5 deletions
diff --git a/chapter05/ncurses.xml b/chapter05/ncurses.xml
index 2db0a770c..a18a9c819 100644
--- a/chapter05/ncurses.xml
+++ b/chapter05/ncurses.xml
@@ -45,8 +45,7 @@
<para>Prepare Ncurses for compilation:</para>
-<screen><userinput remap="configure">
-./configure --prefix=/tools \
+<screen><userinput remap="configure">./configure --prefix=/tools \
--with-shared \
--without-debug \
--without-ada \
diff --git a/chapter05/util-linux.xml b/chapter05/util-linux.xml
index 8407f802c..7156895c2 100644
--- a/chapter05/util-linux.xml
+++ b/chapter05/util-linux.xml
@@ -42,9 +42,10 @@
<para>Prepare Util-linux for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/tools \
- --disable-makeinstall-chown \
- --without-systemdsystemunitdir</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/tools \
+ --disable-makeinstall-chown \
+ --without-systemdsystemunitdir \
+ PKG_CONFIG=""</userinput></screen>
<variablelist>
<title>The meaning of the configure option:</title>
@@ -67,6 +68,14 @@
This switch disables the unnecessary action.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><envar>PKG_CONFIG=""</envar></term>
+ <listitem>
+ <para>Setting this envronment variable prevents adding unneeded
+ features that may be available on the host.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>Compile the package:</para>