summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrillig <rillig>2005-11-20 10:09:29 +0000
committerrillig <rillig>2005-11-20 10:09:29 +0000
commit487e79f0a140cce5ea91b52b0f4f8669c532888b (patch)
tree20d7d5c6d854f030d27ac63c4d53e844956c2d9f /doc
parent044d6774d901251dda03d541ab205fb606264a9e (diff)
downloadpkgsrc-487e79f0a140cce5ea91b52b0f4f8669c532888b.tar.gz
regen.
Diffstat (limited to 'doc')
-rw-r--r--doc/pkgsrc.html976
-rw-r--r--doc/pkgsrc.txt62
2 files changed, 608 insertions, 430 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html
index 4d5521c6397..d7e9a9e65b9 100644
--- a/doc/pkgsrc.html
+++ b/doc/pkgsrc.html
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content=
- "HTML Tidy for NetBSD (vers 1 September 2005), see www.w3.org" />
+ "HTML Tidy for NetBSD (vers 1st August 2004), see www.w3.org" />
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii" />
@@ -15,12 +15,12 @@
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084"
alink="#0000FF">
- <div class="book" lang="en">
+ <div class="book" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a name="the-pkgsrc-guide"></a>The
- pkgsrc guide</h1>
+ <h1 class="title"><a name="the-pkgsrc-guide" id=
+ "the-pkgsrc-guide"></a>The pkgsrc guide</h1>
</div>
<div>
@@ -114,7 +114,8 @@ alink="#0000FF">
<dd>
<dl>
<dt><span class="chapter"><a href="#getting">2. Where
- to get pkgsrc</a></span></dt>
+ to get pkgsrc and how to keep it
+ up-to-date</a></span></dt>
<dd>
<dl>
@@ -126,6 +127,10 @@ alink="#0000FF">
<dt><span class="sect1"><a href="#via-cvs">2.3. Via
CVS</a></span></dt>
+
+ <dt><span class="sect1"><a href=
+ "#uptodate-cvs">2.4. Keeping pkgsrc up-to-date via
+ CVS</a></span></dt>
</dl>
</dd>
@@ -1050,11 +1055,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="introduction" id=
"introduction"></a>Chapter&nbsp;1.&nbsp;What is
pkgsrc?</h2>
</div>
@@ -1079,11 +1084,12 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "introduction-section" id=
"introduction-section"></a>1.1.&nbsp;Introduction</h2>
</div>
</div>
@@ -1216,12 +1222,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "overview"></a>1.2.&nbsp;Overview</h2>
+ "overview" id="overview"></a>1.2.&nbsp;Overview</h2>
</div>
</div>
</div>
@@ -1262,11 +1268,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "terminology" id=
"terminology"></a>1.3.&nbsp;Terminology</h2>
</div>
</div>
@@ -1361,11 +1368,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "typography" id=
"typography"></a>1.4.&nbsp;Typography</h2>
</div>
</div>
@@ -1381,11 +1389,11 @@ alink="#0000FF">
</div>
</div>
- <div class="part" lang="en">
+ <div class="part" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a name=
+ <h1 class="title"><a name="users-guide" id=
"users-guide"></a>Part&nbsp;I.&nbsp;The pkgsrc user's
guide</h1>
</div>
@@ -1397,7 +1405,7 @@ alink="#0000FF">
<dl>
<dt><span class="chapter"><a href="#getting">2. Where to
- get pkgsrc</a></span></dt>
+ get pkgsrc and how to keep it up-to-date</a></span></dt>
<dd>
<dl>
@@ -1409,6 +1417,9 @@ alink="#0000FF">
<dt><span class="sect1"><a href="#via-cvs">2.3. Via
CVS</a></span></dt>
+
+ <dt><span class="sect1"><a href="#uptodate-cvs">2.4.
+ Keeping pkgsrc up-to-date via CVS</a></span></dt>
</dl>
</dd>
@@ -1665,13 +1676,13 @@ alink="#0000FF">
</dl>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="getting" id=
"getting"></a>Chapter&nbsp;2.&nbsp;Where to get
- pkgsrc</h2>
+ pkgsrc and how to keep it up-to-date</h2>
</div>
</div>
</div>
@@ -1688,6 +1699,9 @@ alink="#0000FF">
<dt><span class="sect1"><a href="#via-cvs">2.3. Via
CVS</a></span></dt>
+
+ <dt><span class="sect1"><a href="#uptodate-cvs">2.4.
+ Keeping pkgsrc up-to-date via CVS</a></span></dt>
</dl>
</div>
@@ -1695,12 +1709,13 @@ alink="#0000FF">
file, via SUP, or via CVS. All three ways are described
here.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "as-tar-file"></a>2.1.&nbsp;As tar file</h2>
+ "as-tar-file" id="as-tar-file"></a>2.1.&nbsp;As tar
+ file</h2>
</div>
</div>
</div>
@@ -1713,12 +1728,12 @@ alink="#0000FF">
class="filename">/usr/pkgsrc</code>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "via-sup"></a>2.2.&nbsp;Via SUP</h2>
+ "via-sup" id="via-sup"></a>2.2.&nbsp;Via SUP</h2>
</div>
</div>
</div>
@@ -1740,12 +1755,12 @@ alink="#0000FF">
<em class="replaceable"><code>/path/to/your/supfile</code></em></strong></span>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "via-cvs"></a>2.3.&nbsp;Via CVS</h2>
+ "via-cvs" id="via-cvs"></a>2.3.&nbsp;Via CVS</h2>
</div>
</div>
</div>
@@ -1786,13 +1801,50 @@ alink="#0000FF">
copies of the pkgsrc hierarchy in use at any one time -
all work is done relatively within the pkgsrc tree.</p>
</div>
+
+ <div class="sect1" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both"><a name=
+ "uptodate-cvs" id=
+ "uptodate-cvs"></a>2.4.&nbsp;Keeping pkgsrc
+ up-to-date via CVS</h2>
+ </div>
+ </div>
+ </div>
+
+ <p>If your copy of pkgsrc contains a lot of <code xmlns=
+ "http://www.w3.org/TR/xhtml1/transitional" class=
+ "filename">CVS</code> directories, you can update it
+ using the <a href=
+ "http://netbsd.gw.com/cgi-bin/man-cgi?cvs+1+NetBSD-current">
+ <span class="citerefentry"><span class=
+ "refentrytitle">cvs</span>(1)</span></a> program. First,
+ <span><strong class="command">cd</strong></span> to the
+ top level directory of pkgsrc. Then run
+ <span><strong class="command">cvs -q update
+ -dP</strong></span>, and you're done.</p>
+
+ <p>If that doesn't work and the file <code xmlns=
+ "http://www.w3.org/TR/xhtml1/transitional" class=
+ "filename">CVS/Root</code> contains the string
+ &#8220;<span class="quote">:pserver:</span>&#8221;, you
+ have to run <span><strong class="command">cvs
+ login</strong></span> once to get known to the NetBSD CVS
+ server. The <span><strong class=
+ "command">cvs</strong></span> utility will then ask you
+ for a password. Just enter &#8220;<span class=
+ "quote">anoncvs</span>&#8221;. Then try again to
+ update.</p>
+ </div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="platforms" id=
"platforms"></a>Chapter&nbsp;3.&nbsp;Using pkgsrc on
systems other than NetBSD</h2>
</div>
@@ -1838,11 +1890,12 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "bootstrapping-pkgsrc" id=
"bootstrapping-pkgsrc"></a>3.1.&nbsp;Bootstrapping
pkgsrc</h2>
</div>
@@ -1909,11 +1962,12 @@ alink="#0000FF">
</pre>
<p>See <a href="#getting" title=
- "Chapter&nbsp;2.&nbsp;Where to get pkgsrc">Chapter&nbsp;2,
- <i>Where to get pkgsrc</i></a> for other ways to get
- pkgsrc before bootstrapping. The given
- <span><strong class="command">bootstrap</strong></span>
- command will use the defaults of <code xmlns=
+ "Chapter&nbsp;2.&nbsp;Where to get pkgsrc and how to keep it up-to-date">
+ Chapter 2, <i>Where to get pkgsrc and how to keep it
+ up-to-date</i></a> for other ways to get pkgsrc before
+ bootstrapping. The given <span><strong class=
+ "command">bootstrap</strong></span> command will use the
+ defaults of <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">/usr/pkg</code> for the <span class=
"emphasis"><em>prefix</em></span> where programs will be
@@ -1944,11 +1998,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "platform-specific-notes" id=
"platform-specific-notes"></a>3.2.&nbsp;Platform-specific
notes</h2>
</div>
@@ -1958,11 +2013,11 @@ alink="#0000FF">
<p>Here are some platform-specific notes you should be
aware of.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="darwin" id=
"darwin"></a>3.2.1.&nbsp;Darwin (Mac OS X)</h3>
</div>
</div>
@@ -2003,13 +2058,13 @@ alink="#0000FF">
be case-sensitive, and HFS+ is not.</p>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
- "platform.osx-image"></a>3.2.1.1.&nbsp;Using a
- disk image</h4>
+ <h4 class="title"><a name="platform.osx-image"
+ id="platform.osx-image"></a>3.2.1.1.&nbsp;Using
+ a disk image</h4>
</div>
</div>
</div>
@@ -2029,12 +2084,12 @@ alink="#0000FF">
<p>That's it!</p>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
- "platform.osx-ufs"></a>3.2.1.2.&nbsp;Using a
+ <h4 class="title"><a name="platform.osx-ufs"
+ id="platform.osx-ufs"></a>3.2.1.2.&nbsp;Using a
UFS partition</h4>
</div>
</div>
@@ -2056,7 +2111,7 @@ alink="#0000FF">
"emphasis"><em>prefix</em></span>. e.g.</p>
<pre class="screen">
<code class="prompt">#</code> <strong class=
-"userinput"><code>./bootstrap --pkgdbdir /usr/pkg/pkgdb --pkgsrcdir /Volumes/ufs/pkgsrc</code></strong>
+"userinput"><code>./bootstrap --pkgdbdir /usr/pkg/pkgdb</code></strong>
</pre>
<p>If you created your partitions at the time of
@@ -2096,11 +2151,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="freebsd" id=
"freebsd"></a>3.2.2.&nbsp;FreeBSD</h3>
</div>
</div>
@@ -2158,11 +2213,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="interix" id=
"interix"></a>3.2.3.&nbsp;Interix</h3>
</div>
</div>
@@ -2183,11 +2238,12 @@ alink="#0000FF">
officially supported. (The main difference in 3.0/3.1
is lack of pthreads.)</p>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "platform.interix-sfu-install" id=
"platform.interix-sfu-install"></a>3.2.3.1.&nbsp;When
installing Interix/SFU</h4>
</div>
@@ -2250,11 +2306,12 @@ alink="#0000FF">
"_top">http://www.duh.org/interix/hotfixes.php</a>.</p>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "platform.interix-sfu-postinstall" id=
"platform.interix-sfu-postinstall"></a>3.2.3.2.&nbsp;What
to do if Interix/SFU is already installed</h4>
</div>
@@ -2304,11 +2361,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "platform.interix-notes" id=
"platform.interix-notes"></a>3.2.3.3.&nbsp;Important
notes for using pkgsrc</h4>
</div>
@@ -2347,11 +2405,12 @@ alink="#0000FF">
</pre>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "platform.interix-limits" id=
"platform.interix-limits"></a>3.2.3.4.&nbsp;Limitations
of the Interix platform</h4>
</div>
@@ -2464,11 +2523,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "platform.interix-knownissues" id=
"platform.interix-knownissues"></a>3.2.3.5.&nbsp;Known
issues for pkgsrc on Interix</h4>
</div>
@@ -2496,11 +2556,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="irix" id=
"irix"></a>3.2.4.&nbsp;IRIX</h3>
</div>
</div>
@@ -2584,11 +2644,11 @@ alink="#0000FF">
pass the '--preserve-path' flag.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="linux" id=
"linux"></a>3.2.5.&nbsp;Linux</h3>
</div>
</div>
@@ -2665,11 +2725,11 @@ alink="#0000FF">
libtool.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="openbsd" id=
"openbsd"></a>3.2.6.&nbsp;OpenBSD</h3>
</div>
</div>
@@ -2738,11 +2798,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="solaris" id=
"solaris"></a>3.2.7.&nbsp;Solaris</h3>
</div>
</div>
@@ -2783,13 +2843,13 @@ alink="#0000FF">
<span class="emphasis"><em>not</em></span>
supported.</p>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
- "solaris-gcc-note"></a>3.2.7.1.&nbsp;If you are
- using gcc</h4>
+ <h4 class="title"><a name="solaris-gcc-note"
+ id="solaris-gcc-note"></a>3.2.7.1.&nbsp;If you
+ are using gcc</h4>
</div>
</div>
</div>
@@ -2814,11 +2874,12 @@ alink="#0000FF">
"_top">http://www.sun.com/bigadmin/common/freewareSearch.html</a>.</p>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "solaris-sun-workshop-note" id=
"solaris-sun-workshop-note"></a>3.2.7.2.&nbsp;If
you are using Sun WorkShop</h4>
</div>
@@ -2881,11 +2942,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="using" id=
"using"></a>Chapter&nbsp;4.&nbsp;Using pkgsrc</h2>
</div>
</div>
@@ -2939,11 +3000,12 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "getting-started" id=
"getting-started"></a>4.1.&nbsp;Working with binary
packages</h2>
</div>
@@ -2954,11 +3016,12 @@ alink="#0000FF">
install a precompiled binary package that someone else
already prepared for your type of machine.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "where-to-get-binary-packages" id=
"where-to-get-binary-packages"></a>4.1.1.&nbsp;Where
to get binary packages</h3>
</div>
@@ -2995,11 +3058,12 @@ alink="#0000FF">
documentation for the exact location.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "how-to-use-binary-packages" id=
"how-to-use-binary-packages"></a>4.1.2.&nbsp;How
to use binary packages</h3>
</div>
@@ -3069,11 +3133,11 @@ alink="#0000FF">
just installed program.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="a-word-of-warning" id=
"a-word-of-warning"></a>4.1.3.&nbsp;A word of
warning</h3>
</div>
@@ -3092,11 +3156,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "building-packages-from-source" id=
"building-packages-from-source"></a>4.2.&nbsp;Building
packages from source</h2>
</div>
@@ -3109,11 +3174,11 @@ alink="#0000FF">
&#8220;The pkgsrc developer's guide&#8221;</a> for
instructions how to create your own packages.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="requirements" id=
"requirements"></a>4.2.1.&nbsp;Requirements</h3>
</div>
</div>
@@ -3129,12 +3194,12 @@ alink="#0000FF">
required, too.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "fetching-distfiles"></a>4.2.2.&nbsp;Fetching
+ <h3 class="title"><a name="fetching-distfiles"
+ id="fetching-distfiles"></a>4.2.2.&nbsp;Fetching
distfiles</h3>
</div>
</div>
@@ -3172,11 +3237,12 @@ alink="#0000FF">
"filename">/usr/pkgsrc/distfiles</code>.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "how-to-build-and-install" id=
"how-to-build-and-install"></a>4.2.3.&nbsp;How to
build and install</h3>
</div>
@@ -3224,8 +3290,8 @@ alink="#0000FF">
<p>Taking the figlet utility as an example, we can
install it on our system by building as shown in
<a href="#logs" title=
- "Appendix&nbsp;B.&nbsp;Build logs">Appendix&nbsp;B,
- <i>Build logs</i></a>.</p>
+ "Appendix&nbsp;B.&nbsp;Build logs">Appendix B, <i>Build
+ logs</i></a>.</p>
<p>The program is installed under the default root of
the packages tree - <code xmlns=
@@ -3363,11 +3429,12 @@ alink="#0000FF">
"varname">LOCALBASE</code>.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "selecting-the-compiler" id=
"selecting-the-compiler"></a>4.2.4.&nbsp;Selecting
the compiler</h3>
</div>
@@ -3453,11 +3520,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="configuring" id=
"configuring"></a>Chapter&nbsp;5.&nbsp;Configuring
pkgsrc</h2>
</div>
@@ -3486,11 +3553,12 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "general-configuration" id=
"general-configuration"></a>5.1.&nbsp;General
configuration</h2>
</div>
@@ -3572,11 +3640,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "variables-affecting-build" id=
"variables-affecting-build"></a>5.2.&nbsp;Variables
affecting the build process</h2>
</div>
@@ -3648,11 +3717,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "developer-advanced-settings" id=
"developer-advanced-settings"></a>5.3.&nbsp;Developer/advanced
settings</h2>
</div>
@@ -3730,11 +3800,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "selecting-build-options" id=
"selecting-build-options"></a>5.4.&nbsp;Selecting
Build Options</h2>
</div>
@@ -3831,11 +3902,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="binary" id=
"binary"></a>Chapter&nbsp;6.&nbsp;Creating binary
packages</h2>
</div>
@@ -3906,11 +3977,12 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "building-a-single-binary-package" id=
"building-a-single-binary-package"></a>6.1.&nbsp;Building
a single binary package</h2>
</div>
@@ -3948,7 +4020,7 @@ alink="#0000FF">
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">/usr/pkgsrc/packages</code>, in the form of a
gzipped tar file. See <a href="#logs.package" title=
- "B.2.&nbsp;Packaging figlet">Section&nbsp;B.2,
+ "B.2.&nbsp;Packaging figlet">Section B.2,
&#8220;Packaging figlet&#8221;</a> for a continuation of
the above <a xmlns=
"http://www.w3.org/TR/xhtml1/transitional" href=
@@ -3957,16 +4029,17 @@ alink="#0000FF">
"filename">misc/figlet</code></a> example.</p>
<p>See <a href="#submit" title=
- "Chapter&nbsp;17.&nbsp;Submitting and Committing">Chapter&nbsp;17,
- <i>Submitting and Committing</i></a> for information on
- how to submit such a binary package.</p>
+ "Chapter&nbsp;17.&nbsp;Submitting and Committing">Chapter
+ 17, <i>Submitting and Committing</i></a> for information
+ on how to submit such a binary package.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "settings-for-creationg-of-binary-packages" id=
"settings-for-creationg-of-binary-packages"></a>6.2.&nbsp;Settings
for creation of binary packages</h2>
</div>
@@ -3978,13 +4051,13 @@ alink="#0000FF">
&#8220;Other helpful targets&#8221;</a>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "bulkbuild"></a>6.3.&nbsp;Doing a bulk build of all
- packages</h2>
+ "bulkbuild" id="bulkbuild"></a>6.3.&nbsp;Doing a
+ bulk build of all packages</h2>
</div>
</div>
</div>
@@ -4003,21 +4076,22 @@ alink="#0000FF">
sure to not actually compile on NFS storage, as this
slows things down a lot.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="binary.configuration"
+ id=
"binary.configuration"></a>6.3.1.&nbsp;Configuration</h3>
</div>
</div>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
+ <h4 class="title"><a name="binary.mk.conf" id=
"binary.mk.conf"></a>6.3.1.1.&nbsp;/etc/mk.conf</h4>
</div>
</div>
@@ -4046,11 +4120,11 @@ alink="#0000FF">
</pre>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
+ <h4 class="title"><a name="build.conf" id=
"build.conf"></a>6.3.1.2.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional"
class="filename">build.conf</code></h4>
@@ -4077,11 +4151,11 @@ alink="#0000FF">
update</strong></span>.</p>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
+ <h4 class="title"><a name="pre-build.local" id=
"pre-build.local"></a>6.3.1.3.&nbsp;<code xmlns="http://www.w3.org/TR/xhtml1/transitional"
class="filename">pre-build.local</code></h4>
</div>
@@ -4117,11 +4191,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "other-environmental-considerations" id=
"other-environmental-considerations"></a>6.3.2.&nbsp;Other
environmental considerations</h3>
</div>
@@ -4163,11 +4238,11 @@ alink="#0000FF">
warned! :)</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="operation" id=
"operation"></a>6.3.3.&nbsp;Operation</h3>
</div>
</div>
@@ -4212,11 +4287,11 @@ alink="#0000FF">
class="filename">build.conf</code> file.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="what-it-does" id=
"what-it-does"></a>6.3.4.&nbsp;What it does</h3>
</div>
</div>
@@ -4276,11 +4351,12 @@ alink="#0000FF">
these broken package builds later.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "disk-space-requirements" id=
"disk-space-requirements"></a>6.3.5.&nbsp;Disk
space requirements</h3>
</div>
@@ -4319,13 +4395,13 @@ alink="#0000FF">
recompiling.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "setting-up-a-sandbox"></a>6.3.6.&nbsp;Setting up
- a sandbox for chrooted builds</h3>
+ <h3 class="title"><a name="setting-up-a-sandbox"
+ id="setting-up-a-sandbox"></a>6.3.6.&nbsp;Setting
+ up a sandbox for chrooted builds</h3>
</div>
</div>
</div>
@@ -4536,11 +4612,12 @@ alink="#0000FF">
(wherever that points/mounts to/from).</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "building-a-partial-set" id=
"building-a-partial-set"></a>6.3.7.&nbsp;Building
a partial set of packages</h3>
</div>
@@ -4590,11 +4667,11 @@ alink="#0000FF">
needed.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="bulk-upload" id=
"bulk-upload"></a>6.3.8.&nbsp;Uploading results
of a bulk build</h3>
</div>
@@ -4740,11 +4817,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "creating-cdroms" id=
"creating-cdroms"></a>6.4.&nbsp;Creating a multiple
CD-ROM packages collection</h2>
</div>
@@ -4765,11 +4843,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
all the dependencies for a given package on the same CD
as that package.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="cdpack-example" id=
"cdpack-example"></a>6.4.1.&nbsp;Example of
cdpack</h3>
</div>
@@ -4835,11 +4913,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="faq" id=
"faq"></a>Chapter&nbsp;7.&nbsp;Frequently Asked
Questions</h2>
</div>
@@ -4918,11 +4996,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
for in the previous chapters, and it contains items for
both pkgsrc users and developers.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "mailing-list-pointers" id=
"mailing-list-pointers"></a>7.1.&nbsp;Are there any
mailing lists for pkg-related discussion?</h2>
</div>
@@ -4977,11 +5056,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"_top">http://mail-index.NetBSD.org/</a>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "pkgviews-docs" id=
"pkgviews-docs"></a>7.2.&nbsp;Where's the pkgviews
documentation?</h2>
</div>
@@ -4994,11 +5074,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">pkgsrc/mk/buildlink3/PKGVIEWS_UG</code>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "faq-pkgtools" id=
"faq-pkgtools"></a>7.3.&nbsp;Utilities for package
management (pkgtools)</h2>
</div>
@@ -5253,11 +5334,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "non-root-pkgsrc" id=
"non-root-pkgsrc"></a>7.4.&nbsp;How to use pkgsrc
as non-root</h2>
</div>
@@ -5295,11 +5377,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
finer tuning of the tree layout.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "resume-transfers" id=
"resume-transfers"></a>7.5.&nbsp;How to resume
transfers when fetching distfiles?</h2>
</div>
@@ -5338,11 +5421,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "XFree86-from-pkgsrc" id=
"XFree86-from-pkgsrc"></a>7.6.&nbsp;How can I
install/use XFree86 from pkgsrc?</h2>
</div>
@@ -5363,11 +5447,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "x.org-from-pkgsrc" id=
"x.org-from-pkgsrc"></a>7.7.&nbsp;How can I
install/use X.org from pkgsrc?</h2>
</div>
@@ -5388,11 +5473,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "fetch-behind-firewall" id=
"fetch-behind-firewall"></a>7.8.&nbsp;How to fetch
files from behind a firewall</h2>
</div>
@@ -5413,13 +5499,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "passive-ftp"></a>7.9.&nbsp;How do I tell
- <span><strong class="command">make
+ "passive-ftp" id="passive-ftp"></a>7.9.&nbsp;How do
+ I tell <span><strong class="command">make
fetch</strong></span> to do passive FTP?</h2>
</div>
</div>
@@ -5464,11 +5550,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
active transfers.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "fetching-all-distfiles" id=
"fetching-all-distfiles"></a>7.10.&nbsp;How to
fetch all distfiles at once</h2>
</div>
@@ -5539,11 +5626,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "tmac.andoc-missing" id=
"tmac.andoc-missing"></a>7.11.&nbsp;What does
&#8220;<span class="quote">Don't know how to make
/usr/share/tmac/tmac.andoc</span>&#8221; mean?</h2>
@@ -5575,11 +5663,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">/etc/mk.conf</code>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "bsd.own.mk-missing" id=
"bsd.own.mk-missing"></a>7.12.&nbsp;What does
&#8220;<span class="quote">Could not find
bsd.own.mk</span>&#8221; mean?</h2>
@@ -5608,11 +5697,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
-r</strong></span>).</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "using-sudo-with-pkgsrc" id=
"using-sudo-with-pkgsrc"></a>7.13.&nbsp;Using
'sudo' with pkgsrc</h2>
</div>
@@ -5643,13 +5733,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "faq.conf"></a>7.14.&nbsp;How do I change the
- location of configuration files?</h2>
+ "faq.conf" id="faq.conf"></a>7.14.&nbsp;How do I
+ change the location of configuration files?</h2>
</div>
</div>
</div>
@@ -5687,11 +5777,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
rebuild and reinstall any affected packages.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "audit-packages" id=
"audit-packages"></a>7.15.&nbsp;Automated security
checks</h2>
</div>
@@ -5759,16 +5850,16 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
package. See <a href="#variables-affecting-build" title=
"5.2.&nbsp;Variables affecting the build process">Section&nbsp;5.2,
&#8220;Variables affecting the build process&#8221;</a>
- for way to control this check.</p>
+ for ways to control this check.</p>
</div>
</div>
</div>
- <div class="part" lang="en">
+ <div class="part" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a name=
+ <h1 class="title"><a name="developers-guide" id=
"developers-guide"></a>Part&nbsp;II.&nbsp;The pkgsrc
developer's guide</h1>
</div>
@@ -5931,8 +6022,8 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<dt><span class="sect2"><a href=
"#updating-buildlink-depends">11.2.2. Updating
<code class=
- "varname">BUILDLINK_DEPENDS.<em class="replaceable"><code>pkg</code></em></code>
- in <code xmlns=
+ "varname">BUILDLINK_DEPENDS.<em class="replaceable">
+ <code>pkg</code></em></code> in <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">buildlink3.mk</code>
files</a></span></dt>
@@ -6362,11 +6453,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="components" id=
"components"></a>Chapter&nbsp;8.&nbsp;Package
components - files, directories and contents</h2>
</div>
@@ -6412,11 +6503,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
of files involved which are described in the following
sections.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "components.Makefile" id=
"components.Makefile"></a>8.1.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">Makefile</code></h2>
@@ -6732,11 +6824,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "components.distinfo" id=
"components.distinfo"></a>8.2.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">distinfo</code></h2>
@@ -6785,11 +6878,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
information is not lost.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "components.patches" id=
"components.patches"></a>8.3.&nbsp;patches/*</h2>
</div>
</div>
@@ -6893,11 +6987,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
after pkgsrc patches are applied</em></span>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "other-mandatory-files" id=
"other-mandatory-files"></a>8.4.&nbsp;Other
mandatory files</h2>
</div>
@@ -6937,11 +7032,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "components.optional" id=
"components.optional"></a>8.5.&nbsp;Optional
files</h2>
</div>
@@ -7025,12 +7121,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "work-dir"></a>8.6.&nbsp;<code xmlns=
+ "work-dir" id="work-dir"></a>8.6.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">work*</code></h2>
</div>
@@ -7053,11 +7149,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<code class="varname">OBJMACHINE</code> is set.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "files-dir" id=
"files-dir"></a>8.7.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">files/*</code></h2>
@@ -7078,11 +7175,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="makefile" id=
"makefile"></a>Chapter&nbsp;9.&nbsp;Programming in
<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -7167,11 +7264,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">Makefile</code>s, including the pitfalls that
come along with them.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "makefile.variables" id=
"makefile.variables"></a>9.1.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">Makefile</code> variables</h2>
@@ -7275,11 +7373,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</ul>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "makefile.variables.names" id=
"makefile.variables.names"></a>9.1.1.&nbsp;Naming
conventions</h3>
</div>
@@ -7315,11 +7414,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "makefile.code" id=
"makefile.code"></a>9.2.&nbsp;Code snippets</h2>
</div>
</div>
@@ -7330,11 +7430,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
appropriate here, you should test your code and add it
here.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="adding-to-list" id=
"adding-to-list"></a>9.2.1.&nbsp;Adding things to
a list</h3>
</div>
@@ -7360,11 +7460,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
are correctly interpreted in both lists.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "converting-internal-to-external" id=
"converting-internal-to-external"></a>9.2.2.&nbsp;Converting
an internal list into an external list</h3>
</div>
@@ -7385,11 +7486,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">""</code> is explained below.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "passing-variable-to-shell" id=
"passing-variable-to-shell"></a>9.2.3.&nbsp;Passing
variables to a shell command</h3>
</div>
@@ -7447,11 +7549,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
there is no example for it.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="quoting-guideline" id=
"quoting-guideline"></a>9.2.4.&nbsp;Quoting
guideline</h3>
</div>
@@ -7572,11 +7674,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "bsd-make-bug-workaround" id=
"bsd-make-bug-workaround"></a>9.2.5.&nbsp;Workaround
for a bug in BSD Make</h3>
</div>
@@ -7603,11 +7706,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="plist" id=
"plist"></a>Chapter&nbsp;10.&nbsp;PLIST issues</h2>
</div>
</div>
@@ -7668,12 +7771,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">PLIST</code> file (or files, see below!).</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "rcs-id"></a>10.1.&nbsp;RCS ID</h2>
+ "rcs-id" id="rcs-id"></a>10.1.&nbsp;RCS ID</h2>
</div>
</div>
</div>
@@ -7686,11 +7789,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "automatic-plist-generation" id=
"automatic-plist-generation"></a>10.2.&nbsp;Semi-automatic
<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -7708,11 +7812,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
information on this target.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "print-PLIST" id=
"print-PLIST"></a>10.3.&nbsp;Tweaking output of
<span><strong class="command">make
print-PLIST</strong></span></h2>
@@ -7756,11 +7861,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "plist.misc" id=
"plist.misc"></a>10.4.&nbsp;Variable substitution
in PLIST</h2>
</div>
@@ -7885,11 +7991,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
&#8220;<span class="quote">somevalue</span>&#8221;.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "manpage-compression" id=
"manpage-compression"></a>10.5.&nbsp;Man page
compression</h2>
</div>
@@ -7914,11 +8021,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">PLIST</code> itself.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "using-PLIST_SRC" id=
"using-PLIST_SRC"></a>10.6.&nbsp;Changing PLIST
source with <code class=
"varname">PLIST_SRC</code></h2>
@@ -7938,11 +8046,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
things is important.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "platform-specific-plist" id=
"platform-specific-plist"></a>10.7.&nbsp;Platform-specific
and differing PLISTs</h2>
</div>
@@ -7989,11 +8098,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "faq.common-dirs" id=
"faq.common-dirs"></a>10.8.&nbsp;Sharing
directories between packages</h2>
</div>
@@ -8081,11 +8191,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="buildlink" id=
"buildlink"></a>Chapter&nbsp;11.&nbsp;Buildlink
methodology</h2>
</div>
@@ -8184,11 +8294,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
buildlink3 is designed to insulate the package build from
non-system-supplied software.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "converting-to-buildlink3" id=
"converting-to-buildlink3"></a>11.1.&nbsp;Converting
packages to use buildlink3</h2>
</div>
@@ -8357,11 +8468,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
complete description of how to use them properly.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "creating-buildlink3.mk" id=
"creating-buildlink3.mk"></a>11.2.&nbsp;Writing
<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -8405,12 +8517,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"prompt">%</code> createbuildlink &gt;buildlink3.mk</code></strong>
</pre>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "anatomy-of-bl3"></a>11.2.1.&nbsp;Anatomy of a
+ <h3 class="title"><a name="anatomy-of-bl3" id=
+ "anatomy-of-bl3"></a>11.2.1. Anatomy of a
buildlink3.mk file</h3>
</div>
</div>
@@ -8527,9 +8639,9 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">BUILDLINK_INCDIRS.<em class=
"replaceable"><code>pkg</code></em></code> and
<code class=
- "varname">BUILDLINK_LIBDIRS.<em class="replaceable"><code>pkg</code></em></code>
- (not shown above) are lists of subdirectories of
- <code xmlns=
+ "varname">BUILDLINK_LIBDIRS.<em class="replaceable">
+ <code>pkg</code></em></code> (not shown above)
+ are lists of subdirectories of <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">${BUILDLINK_PREFIX.<em class=
"replaceable"><code>pkg</code></em>}</code> to
@@ -8666,15 +8778,16 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
included.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
- "updating-buildlink-depends"></a>11.2.2.&nbsp;Updating
+ "updating-buildlink-depends" id=
+ "updating-buildlink-depends"></a>11.2.2. Updating
<code class=
- "varname">BUILDLINK_DEPENDS.<em class="replaceable"><code>pkg</code></em></code>
- in <code xmlns=
+ "varname">BUILDLINK_DEPENDS.<em class="replaceable">
+ <code>pkg</code></em></code> in <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">buildlink3.mk</code> files</h3>
</div>
@@ -8725,21 +8838,21 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
want to cause unneeded package deletions and rebuilds.
In many cases, new versions of packages work just fine
with older dependencies. See <a href="#dependencies"
- title=
- "15.1.4.&nbsp;Handling dependencies">Section&nbsp;15.1.4,
- &#8220;Handling dependencies&#8221;</a> for more
- information about dependencies on other packages,
+ title="15.1.4.&nbsp;Handling dependencies">Section
+ 15.1.4, &#8220;Handling dependencies&#8221;</a> for
+ more information about dependencies on other packages,
including the <code class=
"varname">BUILDLINK_RECOMMENDED</code> and <code class=
"varname">RECOMMENDED</code> definitions.</p>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "writing-builtin.mk" id=
"writing-builtin.mk"></a>11.3.&nbsp;Writing
<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -8794,11 +8907,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</ol>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="anatomy-of-builtin.mk"
+ id=
"anatomy-of-builtin.mk"></a>11.3.1.&nbsp;Anatomy
of a <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -8925,11 +9039,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"replaceable"><code>pkg</code></em></code>).</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "native-or-pkgsrc-preference" id=
"native-or-pkgsrc-preference"></a>11.3.2.&nbsp;Global
preferences for native or pkgsrc software</h3>
</div>
@@ -8973,11 +9088,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="pkginstall" id=
"pkginstall"></a>Chapter&nbsp;12.&nbsp;The pkginstall
framework</h2>
</div>
@@ -9113,14 +9228,14 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
by means of the installation scripts, which are
automatically generated by pkginstall.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "files-and-dirs-outside-prefix"></a>12.1.&nbsp;Files
- and directories outside the installation
- prefix</h2>
+ "files-and-dirs-outside-prefix" id=
+ "files-and-dirs-outside-prefix"></a>12.1. Files and
+ directories outside the installation prefix</h2>
</div>
</div>
</div>
@@ -9153,12 +9268,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">Makefile</code>. The rest of this section
describes these variables.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "dirs-outside-prefix"></a>12.1.1.&nbsp;Directory
+ <h3 class="title"><a name="dirs-outside-prefix"
+ id="dirs-outside-prefix"></a>12.1.1. Directory
manipulation</h3>
</div>
</div>
@@ -9203,12 +9318,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "files-outside-prefix"></a>12.1.2.&nbsp;File
+ <h3 class="title"><a name="files-outside-prefix"
+ id="files-outside-prefix"></a>12.1.2. File
manipulation</h3>
</div>
</div>
@@ -9270,13 +9385,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "conf-files"></a>12.2.&nbsp;Configuration
- files</h2>
+ "conf-files" id="conf-files"></a>12.2.
+ Configuration files</h2>
</div>
</div>
</div>
@@ -9295,12 +9410,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
This ensures that administrators never lose any custom
changes they may have made.</p>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "conf-files-sysconfdir"></a>12.2.1.&nbsp;How
+ <h3 class="title"><a name="conf-files-sysconfdir"
+ id="conf-files-sysconfdir"></a>12.2.1. How
<code class="varname">PKG_SYSCONFDIR</code> is
set</h3>
</div>
@@ -9420,18 +9535,18 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">OWN_DIRS</code>. See <a href=
"#dirs-outside-prefix" title=
- "12.1.1.&nbsp;Directory manipulation">Section&nbsp;12.1.1,
+ "12.1.1.&nbsp;Directory manipulation">Section 12.1.1,
&#8220;Directory manipulation&#8221;</a> what this
means.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "conf-files-configure"></a>12.2.2.&nbsp;Telling
- the software where configuration files are</h3>
+ <h3 class="title"><a name="conf-files-configure"
+ id="conf-files-configure"></a>12.2.2. Telling the
+ software where configuration files are</h3>
</div>
</div>
</div>
@@ -9454,12 +9569,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
unfortunately).</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "conf-files-patching"></a>12.2.3.&nbsp;Patching
+ <h3 class="title"><a name="conf-files-patching"
+ id="conf-files-patching"></a>12.2.3. Patching
installations</h3>
</div>
</div>
@@ -9496,7 +9611,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
the variables <code class="varname">CONF_FILES</code>
and <code class="varname">CONF_FILES_PERMS</code> are
used. Check out <a href="#files-outside-prefix" title=
- "12.1.2.&nbsp;File manipulation">Section&nbsp;12.1.2,
+ "12.1.2.&nbsp;File manipulation">Section 12.1.2,
&#8220;File manipulation&#8221;</a> for information
about their syntax and their purpose. Here is an
example, taken from the <a xmlns=
@@ -9514,12 +9629,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
outside it.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "conf-files-disable"></a>12.2.4.&nbsp;Disabling
+ <h3 class="title"><a name="conf-files-disable"
+ id="conf-files-disable"></a>12.2.4. Disabling
handling of configuration files</h3>
</div>
</div>
@@ -9532,13 +9647,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "rcd-scripts"></a>12.3.&nbsp;System startup
- scripts</h2>
+ "rcd-scripts" id="rcd-scripts"></a>12.3. System
+ startup scripts</h2>
</div>
</div>
</div>
@@ -9549,8 +9664,8 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
same rules described in <a href=
"#files-and-dirs-outside-prefix" title=
"12.1.&nbsp;Files and directories outside the installation prefix">
- Section&nbsp;12.1, &#8220;Files and directories outside
- the installation prefix&#8221;</a> apply, and the same
+ Section 12.1, &#8220;Files and directories outside the
+ installation prefix&#8221;</a> apply, and the same
solutions can be used. However, pkginstall provides a
special mechanism to handle these files.</p>
@@ -9619,12 +9734,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</ol>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "rcd-scripts-disable"></a>12.3.1.&nbsp;Disabling
+ <h3 class="title"><a name="rcd-scripts-disable"
+ id="rcd-scripts-disable"></a>12.3.1. Disabling
handling of system startup scripts</h3>
</div>
</div>
@@ -9641,13 +9756,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "users-and-groups"></a>12.4.&nbsp;System users and
- groups</h2>
+ "users-and-groups" id="users-and-groups"></a>12.4.
+ System users and groups</h2>
</div>
</div>
</div>
@@ -9691,12 +9806,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
numeric identifier is optional.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "shells"></a>12.5.&nbsp;System shells</h2>
+ "shells" id="shells"></a>12.5. System shells</h2>
</div>
</div>
</div>
@@ -9724,13 +9839,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
PKG_SHELL= ${PREFIX}/bin/zsh
</pre>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "shells-disable"></a>12.5.1.&nbsp;Disabling
- handling of configuration files</h3>
+ <h3 class="title"><a name="shells-disable" id=
+ "shells-disable"></a>12.5.1. Disabling handling
+ of configuration files</h3>
</div>
</div>
</div>
@@ -9744,11 +9859,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="options" id=
"options"></a>Chapter&nbsp;13.&nbsp;Options
handling</h2>
</div>
@@ -9784,11 +9899,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
sets of options will be built into a package or to allow a
set of global default options apply.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "global-default-options" id=
"global-default-options"></a>13.1.&nbsp;Global
default options</h2>
</div>
@@ -9803,11 +9919,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">/etc/mk.conf</code>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "converting-to-options" id=
"converting-to-options"></a>13.2.&nbsp;Converting
packages to use <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -9946,8 +10063,9 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p><code class=
"varname">PKG_OPTIONS_LEGACY_VARS</code> is a list
of &#8220;<span class="quote"><em class=
- "replaceable"><code>USE_VARIABLE</code></em>:<em class="replaceable"><code>option</code></em></span>&#8221;
- pairs that map legacy <code xmlns=
+ "replaceable"><code>USE_VARIABLE</code></em>:<em class="replaceable">
+ <code>option</code></em></span>&#8221; pairs that
+ map legacy <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">/etc/mk.conf</code> variables to their
option counterparts. Pairs should be added with
@@ -9961,9 +10079,10 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p><code class=
"varname">PKG_OPTIONS_LEGACY_OPTS</code> is a list
of &#8220;<span class="quote"><em class=
- "replaceable"><code>old-option</code></em>:<em class="replaceable"><code>new-option</code></em></span>&#8221;
- pairs that map options that have been renamed to
- their new counterparts. Pairs should be added with
+ "replaceable"><code>old-option</code></em>:<em class="replaceable">
+ <code>new-option</code></em></span>&#8221; pairs
+ that map options that have been renamed to their
+ new counterparts. Pairs should be added with
&#8220;<span class="quote">+=</span>&#8221; to keep
the listing of global legacy options. A warning
will be issued if the user uses a legacy
@@ -10028,11 +10147,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "option-names" id=
"option-names"></a>13.3.&nbsp;Option Names</h2>
</div>
</div>
@@ -10069,11 +10189,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="build" id=
"build"></a>Chapter&nbsp;14.&nbsp;The build
process</h2>
</div>
@@ -10148,11 +10268,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.intro" id=
"build.intro"></a>14.1.&nbsp;Introduction</h2>
</div>
</div>
@@ -10188,11 +10309,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">pkgsrc/mk/bsd.pkg.mk</code>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.prefix" id=
"build.prefix"></a>14.2.&nbsp;Program location</h2>
</div>
</div>
@@ -10373,11 +10495,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.builddirs" id=
"build.builddirs"></a>14.3.&nbsp;Directories used
during the build process</h2>
</div>
@@ -10447,11 +10570,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.running" id=
"build.running"></a>14.4.&nbsp;Running a phase</h2>
</div>
</div>
@@ -10468,13 +10592,14 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
will be built, but not installed.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.fetch"></a>14.5.&nbsp;The <span class=
- "emphasis"><em>fetch</em></span> phase</h2>
+ "build.fetch" id="build.fetch"></a>14.5.&nbsp;The
+ <span class="emphasis"><em>fetch</em></span>
+ phase</h2>
</div>
</div>
</div>
@@ -10506,11 +10631,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">MASTER_SORT_REGEX</code>.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.checksum" id=
"build.checksum"></a>14.6.&nbsp;The <span class=
"emphasis"><em>checksum</em></span> phase</h2>
</div>
@@ -10526,11 +10652,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
master distribution site or network lossage.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.extract" id=
"build.extract"></a>14.7.&nbsp;The <span class=
"emphasis"><em>extract</em></span> phase</h2>
</div>
@@ -10598,13 +10725,14 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.patch"></a>14.8.&nbsp;The <span class=
- "emphasis"><em>patch</em></span> phase</h2>
+ "build.patch" id="build.patch"></a>14.8.&nbsp;The
+ <span class="emphasis"><em>patch</em></span>
+ phase</h2>
</div>
</div>
</div>
@@ -10646,13 +10774,14 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
there.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.tools"></a>14.9.&nbsp;The <span class=
- "emphasis"><em>tools</em></span> phase</h2>
+ "build.tools" id="build.tools"></a>14.9.&nbsp;The
+ <span class="emphasis"><em>tools</em></span>
+ phase</h2>
</div>
</div>
</div>
@@ -10660,11 +10789,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p>[TODO]</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.wrapper" id=
"build.wrapper"></a>14.10.&nbsp;The <span class=
"emphasis"><em>wrapper</em></span> phase</h2>
</div>
@@ -10674,11 +10804,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p>[TODO]</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.configure" id=
"build.configure"></a>14.11.&nbsp;The <span class=
"emphasis"><em>configure</em></span> phase</h2>
</div>
@@ -10733,13 +10864,14 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">USE_X11BASE</code> instead.)</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.build"></a>14.12.&nbsp;The <span class=
- "emphasis"><em>build</em></span> phase</h2>
+ "build.build" id="build.build"></a>14.12.&nbsp;The
+ <span class="emphasis"><em>build</em></span>
+ phase</h2>
</div>
</div>
</div>
@@ -10779,13 +10911,14 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
&#8220;<span class="quote">all</span>&#8221;.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.test"></a>14.13.&nbsp;The <span class=
- "emphasis"><em>test</em></span> phase</h2>
+ "build.test" id="build.test"></a>14.13.&nbsp;The
+ <span class="emphasis"><em>test</em></span>
+ phase</h2>
</div>
</div>
</div>
@@ -10793,11 +10926,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p>[TODO]</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.install" id=
"build.install"></a>14.14.&nbsp;The <span class=
"emphasis"><em>install</em></span> phase</h2>
</div>
@@ -10817,11 +10951,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">USE_IMAKE</code> is set).</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.package" id=
"build.package"></a>14.15.&nbsp;The <span class=
"emphasis"><em>package</em></span> phase</h2>
</div>
@@ -10831,11 +10966,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<p>[TODO]</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "build.helpful-targets" id=
"build.helpful-targets"></a>14.16.&nbsp;Other
helpful targets</h2>
</div>
@@ -11371,11 +11507,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="fixes" id=
"fixes"></a>Chapter&nbsp;15.&nbsp;Making your package
work</h2>
</div>
@@ -11573,22 +11709,24 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "general-operation" id=
"general-operation"></a>15.1.&nbsp;General
operation</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "pulling-vars-from-etc-mk.conf" id=
"pulling-vars-from-etc-mk.conf"></a>15.1.1.&nbsp;How
to pull in variables from /etc/mk.conf</h3>
</div>
@@ -11652,11 +11790,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
interested in optimization for the current CPU.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "where-to-install-documentation" id=
"where-to-install-documentation"></a>15.1.2.&nbsp;Where
to install documentation</h3>
</div>
@@ -11672,11 +11811,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
package).</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="restricted-packages"
+ id=
"restricted-packages"></a>15.1.3.&nbsp;Restricted
packages</h3>
</div>
@@ -11751,11 +11891,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
binary packages!</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="dependencies" id=
"dependencies"></a>15.1.4.&nbsp;Handling
dependencies</h3>
</div>
@@ -11929,8 +12069,8 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<code class="varname">RECOMMENDED</code>, see
<a href="#security-handling" title=
"15.1.8.&nbsp;Handling packages with security problems">
- Section&nbsp;15.1.8, &#8220;Handling packages
- with security problems&#8221;</a> for more
+ Section 15.1.8, &#8220;Handling packages with
+ security problems&#8221;</a> for more
information.</p>
</li>
@@ -12006,11 +12146,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">devel/gettext-m4</code></a> package.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="conflicts" id=
"conflicts"></a>15.1.5.&nbsp;Handling conflicts
with other packages</h3>
</div>
@@ -12058,11 +12198,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"quote">Xaw3d-1.3</span>&#8221;.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="not-building-packages"
+ id=
"not-building-packages"></a>15.1.6.&nbsp;Packages
that cannot or should not be built</h3>
</div>
@@ -12091,11 +12232,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
message.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="undeletable-packages"
+ id=
"undeletable-packages"></a>15.1.7.&nbsp;Packages
which should not be deleted, once installed</h3>
</div>
@@ -12116,11 +12258,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
is used.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="security-handling" id=
"security-handling"></a>15.1.8.&nbsp;Handling
packages with security problems</h3>
</div>
@@ -12155,11 +12297,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
handled semi-automatically by a weekly cron job.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="compiler-bugs" id=
"compiler-bugs"></a>15.1.9.&nbsp;How to handle
compiler bugs</h3>
</div>
@@ -12182,12 +12324,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
number of examples!</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
- "bumping-pkgrevision"></a>15.1.10.&nbsp;How to
+ <h3 class="title"><a name="bumping-pkgrevision"
+ id="bumping-pkgrevision"></a>15.1.10.&nbsp;How to
handle incrementing versions when fixing an
existing package</h3>
</div>
@@ -12223,11 +12365,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "portability-of-packages" id=
"portability-of-packages"></a>15.1.11.&nbsp;Portability
of packages</h3>
</div>
@@ -12240,11 +12383,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
portable. There are some particular details you should
pay attention to while working on pkgsrc.</p>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
+ <h4 class="title"><a name="install-scripts" id=
"install-scripts"></a>15.1.11.1.&nbsp;${INSTALL},
${INSTALL_DATA_DIR}, ...</h4>
</div>
@@ -12265,22 +12408,23 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "downloading-issues" id=
"downloading-issues"></a>15.2.&nbsp;Possible
downloading issues</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="no-plain-download" id=
"no-plain-download"></a>15.2.1.&nbsp;Packages
whose distfiles aren't available for plain
downloading</h3>
@@ -12350,11 +12494,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
with them.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "modified-distfiles-same-name" id=
"modified-distfiles-same-name"></a>15.2.2.&nbsp;How
to handle modified distfiles with the 'old'
name</h3>
@@ -12392,22 +12537,23 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "configuration-gotchas" id=
"configuration-gotchas"></a>15.3.&nbsp;Configuration
gotchas</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="fixes.libtool" id=
"fixes.libtool"></a>15.3.1.&nbsp;Shared libraries
- libtool</h3>
</div>
@@ -12632,11 +12778,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="using-libtool" id=
"using-libtool"></a>15.3.2.&nbsp;Using libtool on
GNU packages that already support libtool</h3>
</div>
@@ -12715,11 +12861,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="autoconf-automake" id=
"autoconf-automake"></a>15.3.3.&nbsp;GNU
Autoconf/Automake</h3>
</div>
@@ -12772,22 +12918,23 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "fixes-build" id=
"fixes-build"></a>15.4.&nbsp;Building the
package</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="cpp-defines" id=
"cpp-defines"></a>15.4.1.&nbsp;CPP defines</h3>
</div>
</div>
@@ -12818,11 +12965,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
that you are using NetBSD on an Intel CPU, and your
compiler is GCC.</p>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "fixes-build-cpp-opsys" id=
"fixes-build-cpp-opsys"></a>15.4.1.1.&nbsp;CPP
defines for operating systems</h4>
</div>
@@ -12854,12 +13002,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name=
- "fixes-build-cpp-cpu"></a>15.4.1.2.&nbsp;CPP
+ <h4 class="title"><a name="fixes-build-cpp-cpu"
+ id="fixes-build-cpp-cpu"></a>15.4.1.2.&nbsp;CPP
defines for CPUs</h4>
</div>
</div>
@@ -12871,11 +13019,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect3" lang="en">
+ <div class="sect3" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h4 class="title"><a name=
+ "fixes-build-cpp-compiler" id=
"fixes-build-cpp-compiler"></a>15.4.1.3.&nbsp;CPP
defines for compilers</h4>
</div>
@@ -12887,11 +13036,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="cpp-list" id=
"cpp-list"></a>15.4.2.&nbsp;Getting a list of CPP
defines</h3>
</div>
@@ -12908,22 +13057,23 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "package-specific-actions" id=
"package-specific-actions"></a>15.5.&nbsp;Package
specific actions</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="user-interaction" id=
"user-interaction"></a>15.5.1.&nbsp;User
interaction</h3>
</div>
@@ -12970,11 +13120,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="handling-licenses" id=
"handling-licenses"></a>15.5.2.&nbsp;Handling
licenses</h3>
</div>
@@ -13069,11 +13219,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
pkgsrc that a fee has been paid.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "installing-score-files" id=
"installing-score-files"></a>15.5.3.&nbsp;Installing
score files</h3>
</div>
@@ -13108,11 +13259,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
these correctly.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="perl-scripts" id=
"perl-scripts"></a>15.5.4.&nbsp;Packages
containing perl scripts</h3>
</div>
@@ -13127,11 +13278,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">WRKSRC</code>, that you want adjusted.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="hardcoded-paths" id=
"hardcoded-paths"></a>15.5.5.&nbsp;Packages with
hardcoded paths to other interpreters</h3>
</div>
@@ -13156,11 +13307,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="perl-modules" id=
"perl-modules"></a>15.5.6.&nbsp;Packages
installing perl modules</h3>
</div>
@@ -13205,11 +13356,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">PLIST</code>.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="faq.info-files" id=
"faq.info-files"></a>15.5.7.&nbsp;Packages
installing info files</h3>
</div>
@@ -13309,11 +13460,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
error.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="manpages" id=
"manpages"></a>15.5.8.&nbsp;Packages installing
man pages</h3>
</div>
@@ -13377,11 +13528,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
on installation of compressed manual pages.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="gconf2-data-files" id=
"gconf2-data-files"></a>15.5.9.&nbsp;Packages
installing GConf2 data files</h3>
</div>
@@ -13466,11 +13617,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "scrollkeeper-data-files" id=
"scrollkeeper-data-files"></a>15.5.10.&nbsp;Packages
installing scrollkeeper data files</h3>
</div>
@@ -13516,11 +13668,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="x11-fonts" id=
"x11-fonts"></a>15.5.11.&nbsp;Packages installing
X11 fonts</h3>
</div>
@@ -13557,11 +13709,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
them.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="gtk2-modules" id=
"gtk2-modules"></a>15.5.12.&nbsp;Packages
installing GTK2 modules</h3>
</div>
@@ -13631,11 +13783,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="sgml-xml-data" id=
"sgml-xml-data"></a>15.5.13.&nbsp;Packages
installing SGML or XML data</h3>
</div>
@@ -13695,11 +13847,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="mime-database" id=
"mime-database"></a>15.5.14.&nbsp;Packages
installing extensions to the MIME database</h3>
</div>
@@ -13762,11 +13914,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="intltool" id=
"intltool"></a>15.5.15.&nbsp;Packages using
intltool</h3>
</div>
@@ -13787,11 +13939,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
appeared since it was released.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="startup-scripts" id=
"startup-scripts"></a>15.5.16.&nbsp;Packages
installing startup scripts</h3>
</div>
@@ -13811,11 +13963,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
when the package is deinstalled.</p>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="tex-packages" id=
"tex-packages"></a>15.5.17.&nbsp;Packages
installing TeX modules</h3>
</div>
@@ -13876,11 +14028,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "feedback-to-author" id=
"feedback-to-author"></a>15.6.&nbsp;Feedback to the
author</h2>
</div>
@@ -13900,11 +14053,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="debug" id=
"debug"></a>Chapter&nbsp;16.&nbsp;Debugging</h2>
</div>
</div>
@@ -14116,11 +14269,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en">
+ <div class="chapter" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="submit" id=
"submit"></a>Chapter&nbsp;17.&nbsp;Submitting and
Committing</h2>
</div>
@@ -14152,11 +14305,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "submitting-your-package" id=
"submitting-your-package"></a>17.1.&nbsp;Submitting
your packages</h2>
</div>
@@ -14221,11 +14375,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "general-notes-for-changes" id=
"general-notes-for-changes"></a>17.2.&nbsp;General
notes when adding, updating, or removing
packages</h2>
@@ -14274,11 +14429,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">pkgsrc/doc/CHANGES</code>!</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "committing-importing" id=
"committing-importing"></a>17.3.&nbsp;Committing:
Importing a package into CVS</h2>
</div>
@@ -14323,11 +14479,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
consistent tag.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "updating-package" id=
"updating-package"></a>17.4.&nbsp;Updating a
package to a newer version</h2>
</div>
@@ -14374,11 +14531,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
preferred above new and possibly untested features.</p>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "moving-package" id=
"moving-package"></a>17.5.&nbsp;Moving a package in
pkgsrc</h2>
</div>
@@ -14467,11 +14625,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="appendix" lang="en">
+ <div class="appendix" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="examples" id=
"examples"></a>Appendix&nbsp;A.&nbsp;A simple example
package: bison</h2>
</div>
@@ -14516,21 +14674,22 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
present in the tree is beyond us, but it's useful for the
purposes of this exercise.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "example-files" id=
"example-files"></a>A.1.&nbsp;files</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="example-Makefile" id=
"example-Makefile"></a>A.1.1.&nbsp;Makefile</h3>
</div>
</div>
@@ -14554,11 +14713,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="example-descr" id=
"example-descr"></a>A.1.2.&nbsp;DESCR</h3>
</div>
</div>
@@ -14571,11 +14730,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name=
+ <h3 class="title"><a name="example-plist" id=
"example-plist"></a>A.1.3.&nbsp;PLIST</h3>
</div>
</div>
@@ -14589,11 +14748,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en">
+ <div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
+ "checking-package-with-pkglint" id=
"checking-package-with-pkglint"></a>A.1.4.&nbsp;Checking
a package with <span><strong class=
"command">pkglint</strong></span></h3>
@@ -14624,11 +14784,12 @@ looks fine.
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "steps-for-b-i-p" id=
"steps-for-b-i-p"></a>A.2.&nbsp;Steps for building,
installing, packaging</h2>
</div>
@@ -14656,8 +14817,8 @@ looks fine.
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">PLIST</code> (see <a href="#components" title=
"Chapter&nbsp;8.&nbsp;Package components - files, directories and contents">
- Chapter&nbsp;8, <i>Package components - files, directories
- and contents</i></a>) then continue with fetching the
+ Chapter 8, <i>Package components - files, directories and
+ contents</i></a>) then continue with fetching the
distfile:</p>
<pre class="screen">
<code class="prompt">#</code> <strong class=
@@ -14782,11 +14943,11 @@ Creating gzip'd tar ball in '/u/pkgsrc/lang/bison/bison-1.25.tgz'
</div>
</div>
- <div class="appendix" lang="en">
+ <div class="appendix" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="logs" id=
"logs"></a>Appendix&nbsp;B.&nbsp;Build logs</h2>
</div>
</div>
@@ -14804,11 +14965,12 @@ Creating gzip'd tar ball in '/u/pkgsrc/lang/bison/bison-1.25.tgz'
</dl>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "logs.building" id=
"logs.building"></a>B.1.&nbsp;Building figlet</h2>
</div>
</div>
@@ -14907,11 +15069,12 @@ cp figlet.6 /usr/pkg/man/man6
</pre>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "logs.package" id=
"logs.package"></a>B.2.&nbsp;Packaging figlet</h2>
</div>
</div>
@@ -14930,11 +15093,11 @@ Registering depends:.
</div>
</div>
- <div class="appendix" lang="en">
+ <div class="appendix" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="ftp-layout" id=
"ftp-layout"></a>Appendix&nbsp;C.&nbsp;Layout of the
FTP server's package archive</h2>
</div>
@@ -15009,8 +15172,8 @@ Registering depends:.
<ol type="1">
<li>
<p>Run bulk build, see <a href="#bulkbuild" title=
- "6.3.&nbsp;Doing a bulk build of all packages">Section&nbsp;6.3,
- &#8220;Doing a bulk build of all
+ "6.3.&nbsp;Doing a bulk build of all packages">Section
+ 6.3, &#8220;Doing a bulk build of all
packages&#8221;</a></p>
</li>
@@ -15033,11 +15196,11 @@ Registering depends:.
</div>
</div>
- <div class="appendix" lang="en">
+ <div class="appendix" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name=
+ <h2 class="title"><a name="editing" id=
"editing"></a>Appendix&nbsp;D.&nbsp;Editing guidelines
for the pkgsrc guide</h2>
</div>
@@ -15059,12 +15222,12 @@ Registering depends:.
<p>This section contains information on editing the pkgsrc
guide itself.</p>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "targets"></a>D.1.&nbsp;Targets</h2>
+ "targets" id="targets"></a>D.1.&nbsp;Targets</h2>
</div>
</div>
</div>
@@ -15116,11 +15279,12 @@ Registering depends:.
</div>
</div>
- <div class="sect1" lang="en">
+ <div class="sect1" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
+ "procedure" id=
"procedure"></a>D.2.&nbsp;Procedure</h2>
</div>
</div>
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt
index 33d81374996..cfba676e0d6 100644
--- a/doc/pkgsrc.txt
+++ b/doc/pkgsrc.txt
@@ -35,11 +35,12 @@ Table of Contents
I. The pkgsrc user's guide
- 2. Where to get pkgsrc
+ 2. Where to get pkgsrc and how to keep it up-to-date
2.1. As tar file
2.2. Via SUP
2.3. Via CVS
+ 2.4. Keeping pkgsrc up-to-date via CVS
3. Using pkgsrc on systems other than NetBSD
@@ -438,11 +439,12 @@ Part I. The pkgsrc user's guide
Table of Contents
-2. Where to get pkgsrc
+2. Where to get pkgsrc and how to keep it up-to-date
2.1. As tar file
2.2. Via SUP
2.3. Via CVS
+ 2.4. Keeping pkgsrc up-to-date via CVS
3. Using pkgsrc on systems other than NetBSD
@@ -516,13 +518,14 @@ Table of Contents
7.14. How do I change the location of configuration files?
7.15. Automated security checks
-Chapter 2. Where to get pkgsrc
+Chapter 2. Where to get pkgsrc and how to keep it up-to-date
Table of Contents
2.1. As tar file
2.2. Via SUP
2.3. Via CVS
+2.4. Keeping pkgsrc up-to-date via CVS
There are three ways to get pkgsrc. Either as a tar file, via SUP, or via CVS.
All three ways are described here.
@@ -563,6 +566,17 @@ Please also note that it is possible to have multiple copies of the pkgsrc
hierarchy in use at any one time - all work is done relatively within the
pkgsrc tree.
+2.4. Keeping pkgsrc up-to-date via CVS
+
+If your copy of pkgsrc contains a lot of CVS directories, you can update it
+using the cvs(1) program. First, cd to the top level directory of pkgsrc. Then
+run cvs -q update -dP, and you're done.
+
+If that doesn't work and the file CVS/Root contains the string ":pserver:", you
+have to run cvs login once to get known to the NetBSD CVS server. The cvs
+utility will then ask you for a password. Just enter "anoncvs". Then try again
+to update.
+
Chapter 3. Using pkgsrc on systems other than NetBSD
Table of Contents
@@ -611,11 +625,11 @@ Installing the bootstrap kit should be as simple as:
# cd pkgsrc/bootstrap
# ./bootstrap
-See Chapter 2, Where to get pkgsrc for other ways to get pkgsrc before
-bootstrapping. The given bootstrap command will use the defaults of /usr/pkg
-for the prefix where programs will be installed in, and /var/db/pkg for the
-package database directory where pkgsrc will do its internal bookkeeping.
-However, these can also be set using command-line arguments.
+See Chapter 2, Where to get pkgsrc and how to keep it up-to-date for other ways
+to get pkgsrc before bootstrapping. The given bootstrap command will use the
+defaults of /usr/pkg for the prefix where programs will be installed in, and /
+var/db/pkg for the package database directory where pkgsrc will do its internal
+bookkeeping. However, these can also be set using command-line arguments.
Binary packages for the pkgsrc tools and an initial set of packages is
available for supported platforms. An up-to-date list of these can be found on
@@ -669,7 +683,7 @@ possible to use the default prefix of /usr/pkg by symlinking /usr/pkg to a
directory on a UFS file system. Obviously, another symlink is required if you
want to place the package database directory outside the prefix. e.g.
-# ./bootstrap --pkgdbdir /usr/pkg/pkgdb --pkgsrcdir /Volumes/ufs/pkgsrc
+# ./bootstrap --pkgdbdir /usr/pkg/pkgdb
If you created your partitions at the time of installing Mac OS X and formatted
the target partition as UFS, it should automatically mount on /Volumes/<volume
@@ -2133,7 +2147,7 @@ get by running pkg_info -D audit-package.
If this package is installed, pkgsrc builds will use it to perform a security
check before building any package. See Section 5.2, "Variables affecting the
-build process" for way to control this check.
+build process" for ways to control this check.
Part II. The pkgsrc developer's guide
@@ -2180,7 +2194,7 @@ Table of Contents
11.2. Writing buildlink3.mk files
11.2.1. Anatomy of a buildlink3.mk file
- 11.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk files
+ 11.2.2. Updating BUILDLINK_DEPENDS. pkg in buildlink3.mk files
11.3. Writing builtin.mk files
@@ -3184,8 +3198,8 @@ dependency on pkg is added. Several important variables are set in the section:
is selected by setting BUILDLINK_DEPMETHOD.pkg to "build". By default, the
full dependency is used.
- * BUILDLINK_INCDIRS.pkg and BUILDLINK_LIBDIRS.pkg (not shown above) are lists
- of subdirectories of ${BUILDLINK_PREFIX.pkg} to add to the header and
+ * BUILDLINK_INCDIRS.pkg and BUILDLINK_LIBDIRS. pkg (not shown above) are
+ lists of subdirectories of ${BUILDLINK_PREFIX.pkg} to add to the header and
library search paths. These default to "include" and "lib" respectively.
* BUILDLINK_CPPFLAGS.pkg (not shown above) is the list of preprocessor flags
@@ -3224,7 +3238,7 @@ dependencies. Including these buildlink3.mk files means that the headers and
libraries for these dependencies are also symlinked into ${BUILDLINK_DIR}
whenever the pkg buildlink3.mk file is included.
-11.2.2. Updating BUILDLINK_DEPENDS.pkg in buildlink3.mk files
+11.2.2. Updating BUILDLINK_DEPENDS. pkg in buildlink3.mk files
There are two situations that require increasing the dependency listed in
BUILDLINK_DEPENDS.pkg after a package update:
@@ -3243,9 +3257,9 @@ settle for an older one which will not contain the necessary shared libraries.
Please take careful consideration before adjusting BUILDLINK_DEPENDS.pkg as we
don't want to cause unneeded package deletions and rebuilds. In many cases, new
-versions of packages work just fine with older dependencies. See
-Section 15.1.4, "Handling dependencies" for more information about dependencies
-on other packages, including the BUILDLINK_RECOMMENDED and RECOMMENDED
+versions of packages work just fine with older dependencies. See Section
+15.1.4, "Handling dependencies" for more information about dependencies on
+other packages, including the BUILDLINK_RECOMMENDED and RECOMMENDED
definitions.
11.3. Writing builtin.mk files
@@ -3559,9 +3573,9 @@ original copies available.
Once the required configuration files are in place (i.e., under the examples
hierarchy), the pkginstall framework can use them as master copies during the
package installation to update what is in ${PKG_SYSCONFDIR}. To achieve this,
-the variables CONF_FILES and CONF_FILES_PERMS are used. Check out
-Section 12.1.2, "File manipulation" for information about their syntax and
-their purpose. Here is an example, taken from the mail/mutt package:
+the variables CONF_FILES and CONF_FILES_PERMS are used. Check out Section
+12.1.2, "File manipulation" for information about their syntax and their
+purpose. Here is an example, taken from the mail/mutt package:
EGDIR= ${PREFIX}/share/doc/mutt/samples
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
@@ -3758,14 +3772,14 @@ supported by the package, and any default options settings if needed.
6. PKG_SUGGESTED_OPTIONS is a list of build options which are enabled by
default.
- 7. PKG_OPTIONS_LEGACY_VARS is a list of "USE_VARIABLE:option" pairs that map
+ 7. PKG_OPTIONS_LEGACY_VARS is a list of "USE_VARIABLE: option" pairs that map
legacy /etc/mk.conf variables to their option counterparts. Pairs should be
added with "+=" to keep the listing of global legacy variables. A warning
will be issued if the user uses a legacy variable.
- 8. PKG_OPTIONS_LEGACY_OPTS is a list of "old-option:new-option" pairs that map
- options that have been renamed to their new counterparts. Pairs should be
- added with "+=" to keep the listing of global legacy options. A warning
+ 8. PKG_OPTIONS_LEGACY_OPTS is a list of "old-option: new-option" pairs that
+ map options that have been renamed to their new counterparts. Pairs should
+ be added with "+=" to keep the listing of global legacy options. A warning
will be issued if the user uses a legacy option.
9. PKG_LEGACY_OPTIONS is a list of options implied by deprecated variables