Index: appendices/dependencies.xml
===================================================================
--- appendices/dependencies.xml	(revision 5fdea2c96c0288253dff53ed7641df7f1b2b5406)
+++ appendices/dependencies.xml	(revision 28bdcfe0ef164ea92e1debc35bf71e62e29a5c4b)
@@ -19,21 +19,22 @@
   is to document the dependencies of each package built in LFS.</para>
 
-  <para>For each package we build, we have listed three, and sometimes four,
-  types of dependencies.  The first lists what other packages need to be
-  available in order to compile and install the package in question. The second
-  lists what packages, in addition to those on the first list, need to be
-  available in order to run the test suites. The third list of dependencies are
-  packages that require this package to be built and installed in its final
-  location before they are built and installed. In most cases, this is because
-  these packages will hard code paths to binaries within their scripts. If not
-  built in a certain order, this could result in paths of /tools/bin/[binary]
-  being placed inside scripts installed to the final system. This is obviously
-  not desirable.</para>
+  <para>For each package that is built, there are three, and sometimes up to
+  five types of dependencies listed below. The first lists what other packages
+  need to be available in order to compile and install the package in question.
+  The second lists the packages that must be available when any programs or
+  libraries from the package are used at runtime. The third lists what packages,
+  in addition to those on the first list, need to be available in order to run
+  the test suites. The fourth list of dependencies are packages that require
+  this package to be built and installed in its final location before they are
+  built and installed. In most cases, this is because these packages will hard
+  code paths to binaries within their scripts. If not built in a certain order,
+  this could result in paths of /tools/bin/[binary] being placed inside scripts
+  installed to the final system. This is obviously not desirable.</para>
 
   <para>The last list of dependencies are optional packages that are not
-  addressed in LFS, but could be useful to the user.  These packages may have
-  additional mandatory or optional dependencies of their own.  For these
+  addressed in LFS, but could be useful to the user. These packages may have
+  additional mandatory or optional dependencies of their own. For these
   dependencies, the recommended practice is to install them after completion of
-  the LFS book and then go back and rebuild the LFS package.  In several cases,
+  the LFS book and then go back and rebuild the LFS package. In several cases,
   re-installation is addressed in BLFS.</para>
 
@@ -41,24 +42,29 @@
   <bridgehead renderas="sect2" id="acl-dep">Acl</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-          <seg>Attr, Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make,
+      <segmentedlist id="acl-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Attr, Bash, Binutils, Coreutils, GCC,  Gettext, Grep, M4, Make,
           Perl, Sed, and Texinfo</seg>
         </seglistitem>
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>Automake, Diffutils, Findutils, and Libtool</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="acl-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Attr and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="acl-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>Automake, Diffutils, Findutils, and
+          Libtool</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="acl-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Coreutils, Sed, Tar, and Vim</seg>
@@ -66,7 +72,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="acl-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -77,16 +82,21 @@
   <bridgehead renderas="sect2" id="attr-dep">Attr</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make,
+      <segmentedlist id="attr-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make,
           Perl, Sed, and Texinfo</seg>
         </seglistitem>
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="attr-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="attr-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Automake, Diffutils, Findutils, and Libtool</seg>
@@ -94,7 +104,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="attr-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Acl and Libcap</seg>
@@ -102,7 +111,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="attr-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -113,7 +121,6 @@
   <bridgehead renderas="sect2" id="autoconf-dep">Autoconf</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="autoconf-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
           <seg>Bash, Coreutils, Grep, M4, Make, Perl, Sed, and Texinfo</seg>
@@ -121,7 +128,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="autoconf-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Coreutils, Grep, M4, Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="autoconf-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Automake, Diffutils, Findutils, GCC, and Libtool</seg>
@@ -129,7 +142,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="autoconf-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Automake</seg>
@@ -137,9 +149,10 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Emacs</seg>
+      <segmentedlist id="autoconf-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;postlfs/emacs.html">Emacs</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -148,16 +161,21 @@
   <bridgehead renderas="sect2" id="automake-dep">Automake</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-          <seg>Autoconf, Bash, Coreutils, Gettext, Grep, M4, Make, Perl,
-          Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="automake-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Autoconf, Bash, Coreutils, Gettext, Grep, M4, Make, Perl, Sed,
+          and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="automake-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Coreutils, Grep, M4, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="automake-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Binutils, Bison, Bzip2, DejaGNU, Diffutils, Expect, Findutils,
@@ -166,15 +184,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="automake-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="automake-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -185,7 +201,6 @@
   <bridgehead renderas="sect2" id="bash-dep">Bash</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="bash-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
           <seg>Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Glibc,
@@ -194,7 +209,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="bash-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, Ncurses, and Readline</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bash-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Shadow</seg>
@@ -202,17 +223,17 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Xorg</seg>
+      <segmentedlist id="bash-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bash-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;x/installing.html">Xorg</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -221,16 +242,20 @@
   <bridgehead renderas="sect2" id="bc-dep">Bc</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-          <seg>Bash, Binutils, Coreutils, GCC, Glibc,
-          Grep, and Make</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="bc-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, and Make</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bc-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, Ncurses, and Readline</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bc-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Gawk</seg>
@@ -238,15 +263,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>Linux Kernel</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="bc-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>Linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bc-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -257,16 +280,21 @@
   <bridgehead renderas="sect2" id="binutils-dep">Binutils</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC, Glibc,
-         Grep, Make, Perl, Sed, Texinfo, and Zlib</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="binutils-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, File, Flex, Gawk, GCC,
+          Glibc, Grep, Make, Perl, Sed, Texinfo, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="binutils-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="binutils-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>DejaGNU and Expect</seg>
@@ -274,17 +302,17 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Debuginfod</seg>
+      <segmentedlist id="binutils-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="binutils-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="https://sourceware.org/elfutils/">Elfutils</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -293,16 +321,21 @@
   <bridgehead renderas="sect2" id="bison-dep">Bison</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc,
-         Grep, M4, Make, Perl, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="bison-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make,
+          Perl, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bison-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bison-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils, Findutils, and Flex</seg>
@@ -310,7 +343,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="bison-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Kbd and Tar</seg>
@@ -318,9 +350,10 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Doxygen (test suite)</seg>
+      <segmentedlist id="bison-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/doxygen.html">Doxygen</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -329,24 +362,28 @@
   <bridgehead renderas="sect2" id="bzip2-dep">Bzip2</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make,
-         and Patch</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="bzip2-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Make, and
+          Patch</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bzip2-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bzip2-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="bzip2-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>File</seg>
@@ -354,7 +391,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="bzip2-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -365,31 +401,34 @@
   <bridgehead renderas="sect2" id="check-dep">Check</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>GCC, Grep, Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="check-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Gawk, GCC, Grep, Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="check-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash and Gawk</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="check-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="check-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="check-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -400,24 +439,28 @@
   <bridgehead renderas="sect2" id="coreutils-dep">Coreutils</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Libcap,
-         Make, Patch, Perl, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>Diffutils, E2fsprogs, Findutils, Shadow, and Util-linux</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="coreutils-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep,
+          Libcap, Make, Patch, Perl, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="coreutils-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="coreutils-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>Diffutils, E2fsprogs, Findutils, Shadow, and  Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="coreutils-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Bash, Diffutils, Eudev, Findutils, and Man-DB</seg>
@@ -425,9 +468,12 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Perl Expect and IO:Tty modules (for test suite)</seg>
+      <segmentedlist id="coreutils-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="https://metacpan.org/pod/Expect">Expect.pm</ulink>
+            and 
+            <ulink url="https://metacpan.org/pod/IO::Tty">IO::Tty</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -441,6 +487,6 @@
 
         <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
-         Make, Sed, and Util-linux</seg>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          Make, Sed, and Util-linux</seg>
         </seglistitem>
       </segmentedlist>
@@ -473,31 +519,35 @@
   <bridgehead renderas="sect2" id="dejagnu-dep">DejaGNU</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Coreutils, Diffutils, GCC, Grep, Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="dejagnu-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Coreutils, Diffutils, Expect, GCC, Grep, Make, Sed, and
+          Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="dejagnu-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Expect and Bash</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="dejagnu-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="dejagnu-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="dejagnu-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -508,7 +558,6 @@
   <bridgehead renderas="sect2" id="diffutils-dep">Diffutils</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="diffutils-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
           <seg>Bash, Binutils, Coreutils, Gawk, GCC, Gettext, Glibc, Grep,
@@ -517,7 +566,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="diffutils-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="diffutils-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Perl</seg>
@@ -525,15 +580,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="diffutils-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="diffutils-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -544,16 +597,21 @@
   <bridgehead renderas="sect2" id="e2fsprogs-dep">E2fsprogs</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
-         Gzip, Make, Sed, Texinfo, and Util-linux</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="e2fsprogs-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          Gzip, Make, Sed, Texinfo, and Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="e2fsprogs-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="e2fsprogs-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Procps-ng and Psmisc</seg>
@@ -561,15 +619,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="e2fsprogs-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="e2fsprogs-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -580,32 +636,35 @@
   <bridgehead renderas="sect2" id="eudev-dep">Eudev</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Gperf,
-         Make, Sed, and Util-linux</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="eudev-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Gperf, Make,
+          Sed, and Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="eudev-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, Kmod, Xz, Util-linux, and Zlib.</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="eudev-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="eudev-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="eudev-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -616,24 +675,28 @@
   <bridgehead renderas="sect2" id="expat-dep">Expat</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep,
-         Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="expat-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, and
+          Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expat-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expat-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expat-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Python and XML::Parser</seg>
@@ -641,7 +704,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="expat-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -652,35 +714,38 @@
   <bridgehead renderas="sect2" id="expect-dep">Expect</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
-         Patch, Sed, and Tcl</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="expect-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
+          Patch, Sed, and Tcl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expect-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Tcl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expect-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expect-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="expect-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>
-            <ulink url="&blfs-root;view/stable/general/tk.html">tk</ulink>
+            <ulink url="&blfs-book;general/tk.html">Tk</ulink>
           </seg>  
         </seglistitem>
@@ -690,7 +755,6 @@
   <bridgehead renderas="sect2" id="file-dep">File</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="file-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
           <seg>Bash, Binutils, Bzip2, Coreutils, Diffutils, Gawk, GCC, Glibc,
@@ -699,26 +763,30 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="file-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, Bzip2, Xz, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="file-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="file-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="file-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>
-            <ulink url="&blfs-root;/view/stable/general/libseccomp.html">Libseccomp</ulink>
+            <ulink url="&blfs-book;general/libseccomp.html">libseccomp</ulink>
           </seg>
         </seglistitem>
@@ -728,16 +796,21 @@
   <bridgehead renderas="sect2" id="findutils-dep">Findutils</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make,
-         Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="findutils-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed,
+          and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="findutils-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="findutils-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>DejaGNU, Diffutils, and Expect</seg>
@@ -745,15 +818,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="findutils-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="findutils-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -764,16 +835,21 @@
   <bridgehead renderas="sect2" id="flex-dep">Flex</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make,
-         Patch, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="flex-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, M4, Make,
+          Patch, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="flex-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Glibc, and M4</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="flex-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Bison and Gawk</seg>
@@ -781,7 +857,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="flex-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Binutils, IProute2, Kbd, Kmod, and Man-DB</seg>
@@ -789,7 +864,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="flex-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -800,16 +874,21 @@
   <bridgehead renderas="sect2" id="gawk-dep">Gawk</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Make,
-         MPFR, Patch, Readline, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="gawk-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, GMP, Grep, Make,
+          MPFR, Patch, Readline, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gawk-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Glibc, and Mpfr</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gawk-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils</seg>
@@ -817,17 +896,17 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>libsigsegv</seg>
+      <segmentedlist id="gawk-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gawk-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/libsigsegv.html">libsigsegv</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -836,17 +915,22 @@
   <bridgehead renderas="sect2" id="gcc-dep">GCC</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
-         Gettext, Glibc, GMP, Grep, M4, Make, MPC, MPFR, Patch, Perl, Sed, Tar,
-         Texinfo, and Zstd</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="gcc-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
+          Gettext, Glibc, GMP, Grep, M4, Make, MPC, MPFR, Patch, Perl, Sed,
+          Tar, Texinfo, and Zstd</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gcc-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Glibc, Mpc, and Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gcc-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>DejaGNU, Expect, and Shadow</seg>
@@ -854,18 +938,18 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg><ulink url="http://gcc.gnu.org/wiki/GNAT">GNAT</ulink> and 
-               <ulink url="https://repo.or.cz/isl.git">ISL</ulink> 
+      <segmentedlist id="gcc-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gcc-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+             <ulink url="http://gcc.gnu.org/wiki/GNAT">GNAT</ulink>
+             and
+             <ulink url="https://repo.or.cz/isl.git">ISL</ulink> 
           </seg>
         </seglistitem>
@@ -875,32 +959,35 @@
   <bridgehead renderas="sect2" id="gdbm">GDBM</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Grep, Make, 
-         and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="gdbm-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Grep, Make, and
+          Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gdbm-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Glibc, and Readline</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gdbm-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gdbm-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gdbm-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -911,16 +998,21 @@
   <bridgehead renderas="sect2" id="gettext-dep">Gettext</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
-         Ncurses, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="gettext-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Ncurses,
+          Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gettext-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Acl, Bash, Gcc, and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gettext-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils, Perl, and Tcl</seg>
@@ -928,7 +1020,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="gettext-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Automake and Bison</seg>
@@ -936,7 +1027,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="gettext-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -947,16 +1037,22 @@
   <bridgehead renderas="sect2" id="glibc-dep">Glibc</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Gettext,
-         Grep, Gzip, Linux API Headers, Make, Perl, Python, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="glibc-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Gettext,
+          Grep, Gzip, Linux API Headers, Make, Perl, Python, Sed, and
+          Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="glibc-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="glibc-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>File</seg>
@@ -964,15 +1060,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="glibc-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="glibc-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -983,24 +1077,28 @@
   <bridgehead renderas="sect2" id="gmp-dep">GMP</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
-         M4, Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="gmp-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, M4,
+          Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gmp-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>GCC and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gmp-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gmp-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>MPFR and GCC</seg>
@@ -1008,7 +1106,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="gmp-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1019,7 +1116,6 @@
   <bridgehead renderas="sect2" id="gperf-dep">Gperf</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="gperf-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
          <seg>Bash, Binutils, Coreutils, GCC, Glibc, and Make</seg>
@@ -1027,7 +1123,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="gperf-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>GCC and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gperf-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils and Expect</seg>
@@ -1035,15 +1137,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="gperf-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gperf-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1054,16 +1154,21 @@
   <bridgehead renderas="sect2" id="grep-dep">Grep</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep,
-         Make, Patch, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="grep-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep,
+          Make, Patch, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="grep-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="grep-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Gawk</seg>
@@ -1071,7 +1176,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="grep-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Man-DB</seg>
@@ -1079,9 +1183,12 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Pcre and libsigsegv</seg>
+      <segmentedlist id="grep-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/pcre.html">PCRE</ulink>
+            and
+            <ulink url="&blfs-book;general/libsigsegv.html">libsigsegv</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1090,16 +1197,21 @@
   <bridgehead renderas="sect2" id="groff-dep">Groff</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Bison, Coreutils,  Gawk, GCC, Glibc, Grep, Make,
-         Patch, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="groff-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Bison, Coreutils, Gawk, GCC, Glibc, Grep, Make,
+          Patch, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="groff-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>GCC, Glibc, and Perl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="groff-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1107,7 +1219,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="groff-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Man-DB and Perl</seg>
@@ -1115,9 +1226,12 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Ghostscript and uchardet</seg>
+      <segmentedlist id="groff-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;pst/gs.html">ghostscript</ulink>
+            and
+            <ulink url="&blfs-book;general/uchardet.html">Uchardet</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1126,32 +1240,35 @@
   <bridgehead renderas="sect2" id="grub-dep">GRUB</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Bison, Coreutils, Diffutils, GCC, Gettext, Glibc,
-         Grep, Make, Ncurses, Sed, Texinfo, and Xz</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="grub-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Bison, Coreutils, Diffutils, GCC, Gettext, Glibc,
+          Grep, Make, Ncurses, Sed, Texinfo, and Xz</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="grub-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, GCC, Gettext, Glibc, Xz, and Sed.</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="grub-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="grub-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="grub-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1162,16 +1279,21 @@
   <bridgehead renderas="sect2" id="gzip-dep">Gzip</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make,
-         Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="gzip-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed, and
+          Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gzip-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="gzip-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils and Less</seg>
@@ -1179,7 +1301,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="gzip-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Man-DB</seg>
@@ -1187,7 +1308,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="gzip-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1198,15 +1318,20 @@
   <bridgehead renderas="sect2" id="iana-etc-dep">Iana-Etc</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Coreutils, Gawk, and Make</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="iana-etc-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+         <seg>Coreutils</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="iana-etc-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="iana-etc-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1214,7 +1339,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="iana-etc-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Perl</seg>
@@ -1222,7 +1346,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="iana-etc-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1233,24 +1356,28 @@
   <bridgehead renderas="sect2" id="inetutils-dep">Inetutils</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses,
-         Patch, Sed, Texinfo, and Zlib</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="inetutils-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Ncurses,
+          Patch, Sed, Texinfo, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="inetutils-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>GCC, Glibc, Ncurses, and Readline</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="inetutils-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="inetutils-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Tar</seg>
@@ -1258,7 +1385,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="inetutils-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1269,15 +1395,21 @@
   <bridgehead renderas="sect2" id="intltool-dep">Intltool</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Gawk, Glibc, Make, Perl, Sed, and XML::Parser</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="intltool-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Gawk, Glibc, Make, Perl, Sed, and XML::Parser</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="intltool-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Autoconf, Automake, Bash, Glibc, Grep, Perl, and
+          Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="intltool-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Perl</seg>
@@ -1285,15 +1417,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="intltool-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="intltool-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1304,16 +1434,21 @@
   <bridgehead renderas="sect2" id="iproute2-dep">IProute2</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Bison, Coreutils, Flex, GCC, Glibc, Make, Libcap,
-         Libelf, and Linux API Headers</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="iproute2-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+         <seg>Bash, Bison, Coreutils, Flex, GCC, Glibc, Make, Libcap, Libelf,
+         Linux API Headers, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="iproute2-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Coreutils, Glibc, Libcap, Libelf, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="iproute2-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1321,17 +1456,19 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Berkeley DB and Iptables</seg>
+      <segmentedlist id="iproute2-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="iproute2-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>
+            and
+            <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1340,15 +1477,20 @@
   <bridgehead renderas="sect2" id="jinja2-dep">Jinja2</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>MarkupSafe and Python</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="jinja2-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>MarkupSafe and Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="jinja2-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>MarkupSafe and Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="jinja2-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1356,7 +1498,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="jinja2-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Systemd</seg>
@@ -1364,7 +1505,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="jinja2-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1375,7 +1515,6 @@
   <bridgehead renderas="sect2" id="kbd-dep">Kbd</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="kbd-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
          <seg>Bash, Binutils, Bison, Check, Coreutils, Flex, GCC, Gettext,
@@ -1384,23 +1523,27 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="kbd-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, Coreutils, and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="kbd-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="kbd-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="kbd-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1411,16 +1554,21 @@
   <bridgehead renderas="sect2" id="kmod-dep">Kmod</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc,
-         Gzip, Make, Pkg-config, Sed, Xz-Utils, and Zlib</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="kmod-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Bison, Coreutils, Flex, GCC, Gettext, Glibc,
+          Gzip, Make, Pkg-config, Sed, Xz, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="kmod-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, Xz, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="kmod-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1428,7 +1576,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="kmod-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Eudev</seg>
@@ -1436,7 +1583,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="kmod-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1447,16 +1593,21 @@
   <bridgehead renderas="sect2" id="less-dep">Less</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
-         Ncurses, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="less-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
+          Ncurses, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="less-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Ncurses</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="less-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1464,7 +1615,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="less-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Gzip</seg>
@@ -1472,9 +1622,10 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Pcre</seg>
+      <segmentedlist id="less-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/pcre.html">PCRE</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1483,24 +1634,28 @@
   <bridgehead renderas="sect2" id="libcap-dep">Libcap</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Attr, Bash, Binutils, Coreutils, GCC, Glibc, Perl, Make,
-         and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="libcap-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Attr, Bash, Binutils, Coreutils, GCC, Glibc, Perl, Make, and
+          Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libcap-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libcap-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libcap-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>IProute2 and Shadow</seg>
@@ -1508,9 +1663,10 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Linux-PAM</seg>
+      <segmentedlist id="libcap-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;postlfs/linux-pam.html">Linux-PAM</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1519,31 +1675,34 @@
   <bridgehead renderas="sect2" id="libelf-dep">Libelf</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, and Make</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>IProute2 and Linux Kernel</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="libelf-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, and Make</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libelf-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libelf-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libelf-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>IProute2 and Linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libelf-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1554,15 +1713,21 @@
   <bridgehead renderas="sect2" id="libffi-dep">Libffi</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="libffi-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make,
+         and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libffi-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libffi-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>DejaGnu</seg>
@@ -1570,7 +1735,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="libffi-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Python</seg>
@@ -1578,7 +1742,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="libffi-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1589,16 +1752,21 @@
   <bridgehead renderas="sect2" id="libpipeline-dep">Libpipeline</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
-         Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="libpipeline-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libpipeline-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libpipeline-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Check</seg>
@@ -1606,7 +1774,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="libpipeline-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Man-DB</seg>
@@ -1614,7 +1781,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="libpipeline-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1625,16 +1791,22 @@
   <bridgehead renderas="sect2" id="libtool-dep">Libtool</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
-         Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="libtool-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libtool-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Autoconf, Automake, Bash, Binutils, Coreutils, File, GCC, Glibc,
+          Grep, Make, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libtool-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Autoconf, Automake, and Findutils</seg>
@@ -1642,35 +1814,38 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-<!-- Begin Linux Kernel dependency info -->
-  <bridgehead renderas="sect2" id="linux-dep">Linux Kernel</bridgehead>
-
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc,
-         Grep, Gzip, Kmod, Libelf, Make, Ncurses, OpenSSL, Perl, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="libtool-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="libtool-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+<!-- Begin Linux dependency info -->
+  <bridgehead renderas="sect2" id="linux-dep">Linux</bridgehead>
+
+      <segmentedlist id="linux-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc,
+          Grep, Gzip, Kmod, Libelf, Make, Ncurses, OpenSSL, Perl, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1678,15 +1853,52 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="linux-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+<!-- Begin Linux dependency info -->
+  <bridgehead renderas="sect2" id="linux-api-headers-dep">Linux API Headers</bridgehead>
+
+      <segmentedlist id="linux-api-headers-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Findutils, GCC, Glibc, Grep, Gzip,
+          Make, Perl, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-api-headers-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-api-headers-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>No test suite available</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-api-headers-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="linux-api-headers-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1697,16 +1909,21 @@
   <bridgehead renderas="sect2" id="m4-dep">M4</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed, and
-         Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="m4-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, Sed, and
+          Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="m4-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="m4-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils</seg>
@@ -1714,7 +1931,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="m4-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Autoconf and Bison</seg>
@@ -1722,9 +1938,10 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>libsigsegv</seg>
+      <segmentedlist id="m4-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/libsigsegv.html">libsigsegv</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1733,16 +1950,21 @@
   <bridgehead renderas="sect2" id="make-dep">Make</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep,
-         Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="make-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed,
+          and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="make-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="make-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Perl and Procps-ng</seg>
@@ -1750,17 +1972,17 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
+      <segmentedlist id="make-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="make-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/guile.html">Guile</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1769,16 +1991,21 @@
   <bridgehead renderas="sect2" id="man-db-dep">Man-DB</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Bzip2, Coreutils, Flex, GCC, GDBM, Gettext,
-         Glibc, Grep, Groff, Gzip, Less, Libpipeline, Make, Sed, and Xz</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="man-db-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Bzip2, Coreutils, Flex, GCC, GDBM, Gettext,
+          Glibc, Grep, Groff, Gzip, Less, Libpipeline, Make, Sed, and Xz</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="man-db-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bash, GDBM, Groff, Glibc, Gzip, Less, Libpipeline, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="man-db-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Util-linux</seg>
@@ -1786,17 +2013,17 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
+      <segmentedlist id="man-db-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="man-db-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/libseccomp.html">libseccomp</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -1805,7 +2032,6 @@
   <bridgehead renderas="sect2" id="man-pages-dep">Man-Pages</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="man-pages-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
          <seg>Bash, Coreutils, and Make</seg>
@@ -1813,7 +2039,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="man-pages-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="man-pages-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1821,15 +2053,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="man-pages-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="man-pages-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1840,15 +2070,20 @@
   <bridgehead renderas="sect2" id="markupsafe-dep">MarkupSafe</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Python</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="markupsafe-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="markupsafe-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="markupsafe-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1856,7 +2091,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="markupsafe-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Jinja2</seg>
@@ -1864,7 +2098,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="markupsafe-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1875,15 +2108,20 @@
   <bridgehead renderas="sect2" id="meson-dep">Meson</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Ninja and Python</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="meson-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Ninja and Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="meson-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="meson-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1891,7 +2129,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="meson-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Systemd</seg>
@@ -1899,7 +2136,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="meson-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1910,24 +2146,28 @@
   <bridgehead renderas="sect2" id="mpc-dep">MPC</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, GMP,
-         Make, MPFR, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="mpc-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          GMP, Make, MPFR, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="mpc-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, GMP, and MPFR</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="mpc-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="mpc-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>GCC</seg>
@@ -1935,7 +2175,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="mpc-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1946,24 +2185,28 @@
   <bridgehead renderas="sect2" id="mpfr-dep">MPFR</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, GMP,
-         Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="mpfr-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          GMP, Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="mpfr-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and GMP</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="mpfr-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="mpfr-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Gawk and GCC</seg>
@@ -1971,7 +2214,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="mpfr-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -1982,16 +2224,21 @@
   <bridgehead renderas="sect2" id="ncurses-dep">Ncurses</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
-         Make, Patch, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="ncurses-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
+          Make, Patch, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="ncurses-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="ncurses-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -1999,7 +2246,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="ncurses-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Bash, GRUB, Inetutils, Less, Procps-ng, Psmisc, Readline,
@@ -2008,7 +2254,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="ncurses-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2019,23 +2264,27 @@
   <bridgehead renderas="sect2" id="ninja-dep">Ninja</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Binutils, Coreutils, GCC, and Python</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="ninja-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Binutils, Coreutils, GCC, and Python</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="ninja-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>GCC and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="ninja-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="ninja-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Meson</seg>
@@ -2043,9 +2292,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Asciidoc, Doxygen, Emacs, and re2c</seg>
+      <segmentedlist id="ninja-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;general/asciidoc.html">Asciidoc</ulink>,
+            <ulink url="&blfs-book;general/doxygen.html">Doxygen</ulink>,
+            <ulink url="&blfs-book;postlfs/emacs.html">Emacs</ulink>, and
+            <ulink url="https://re2c.org/">re2c</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2054,23 +2307,27 @@
   <bridgehead renderas="sect2" id="openssl-dep">Openssl</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Binutils, Coreutils, GCC, Make, and Perl</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="openssl-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Binutils, Coreutils, GCC, Make, and Perl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="openssl-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Perl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="openssl-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="openssl-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Linux</seg>
@@ -2078,7 +2335,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="openssl-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2089,15 +2345,20 @@
   <bridgehead renderas="sect2" id="patch-dep">Patch</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="patch-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="patch-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Patch</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="patch-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils</seg>
@@ -2105,17 +2366,17 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Ed</seg>
+      <segmentedlist id="patch-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="patch-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;postlfs/ed.html">Ed</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2124,16 +2385,21 @@
   <bridgehead renderas="sect2" id="perl-dep">Perl</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep,
-         Groff, Make, Sed, and Zlib</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="perl-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Gawk, GCC, GDBM, Glibc, Grep, Groff,
+          Make, Sed, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="perl-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>GDBM and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="perl-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Iana-Etc and Procps-ng</seg>
@@ -2141,7 +2407,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="perl-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Autoconf</seg>
@@ -2149,9 +2414,10 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
+      <segmentedlist id="perl-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2160,24 +2426,28 @@
   <bridgehead renderas="sect2" id="pkgconfig-dep">Pkg-config</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
-         Popt, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="pkgconfig-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Popt,
+          and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="pkgconfig-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="pkgconfig-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="pkgoonfig-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Kmod</seg>
@@ -2185,7 +2455,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="pkgconfig-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2196,15 +2465,20 @@
   <bridgehead renderas="sect2" id="procps-dep">Procps-ng</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make, and Ncurses</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="procps-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make, and Ncurses</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="procps-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="procps-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>DejaGNU</seg>
@@ -2212,15 +2486,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="procps-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="procps-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2231,16 +2503,21 @@
   <bridgehead renderas="sect2" id="psmisc-dep">Psmisc</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make,
-         Ncurses, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="psmisc-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make,
+          Ncurses, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="psmisc-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Ncurses</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="psmisc-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -2248,15 +2525,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="psmisc-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="psmisc-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2267,16 +2542,23 @@
   <bridgehead renderas="sect2" id="python-dep">Python</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Expat, GCC, Gdbm, Gettext, Glibc, Grep, 
-         Libffi, Make, Ncurses, Sed, and Util-linux</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="python-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Expat, GCC, Gdbm, Gettext, Glibc,
+          Grep, Libffi, Make, Ncurses, OpenSSL, Sed, and Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="python-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Bzip2, Expat, Gdbm, Glibc, Libffi, Ncurses, OpenSSL, and
+          Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+        
+
+      <segmentedlist id="python-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>GDB and Valgrind</seg>
@@ -2284,7 +2566,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="python-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Ninja</seg>
@@ -2292,9 +2573,12 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Berkeley DB, OpenSSL, SQLite, and Tk</seg>
+      <segmentedlist id="python-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;server/db.html">Berkeley DB</ulink>,
+            <ulink url="&blfs-book;server/sqlite.html"> SQLite</ulink>, and
+            <ulink url="&blfs-book;general/tk.html">Tk</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2303,16 +2587,21 @@
   <bridgehead renderas="sect2" id="readline-dep">Readline</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Ncurses,
-         Patch, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="readline-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Ncurses,
+          Patch, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="readline-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Ncurses</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="readline-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -2320,7 +2609,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="readline-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Bash and Gawk</seg>
@@ -2328,7 +2616,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="readline-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2339,16 +2626,21 @@
   <bridgehead renderas="sect2" id="sed-dep">Sed</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make,
-         Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="sed-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make, Sed,
+          and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sed-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, and Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sed-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Diffutils and Gawk</seg>
@@ -2356,7 +2648,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="sed-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>E2fsprogs, File, Libtool, and Shadow</seg>
@@ -2364,7 +2655,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="sed-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2375,16 +2665,21 @@
   <bridgehead renderas="sect2" id="shadow-dep">Shadow</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk, GCC,
-         Gettext, Glibc, Grep, Libcap, Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="shadow-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Findutils, Gawk,
+          GCC, Gettext, Glibc, Grep, Libcap, Make, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="shadow-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="shadow-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -2392,7 +2687,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="shadow-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Coreutils</seg>
@@ -2400,9 +2694,12 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Cracklib and PAM</seg>
+      <segmentedlist id="shadow-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;postlfs/cracklib.html">CrackLib</ulink>
+            and
+            <ulink url="&blfs-book;postlfs/linux-pam.html">Linux-PAM</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2411,15 +2708,20 @@
   <bridgehead renderas="sect2" id="sysklogd-dep">Sysklogd</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Binutils, Coreutils, GCC, Glibc, Make, and Patch</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="sysklogd-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Binutils, Coreutils, GCC, Glibc, Make, and Patch</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sysklogd-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sysklogd-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -2427,15 +2729,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="sysklogd-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sysklogd-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2446,37 +2746,83 @@
   <bridgehead renderas="sect2" id="systemd-dep">Systemd</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
+      <segmentedlist id="systemd-depends">
+        <segtitle>&dependencies;</segtitle>
         <seglistitem>
          <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, Expat, Gawk,
-         GCC, Glibc, Gperf, Grep, Intltool, Jinja2, Libcap,
-         Meson, Sed, and Util-linux</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Many, see
-            <ulink url="&blfs-root;view/systemd/general/systemd.html">BLFS
-            systemd page</ulink>
+         GCC, Glibc, Gperf, Grep, Intltool, Jinja2, Libcap, Meson, Sed, and
+         Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="systemd-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, Glibc, Libcap, and Util-linux</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="systemd-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="systemd-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="systemd-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink
+              url="&blfs-book;postlfs/btrfs-progs.html">btrfs-progs</ulink>,
+            <ulink url="&blfs-book;basicnet/curl.html">cURL</ulink>,
+            <ulink url="&blfs-book;postlfs/cryptsetup.html">cryptsetup</ulink>,
+            <ulink url="&blfs-book;pst/docbook.html">docbook-xml</ulink>,
+            <ulink
+              url="&blfs-book;pst/docbook-xsl.html">docbook-xsl-nons</ulink>,
+            <ulink url="https://sourceware.org/elfutils/">elfutils</ulink>,
+            <ulink url="&blfs-book;general/git.html">Git</ulink>,
+            <ulink
+              url="https://sourceforge.net/projects/gnu-efi/">gnu-efi</ulink>,
+            <ulink url="&blfs-book;postlfs/gnutls.html">GnuTLS</ulink>,
+            <ulink url="&blfs-book;postlfs/iptables.html">iptables</ulink>,
+            <ulink url="https://www.kernel.org/pub/linux/utils/kernel/kexec/">
+              kexec-tools</ulink>,
+            <ulink
+              url="https://developers.yubico.com/libfido2/">libfido2</ulink>,
+            <ulink url="&blfs-book;general/libgcrypt.html">libgcrypt</ulink>,
+            <ulink url="&blfs-book;general/libidn2.html">libidn2</ulink>,
+            <ulink url="https://www.gnu.org/software/libmicrohttpd/">
+              Libmicrohttpd</ulink>,
+            <ulink
+              url="&blfs-book;postlfs/libpwquality.html">libpwquality</ulink>,
+            <ulink url="&blfs-book;general/libseccomp.html">libseccomp</ulink>,
+            <ulink
+              url="&blfs-book;general/libxkbcommon.html">libxkbcommon</ulink>,
+            <ulink url="&blfs-book;general/libxslt.html">libxslt</ulink>,
+            <ulink url="&blfs-book;postlfs/linux-pam.html">Linux-PAM</ulink>,
+            <ulink
+              url="&blfs-book;general/python-modules.html#lxml">lxml</ulink>,
+            <ulink url="http://lz4.github.io/lz4/">LZ4</ulink>,
+            <ulink url="&blfs-book;postlfs/make-ca.html">make-ca</ulink>,
+            <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink>,
+            <ulink url="&blfs-book;postlfs/polkit.html">Polkit</ulink>,
+            <ulink url="&blfs-book;postlfs/qemu.html">qemu</ulink>,
+            <ulink url="&blfs-book;general/qrencode.html">qrencode</ulink>,
+            <ulink url="https://sourceforge.net/projects/linuxquota/">
+              quota-tools</ulink>,
+            <ulink url="&blfs-book;basicnet/rsync.html">rsync</ulink>,
+            <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>,
+            <ulink url="https://tpm2-tss.readthedocs.io/en/latest/">
+              tpm2-tss</ulink>,
+            <ulink url="&blfs-book;general/valgrind.html">Valgrind</ulink>,
+            and
+            <ulink url="&blfs-book;postlfs/zsh.html">zsh</ulink>
           </seg>
         </seglistitem>
@@ -2486,15 +2832,20 @@
   <bridgehead renderas="sect2" id="sysvinit-dep">Sysvinit</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Binutils, Coreutils, GCC, Glibc, Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="sysvinit-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Binutils, Coreutils, GCC, Glibc, Make, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sysvinit-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sysvinit-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>No test suite available</seg>
@@ -2502,15 +2853,13 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="sysvinit-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="sysvinit-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2521,32 +2870,36 @@
   <bridgehead renderas="sect2" id="tar-dep">Tar</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Acl, Attr, Bash, Binutils, Bison, Coreutils, GCC, Gettext, Glibc,
-         Grep, Inetutils, Make, Sed, and Texinfo</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>Autoconf, Diffutils, Findutils, Gawk, and Gzip</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="tar-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, Bash, Binutils, Bison, Coreutils, GCC, Gettext, Glibc,
+          Grep, Inetutils, Make, Sed, and Texinfo</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tar-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, Bzip2, Glibc, Gzip, and Xz</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tar-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>Autoconf, Diffutils, Findutils, Gawk, and
+          Gzip</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tar-befors">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tar-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2557,32 +2910,35 @@
   <bridgehead renderas="sect2" id="tcl-dep">Tcl</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
-         Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="tcl-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, and
+          Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tcl-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tcl-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tcl-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="tcl-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2593,32 +2949,35 @@
   <bridgehead renderas="sect2" id="texinfo-dep">Texinfo</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make,
-         Ncurses, Patch, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="texinfo-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Gettext, Glibc, Grep, Make,
+          Ncurses, Patch, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="texinfo-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc and Ncurses</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="texinfo-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="texinfo-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="texinfo-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2629,34 +2988,40 @@
   <bridgehead renderas="sect2" id="util-linux-dep">Util-linux</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, Eudev, Findutils, Gawk, GCC,
-         Gettext, Glibc, Grep, Make, Ncurses, Sed, and Zlib</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg><ulink url="https://people.redhat.com/sgrubb/libcap-ng/">Libcap-ng</ulink></seg>
+      <segmentedlist id="util-linux-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, Eudev, Findutils, Gawk,
+          GCC, Gettext, Glibc, Grep, Libcap, Make, Ncurses, Sed, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="util-linux-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc, Libcap, Ncurses, Readline, and Zlib</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="util-linux-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="util-linux-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="util-linux-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink
+              url="&blfs-book;postlfs/smartmontools.html">smartmontools</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2665,34 +3030,43 @@
   <bridgehead renderas="sect2" id="vim-dep">Vim</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, GCC, Glibc,
-         Grep, Make, Ncurses, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
-        <seglistitem>
-          <seg>Xorg, GTK+2, LessTif, Python, Tcl, Ruby, and GPM</seg>
+      <segmentedlist id="vim-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, Bash, Binutils, Coreutils, Diffutils, GCC, Glibc,
+          Grep, Make, Ncurses, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="vim-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Acl, Attr, Glibc, Python, Ncurses, and Tcl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="vim-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="vim-before">
+        <segtitle>&before;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="vim-optdeps">
+        <segtitle>&external;</segtitle>
+        <seglistitem>
+          <seg>
+            <ulink url="&blfs-book;x/installing.html">Xorg</ulink>,
+            <ulink url="&blfs-book;x/gtk2.html">GTK+2</ulink>,
+            <ulink url="http://lesstif.sourceforge.net/">LessTif</ulink>,
+            <ulink url="&blfs-book;general/ruby.html">Ruby</ulink>, and
+            <ulink url="&blfs-book;general/gpm.html">GPM</ulink>
+          </seg>
         </seglistitem>
       </segmentedlist>
@@ -2701,15 +3075,21 @@
   <bridgehead renderas="sect2" id="xml-parser-dep">XML::Parser</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Expat, GCC, Glibc, Make, and Perl</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
+      <segmentedlist id="xml-parser-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Expat, GCC, Glibc, Make, and
+          Perl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="xml-parser-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Expat, Glibc, and Perl</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="xml-parser-testdeps">
+        <segtitle>&testsuites;</segtitle>
         <seglistitem>
           <seg>Perl</seg>
@@ -2717,7 +3097,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="xml-parser-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Intltool</seg>
@@ -2725,7 +3104,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="xml-parser-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2736,23 +3114,27 @@
   <bridgehead renderas="sect2" id="xz-dep">Xz</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, and Make</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="xz-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, and Make</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="xz-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="xz-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="xz-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>Eudev, File, GRUB, Kmod, and Man-DB</seg>
@@ -2760,7 +3142,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="xz-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2771,23 +3152,27 @@
   <bridgehead renderas="sect2" id="zlib-dep">Zlib</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make, and Sed</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="zlib-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Bash, Binutils, Coreutils, GCC, Glibc, Make, and Sed</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="zlib-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="zlib-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="zlib-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>File, Kmod, Perl, and Util-linux</seg>
@@ -2795,7 +3180,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="zlib-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
@@ -2806,23 +3190,27 @@
   <bridgehead renderas="sect2" id="zstd-dep">Zstd</bridgehead>
 
-      <segmentedlist>
-        <segtitle>&dependencies;</segtitle>
-
-        <seglistitem>
-         <seg>Binutils, Coreutils, GCC, Glibc, Gzip, Make, and Xz</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&testsuites;</segtitle>
-
-        <seglistitem>
-          <seg>None</seg>
-        </seglistitem>
-      </segmentedlist>
-
-      <segmentedlist>
-        <segtitle>&before;</segtitle>
-
+      <segmentedlist id="zstd-depends">
+        <segtitle>&dependencies;</segtitle>
+        <seglistitem>
+          <seg>Binutils, Coreutils, GCC, Glibc, Gzip, Make, and Xz</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="zstd-rundeps">
+        <segtitle>&runtime;</segtitle>
+        <seglistitem>
+          <seg>Glibc</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="zstd-testdeps">
+        <segtitle>&testsuites;</segtitle>
+        <seglistitem>
+          <seg>None</seg>
+        </seglistitem>
+      </segmentedlist>
+
+      <segmentedlist id="zstd-before">
+        <segtitle>&before;</segtitle>
         <seglistitem>
           <seg>GCC</seg>
@@ -2830,7 +3218,6 @@
       </segmentedlist>
 
-      <segmentedlist>
-        <segtitle>&external;</segtitle>
-
+      <segmentedlist id="zstd-optdeps">
+        <segtitle>&external;</segtitle>
         <seglistitem>
           <seg>None</seg>
