diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2011-12-05 21:59:39 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2011-12-05 21:59:39 +0000 |
commit | bf10add2f2e1b9f738398b303cae53cbc87f1d56 (patch) | |
tree | b132df3470d8a31c1c9d7dd5b592199c76c611b7 /chapter06 | |
parent | dad1b16187af444eb02129b622d0c97f89335403 (diff) |
Prevent some arpd artefacts from being installed by IPRoute2. Fixes #2977.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9687 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/iproute2.xml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index 051483fb7..4a95145f7 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -43,13 +43,15 @@ <para>The <command>arpd</command> binary included in this package is dependent on Berkeley DB. Because <command>arpd</command> is not a very - common requirement on a base Linux system, remove the dependency on Berkeley DB by applying the <command>sed</command> command below. If the - <command>arpd</command> binary is needed, instructions for compiling - Berkeley DB can be found in the BLFS Book at - <ulink url="&blfs-root;view/svn/server/databases.html#db"/>. + common requirement on a base Linux system, remove the dependency on Berkeley + DB by applying the commands below. If the <command>arpd</command> binary is + needed, instructions for compiling Berkeley DB can be found in the BLFS Book + at <ulink url="&blfs-root;view/svn/server/databases.html#db"/>. </para> -<screen><userinput remap="pre">sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> +<screen><userinput remap="pre">sed -i '/^TARGETS/s@arpd@@g' misc/Makefile +sed -i /ARPD/d Makefile +rm man/man8/arpd.8</userinput></screen> <para>Compile the package:</para> @@ -80,7 +82,7 @@ <para>Install the package:</para> -<screen><userinput remap="install">make DESTDIR= SBINDIR=/sbin MANDIR=/usr/share/man \ +<screen><userinput remap="install">make DESTDIR= MANDIR=/usr/share/man \ DOCDIR=/usr/share/doc/iproute2-&iproute2-version; install</userinput></screen> </sect2> |