summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwiz <wiz>2015-04-25 11:31:30 +0000
committerwiz <wiz>2015-04-25 11:31:30 +0000
commitbfaf76bc982684741426669e961654ff7fccfcaf (patch)
tree5cd9fdbc134ab2cf16f068b89e3d4a8faa44e841 /doc
parent77b23dbe06a50ffaa438f240cdae34505f0874e1 (diff)
downloadpkgsrc-bfaf76bc982684741426669e961654ff7fccfcaf.tar.gz
regen
Diffstat (limited to 'doc')
-rw-r--r--doc/pkgsrc.html97
-rw-r--r--doc/pkgsrc.txt9
2 files changed, 54 insertions, 52 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html
index 083d42fab1f..7827eb1a8c5 100644
--- a/doc/pkgsrc.html
+++ b/doc/pkgsrc.html
@@ -45,7 +45,7 @@
</div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="chapter"><a href="#introduction">1. What is pkgsrc?</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#introduction-section">1.1. Introduction</a></span></dt>
@@ -484,7 +484,7 @@ source packages</a></span></dt>
<a name="introduction"></a>Chapter 1. What is pkgsrc?</h1></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#introduction-section">1.1. Introduction</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#why-pkgsrc">1.1.1. Why pkgsrc?</a></span></dt>
@@ -811,7 +811,7 @@ minutes!</p>
<a name="users-guide"></a>Part I. The pkgsrc user's guide</h1></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="chapter"><a href="#getting">2. Where to get pkgsrc and how to keep it up-to-date</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#getting-first">2.1. Getting pkgsrc for the first time</a></span></dt>
@@ -925,7 +925,7 @@ builds)</a></span></dt>
<a name="getting"></a>Chapter 2. Where to get pkgsrc and how to keep it up-to-date</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#getting-first">2.1. Getting pkgsrc for the first time</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#getting-via-tar">2.1.1. As tar archive</a></span></dt>
@@ -1111,7 +1111,7 @@ release -d
<a name="platforms"></a>Chapter 3. Using pkgsrc on systems other than NetBSD</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#binarydist">3.1. Binary distribution</a></span></dt>
<dt><span class="sect1"><a href="#bootstrapping-pkgsrc">3.2. Bootstrapping pkgsrc</a></span></dt>
<dt><span class="sect1"><a href="#platform-specific-notes">3.3. Platform-specific notes</a></span></dt>
@@ -1688,7 +1688,7 @@ WRAPPER_SHELL= ${LOCALBASE}/bin/bash
<a name="using"></a>Chapter 4. Using pkgsrc</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#using-pkg">4.1. Using binary packages</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#finding-binary-packages">4.1.1. Finding binary packages</a></span></dt>
@@ -2125,7 +2125,7 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00
<a name="configuring"></a>Chapter 5. Configuring pkgsrc</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#general-configuration">5.1. General configuration</a></span></dt>
<dt><span class="sect1"><a href="#variables-affecting-build">5.2. Variables affecting the build process</a></span></dt>
<dt><span class="sect1"><a href="#variables-affecting-installation">5.3. Variables affecting the installation process</a></span></dt>
@@ -2519,7 +2519,7 @@ PKG_OPTIONS.apache= suexec </pre>
<a name="binary"></a>Chapter 6. Creating binary packages</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#building-a-single-binary-package">6.1. Building a single binary package</a></span></dt>
<dt><span class="sect1"><a href="#settings-for-creationg-of-binary-packages">6.2. Settings for creation of binary packages</a></span></dt>
</dl>
@@ -2562,7 +2562,7 @@ PKG_OPTIONS.apache= suexec </pre>
builds)</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#bulk.pre">7.1. Preparations</a></span></dt>
<dt><span class="sect1"><a href="#bulk.pbulk">7.2. Running a pbulk-style bulk build</a></span></dt>
<dd><dl><dt><span class="sect2"><a href="#bulk.pbulk.conf">7.2.1. Configuration</a></span></dt></dl></dd>
@@ -2741,7 +2741,7 @@ temporary filesystems, others must survive a sudden reboot.</p>
<a name="files"></a>Chapter 8. Directory layout of the installed files</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#files.localbase">8.1. File system layout in <code class="literal">${LOCALBASE}</code></a></span></dt>
<dt><span class="sect1"><a href="#files.varbase">8.2. File system layout in <code class="literal">${VARBASE}</code></a></span></dt>
</dl>
@@ -2882,7 +2882,7 @@ currently running.</p></dd>
<a name="faq"></a>Chapter 9. Frequently Asked Questions</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#mailing-list-pointers">9.1. Are there any mailing lists for pkg-related discussion?</a></span></dt>
<dt><span class="sect1"><a href="#faq-pkgtools">9.2. Utilities for package management (pkgtools)</a></span></dt>
<dt><span class="sect1"><a href="#non-root-pkgsrc">9.3. How to use pkgsrc as non-root</a></span></dt>
@@ -3324,7 +3324,7 @@ anymore, you can remove that file and run <span class="command"><strong>cvs -q u
like a reference manual for pkgsrc.</p>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="chapter"><a href="#creating">10. Creating a new pkgsrc package from scratch</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#creating.common">10.1. Common types of packages</a></span></dt>
@@ -3559,7 +3559,7 @@ anymore, you can remove that file and run <span class="command"><strong>cvs -q u
<a name="creating"></a>Chapter 10. Creating a new pkgsrc package from scratch</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#creating.common">10.1. Common types of packages</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#creating.perl-module">10.1.1. Perl modules</a></span></dt>
@@ -3958,7 +3958,7 @@ everything worked.</p>
<a name="components"></a>Chapter 11. Package components - files, directories and contents</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#components.Makefile">11.1. <code class="filename">Makefile</code></a></span></dt>
<dt><span class="sect1"><a href="#components.distinfo">11.2. <code class="filename">distinfo</code></a></span></dt>
<dt><span class="sect1"><a href="#components.patches">11.3. patches/*</a></span></dt>
@@ -4566,7 +4566,7 @@ FILESDIR=${.CURDIR}/../xemacs/files
<a name="makefile"></a>Chapter 12. Programming in <code class="filename">Makefile</code>s</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#makefile.style">12.1. Caveats</a></span></dt>
<dt><span class="sect1"><a href="#makefile.variables">12.2. <code class="filename">Makefile</code> variables</a></span></dt>
<dd><dl><dt><span class="sect2"><a href="#makefile.variables.names">12.2.1. Naming conventions</a></span></dt></dl></dd>
@@ -4892,7 +4892,7 @@ VAR:= ${VAR:N${_othervar_:C/-//}}
<a name="plist"></a>Chapter 13. PLIST issues</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#rcs-id">13.1. RCS ID</a></span></dt>
<dt><span class="sect1"><a href="#automatic-plist-generation">13.2. Semi-automatic <code class="filename">PLIST</code> generation</a></span></dt>
<dt><span class="sect1"><a href="#print-PLIST">13.3. Tweaking output of <span class="command"><strong>make print-PLIST</strong></span></a></span></dt>
@@ -5127,7 +5127,7 @@ ${PLIST.foo}@dirrm share/bar
<a name="buildlink"></a>Chapter 14. Buildlink methodology</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#converting-to-buildlink3">14.1. Converting packages to use buildlink3</a></span></dt>
<dt><span class="sect1"><a href="#creating-buildlink3.mk">14.2. Writing <code class="filename">buildlink3.mk</code> files</a></span></dt>
<dd><dl>
@@ -5615,7 +5615,7 @@ PREFER_NATIVE= getopt skey tcp_wrappers
<a name="pkginstall"></a>Chapter 15. The pkginstall framework</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#files-and-dirs-outside-prefix">15.1. Files and directories outside the installation prefix</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#dirs-outside-prefix">15.1.1. Directory manipulation</a></span></dt>
@@ -6018,7 +6018,7 @@ environment variable to <code class="literal">NO</code>.</p>
<a name="options"></a>Chapter 16. Options handling</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#global-default-options">16.1. Global default options</a></span></dt>
<dt><span class="sect1"><a href="#converting-to-options">16.2. Converting packages to use <code class="filename">bsd.options.mk</code></a></span></dt>
<dt><span class="sect1"><a href="#option-names">16.3. Option Names</a></span></dt>
@@ -6259,7 +6259,7 @@ details.</p>
<a name="build"></a>Chapter 17. The build process</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#build.intro">17.1. Introduction</a></span></dt>
<dt><span class="sect1"><a href="#build.prefix">17.2. Program location</a></span></dt>
<dt><span class="sect1"><a href="#build.builddirs">17.3. Directories used during the build process</a></span></dt>
@@ -7305,7 +7305,7 @@ builds)</i></a>).
<a name="tools"></a>Chapter 18. Tools needed for building or running</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#pkgsrc-tools">18.1. Tools for pkgsrc builds</a></span></dt>
<dt><span class="sect1"><a href="#package-tools">18.2. Tools needed by packages</a></span></dt>
<dt><span class="sect1"><a href="#platform-tools">18.3. Tools provided by platforms</a></span></dt>
@@ -7385,7 +7385,7 @@ TOOLS_PLATFORM.true?= true # shell builtin
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="tools.questions"></a>18.4. Questions regarding the tools</h2></div></div></div>
<div class="qandaset">
-<a name="idp2065523652"></a><dl>
+<a name="idm77719696"></a><dl>
<dt>18.4.1. <a href="#tools.new">How do I add a new tool?</a>
</dt>
<dt>18.4.2. <a href="#tools.listall">How do I get a list of all available
@@ -7404,7 +7404,7 @@ TOOLS_PLATFORM.true?= true # shell builtin
<tbody>
<tr class="question">
<td align="left" valign="top">
-<a name="tools.new"></a><a name="idp2065523956"></a><p><b>18.4.1.</b></p>
+<a name="tools.new"></a><a name="idm77719312"></a><p><b>18.4.1.</b></p>
</td>
<td align="left" valign="top"><p>How do I add a new tool?</p></td>
</tr>
@@ -7414,7 +7414,7 @@ TOOLS_PLATFORM.true?= true # shell builtin
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="tools.listall"></a><a name="idp2065524692"></a><p><b>18.4.2.</b></p>
+<a name="tools.listall"></a><a name="idm77718288"></a><p><b>18.4.2.</b></p>
</td>
<td align="left" valign="top"><p>How do I get a list of all available
tools?</p></td>
@@ -7425,7 +7425,7 @@ TOOLS_PLATFORM.true?= true # shell builtin
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="tools.used"></a><a name="idp2065525444"></a><p><b>18.4.3.</b></p>
+<a name="tools.used"></a><a name="idm77717264"></a><p><b>18.4.3.</b></p>
</td>
<td align="left" valign="top"><p>How can I get a list of all the tools that a
package is using while being built? I want to know whether it
@@ -7446,7 +7446,7 @@ TOOLS_PLATFORM.true?= true # shell builtin
<a name="fixes"></a>Chapter 19. Making your package work</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#general-operation">19.1. General operation</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#portability-of-packages">19.1.1. Portability of packages</a></span></dt>
@@ -8722,8 +8722,9 @@ of functions.</p>
<p>Sometimes packages fail to build because the compiler runs
into an operating system specific soft limit. With the
<code class="varname">UNLIMIT_RESOURCES</code> variable pkgsrc can be told
- to unlimit the resources. Currently, the allowed values are
- <span class="quote">&#8220;<span class="quote">datasize</span>&#8221;</span> and <span class="quote">&#8220;<span class="quote">stacksize</span>&#8221;</span> (or both).
+ to unlimit the resources. Currently, the allowed values are any combination of
+ <span class="quote">&#8220;<span class="quote">cputime</span>&#8221;</span>, <span class="quote">&#8220;<span class="quote">datasize</span>&#8221;</span>,
+ <span class="quote">&#8220;<span class="quote">memorysize</span>&#8221;</span>, and <span class="quote">&#8220;<span class="quote">stacksize</span>&#8221;</span>.
Setting this variable is similar to running the shell builtin
<span class="command"><strong>ulimit</strong></span> command to raise the maximum data
segment size or maximum stack size of a process, respectively, to
@@ -9350,7 +9351,7 @@ PERL5_PACKLIST= auto/Pg/.packlist
<a name="submit"></a>Chapter 21. Submitting and Committing</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#submitting-binary-packages">21.1. Submitting binary packages</a></span></dt>
<dt><span class="sect1"><a href="#submitting-your-package">21.2. Submitting source packages (for non-NetBSD-developers)</a></span></dt>
<dt><span class="sect1"><a href="#general-notes-for-changes">21.3. General notes when adding, updating, or removing packages</a></span></dt>
@@ -9572,7 +9573,7 @@ place.</p></li>
and if you still don't have the answer, ask on the
<code class="literal">pkgsrc-users</code> mailing list.</p>
<div class="qandaset">
-<a name="idp2065883140"></a><dl>
+<a name="idm77164688"></a><dl>
<dt>22.1. <a href="#devfaq.makeflags">What is the difference between
MAKEFLAGS, .MAKEFLAGS and
MAKE_FLAGS?</a>
@@ -9617,7 +9618,7 @@ do?</a>
<tbody>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.makeflags"></a><a name="idp2065882068"></a><p><b>22.1.</b></p>
+<a name="devfaq.makeflags"></a><a name="idm77164304"></a><p><b>22.1.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">MAKEFLAGS</code>, <code class="varname">.MAKEFLAGS</code> and
@@ -9633,7 +9634,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.make"></a><a name="idp2065885972"></a><p><b>22.2.</b></p>
+<a name="devfaq.make"></a><a name="idm77160208"></a><p><b>22.2.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">MAKE</code>, <code class="varname">GMAKE</code> and
@@ -9651,7 +9652,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.cc"></a><a name="idp2065888772"></a><p><b>22.3.</b></p>
+<a name="devfaq.cc"></a><a name="idm77155856"></a><p><b>22.3.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">CC</code>, <code class="varname">PKG_CC</code> and
@@ -9669,7 +9670,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.bl3flags"></a><a name="idp2065891476"></a><p><b>22.4.</b></p>
+<a name="devfaq.bl3flags"></a><a name="idm77151632"></a><p><b>22.4.</b></p>
</td>
<td align="left" valign="top"><p>What is the difference between
<code class="varname">BUILDLINK_LDFLAGS</code>,
@@ -9682,7 +9683,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.bl3prefix"></a><a name="idp2065892932"></a><p><b>22.5.</b></p>
+<a name="devfaq.bl3prefix"></a><a name="idm77149456"></a><p><b>22.5.</b></p>
</td>
<td align="left" valign="top"><p>Why does <span class="command"><strong>make show-var
VARNAME=BUILDLINK_PREFIX.<em class="replaceable"><code>foo</code></em></strong></span>
@@ -9698,7 +9699,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.master_sites"></a><a name="idp2065895140"></a><p><b>22.6.</b></p>
+<a name="devfaq.master_sites"></a><a name="idm77146384"></a><p><b>22.6.</b></p>
</td>
<td align="left" valign="top"><p>What does
<code class="literal">${MASTER_SITE_SOURCEFORGE:=package/}</code> mean? I
@@ -9722,7 +9723,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.mailinglists"></a><a name="idp2065900436"></a><p><b>22.7.</b></p>
+<a name="devfaq.mailinglists"></a><a name="idm77138320"></a><p><b>22.7.</b></p>
</td>
<td align="left" valign="top"><p>Which mailing lists are there for package
developers?</p></td>
@@ -9747,7 +9748,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.documentation"></a><a name="idp2065903332"></a><p><b>22.8.</b></p>
+<a name="devfaq.documentation"></a><a name="idm77134480"></a><p><b>22.8.</b></p>
</td>
<td align="left" valign="top"><p>Where is the pkgsrc
documentation?</p></td>
@@ -9795,7 +9796,7 @@ do?</a>
</tr>
<tr class="question">
<td align="left" valign="top">
-<a name="devfaq.too-much-time"></a><a name="idp2065908756"></a><p><b>22.9.</b></p>
+<a name="devfaq.too-much-time"></a><a name="idm77127952"></a><p><b>22.9.</b></p>
</td>
<td align="left" valign="top"><p>I have a little time to kill. What shall I
do?</p></td>
@@ -9829,7 +9830,7 @@ anyway.</p>
<a name="gnome"></a>Chapter 23. GNOME packaging and porting</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#meta-packages">23.1. Meta packages</a></span></dt>
<dt><span class="sect1"><a href="#new-package">23.2. Packaging a GNOME application</a></span></dt>
<dt><span class="sect1"><a href="#full-update">23.3. Updating GNOME to a newer version</a></span></dt>
@@ -10130,7 +10131,7 @@ details.</p>
need anything from this part.</p>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="chapter"><a href="#infr.design">24. Design of the pkgsrc infrastructure</a></span></dt>
<dd><dl>
<dt><span class="sect1"><a href="#infr.vardef">24.1. The meaning of variable definitions</a></span></dt>
@@ -10175,7 +10176,7 @@ details.</p>
<a name="infr.design"></a>Chapter 24. Design of the pkgsrc infrastructure</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#infr.vardef">24.1. The meaning of variable definitions</a></span></dt>
<dt><span class="sect1"><a href="#infr.vardef.problems">24.2. Avoiding problems before they arise</a></span></dt>
<dt><span class="sect1"><a href="#infr.var">24.3. Variable evaluation</a></span></dt>
@@ -10448,7 +10449,7 @@ CFLAGS+= -Wall
<a name="regression"></a>Chapter 25. Regression tests</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#regression.descr">25.1. The regression tests framework</a></span></dt>
<dt><span class="sect1"><a href="#regression.run">25.2. Running the regression tests</a></span></dt>
<dt><span class="sect1"><a href="#regression.new">25.3. Adding a new regression test</a></span></dt>
@@ -10543,7 +10544,7 @@ CFLAGS+= -Wall
<a name="porting"></a>Chapter 26. Porting pkgsrc</h2></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#porting.opsys">26.1. Porting pkgsrc to a new operating system</a></span></dt>
<dt><span class="sect1"><a href="#porting.compiler">26.2. Adding support for a new compiler</a></span></dt>
</dl>
@@ -10597,7 +10598,7 @@ CFLAGS+= -Wall
<a name="examples"></a>Appendix A. A simple example package: bison</h1></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#example-files">A.1. files</a></span></dt>
<dd><dl>
<dt><span class="sect2"><a href="#example-Makefile">A.1.1. Makefile</a></span></dt>
@@ -10788,7 +10789,7 @@ Creating gzip'd tar ball in '/u/pkgsrc/lang/bison/bison-1.25.tgz'</pre>
<a name="logs"></a>Appendix B. Build logs</h1></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#logs.building">B.1. Building figlet</a></span></dt>
<dt><span class="sect1"><a href="#logs.package">B.2. Packaging figlet</a></span></dt>
</dl>
@@ -10903,7 +10904,7 @@ Registering depends:.
<a name="ftp-layout"></a>Appendix C. Directory layout of the pkgsrc FTP server</h1></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#ftp-distfiles">C.1. <code class="filename">distfiles</code>: The distributed source files</a></span></dt>
<dt><span class="sect1"><a href="#ftp-misc">C.2. <code class="filename">misc</code>: Miscellaneous things</a></span></dt>
<dt><span class="sect1"><a href="#ftp-packages">C.3. <code class="filename">packages</code>: Binary packages</a></span></dt>
@@ -11011,7 +11012,7 @@ source packages</h2></div></div></div>
<a name="editing"></a>Appendix D. Editing guidelines for the pkgsrc guide</h1></div></div></div>
<div class="toc">
<p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
<dt><span class="sect1"><a href="#targets">D.1. Make targets</a></span></dt>
<dt><span class="sect1"><a href="#procedure">D.2. Procedure</a></span></dt>
</dl>
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt
index be2ad135ad6..de131a381a8 100644
--- a/doc/pkgsrc.txt
+++ b/doc/pkgsrc.txt
@@ -7260,10 +7260,11 @@ this problem you can try to tell the package to disable inlining of functions.
Sometimes packages fail to build because the compiler runs into an operating
system specific soft limit. With the UNLIMIT_RESOURCES variable pkgsrc can be
-told to unlimit the resources. Currently, the allowed values are "datasize" and
-"stacksize" (or both). Setting this variable is similar to running the shell
-builtin ulimit command to raise the maximum data segment size or maximum stack
-size of a process, respectively, to their hard limits.
+told to unlimit the resources. Currently, the allowed values are any
+combination of "cputime", "datasize", "memorysize", and "stacksize". Setting
+this variable is similar to running the shell builtin ulimit command to raise
+the maximum data segment size or maximum stack size of a process, respectively,
+to their hard limits.
19.6. Fixing problems in the install phase