summaryrefslogtreecommitdiff
path: root/doc/pkgsrc.html
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-01 17:15:25 +0000
committertv <tv@pkgsrc.org>2005-11-01 17:15:25 +0000
commit8ba1a6fa6367549ed240cf625b1353be75738b9d (patch)
tree5f4ab9feb5f54eacdfc6187cc0402bed4d24f603 /doc/pkgsrc.html
parent90adf6235fceaec7b5693a4274be1cf0bda5e891 (diff)
downloadpkgsrc-8ba1a6fa6367549ed240cf625b1353be75738b9d.tar.gz
regen
Diffstat (limited to 'doc/pkgsrc.html')
-rw-r--r--doc/pkgsrc.html998
1 files changed, 527 insertions, 471 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html
index c1051852b12..74c42698add 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 1st August 2004), see www.w3.org" />
+ "HTML Tidy for NetBSD (vers 1 September 2005), 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" xml:lang="en">
+ <div class="book" lang="en">
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a name="the-pkgsrc-guide" id=
- "the-pkgsrc-guide"></a>The pkgsrc guide</h1>
+ <h1 class="title"><a name="the-pkgsrc-guide"></a>The
+ pkgsrc guide</h1>
</div>
<div>
@@ -979,11 +979,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="introduction" id=
+ <h2 class="title"><a name=
"introduction"></a>Chapter&nbsp;1.&nbsp;What is
pkgsrc?</h2>
</div>
@@ -1008,12 +1008,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -1146,12 +1145,12 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "overview" id="overview"></a>1.2.&nbsp;Overview</h2>
+ "overview"></a>1.2.&nbsp;Overview</h2>
</div>
</div>
</div>
@@ -1192,12 +1191,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -1292,12 +1290,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -1313,11 +1310,11 @@ alink="#0000FF">
</div>
</div>
- <div class="part" lang="en" xml:lang="en">
+ <div class="part" lang="en">
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a name="users-guide" id=
+ <h1 class="title"><a name=
"users-guide"></a>Part&nbsp;I.&nbsp;The pkgsrc user's
guide</h1>
</div>
@@ -1597,11 +1594,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="getting" id=
+ <h2 class="title"><a name=
"getting"></a>Chapter&nbsp;2.&nbsp;Where to get
pkgsrc</h2>
</div>
@@ -1627,13 +1624,12 @@ alink="#0000FF">
file, via SUP, or via CVS. All three ways are described
here.</p>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "as-tar-file" id="as-tar-file"></a>2.1.&nbsp;As tar
- file</h2>
+ "as-tar-file"></a>2.1.&nbsp;As tar file</h2>
</div>
</div>
</div>
@@ -1646,12 +1642,12 @@ alink="#0000FF">
class="filename">/usr/pkgsrc</code>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "via-sup" id="via-sup"></a>2.2.&nbsp;Via SUP</h2>
+ "via-sup"></a>2.2.&nbsp;Via SUP</h2>
</div>
</div>
</div>
@@ -1673,12 +1669,12 @@ alink="#0000FF">
<em class="replaceable"><code>/path/to/your/supfile</code></em></strong></span>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "via-cvs" id="via-cvs"></a>2.3.&nbsp;Via CVS</h2>
+ "via-cvs"></a>2.3.&nbsp;Via CVS</h2>
</div>
</div>
</div>
@@ -1721,11 +1717,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="platforms" id=
+ <h2 class="title"><a name=
"platforms"></a>Chapter&nbsp;3.&nbsp;Using pkgsrc on
systems other than NetBSD</h2>
</div>
@@ -1771,12 +1767,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -1843,7 +1838,7 @@ alink="#0000FF">
</pre>
<p>See <a href="#getting" title=
- "Chapter&nbsp;2.&nbsp;Where to get pkgsrc">Chapter 2,
+ "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>
@@ -1878,12 +1873,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -1893,11 +1887,11 @@ alink="#0000FF">
<p>Here are some platform-specific notes you should be
aware of.</p>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="darwin" id=
+ <h3 class="title"><a name=
"darwin"></a>3.2.1.&nbsp;Darwin (Mac OS X)</h3>
</div>
</div>
@@ -1938,13 +1932,13 @@ alink="#0000FF">
be case-sensitive, and HFS+ is not.</p>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="platform.osx-image"
- id="platform.osx-image"></a>3.2.1.1.&nbsp;Using
- a disk image</h4>
+ <h4 class="title"><a name=
+ "platform.osx-image"></a>3.2.1.1.&nbsp;Using a
+ disk image</h4>
</div>
</div>
</div>
@@ -1964,12 +1958,12 @@ alink="#0000FF">
<p>That's it!</p>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="platform.osx-ufs"
- id="platform.osx-ufs"></a>3.2.1.2.&nbsp;Using a
+ <h4 class="title"><a name=
+ "platform.osx-ufs"></a>3.2.1.2.&nbsp;Using a
UFS partition</h4>
</div>
</div>
@@ -2031,11 +2025,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="freebsd" id=
+ <h3 class="title"><a name=
"freebsd"></a>3.2.2.&nbsp;FreeBSD</h3>
</div>
</div>
@@ -2093,11 +2087,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="interix" id=
+ <h3 class="title"><a name=
"interix"></a>3.2.3.&nbsp;Interix</h3>
</div>
</div>
@@ -2118,12 +2112,11 @@ alink="#0000FF">
officially supported. (The main difference in 3.0/3.1
is lack of pthreads.)</p>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" 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>
@@ -2166,21 +2159,31 @@ alink="#0000FF">
but Remote Connectivity itself should be installed in
order to have a working inetd.</p>
- <p>Finally, during installation you may be asked
- whether to enable setuid behavior for Interix
- programs, and whether to make pathnames default to
- case-sensitive. Setuid should be enabled, and
- case-sensitivity MUST be enabled. (Without
- case-sensitivity, a large number of packages
- including perl will not build.)</p>
- </div>
-
- <div class="sect3" lang="en" xml:lang="en">
+ <p>During installation you may be asked whether to
+ enable setuid behavior for Interix programs, and
+ whether to make pathnames default to case-sensitive.
+ Setuid should be enabled, and case-sensitivity MUST
+ be enabled. (Without case-sensitivity, a large number
+ of packages including perl will not build.)</p>
+
+ <p>NOTE: Newer Windows service packs change the way
+ binary execution works (via the Data Execution
+ Prevention feature). In order to use pkgsrc and other
+ gcc-compiled binaries reliably, a hotfix containing
+ POSIX.EXE, PSXDLL.DLL, PSXRUN.EXE, and PSXSS.EXE
+ (899522 or newer) must be installed. Hotfixes are
+ available from Microsoft through a support contract;
+ however, a NetBSD developer has made most Interix
+ hotfixes available for personal use from <a href=
+ "http://www.duh.org/interix/hotfixes.php" target=
+ "_top">http://www.duh.org/interix/hotfixes.php</a>.</p>
+ </div>
+
+ <div class="sect3" 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>
@@ -2230,19 +2233,18 @@ alink="#0000FF">
</div>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" 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>
</div>
</div>
- <p>The package imanager (either the pkgsrc "su" user,
+ <p>The package manager (either the pkgsrc "su" user,
or the user running "pkg_add") must be a member of
the local Administrators group. Such a user must also
be used to run the bootstrap. This is slightly
@@ -2273,13 +2275,156 @@ alink="#0000FF">
interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi:
</pre>
</div>
+
+ <div class="sect3" lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h4 class="title"><a name=
+ "platform.interix-limits"></a>3.2.3.4.&nbsp;Limitations
+ of the Interix platform</h4>
+ </div>
+ </div>
+ </div>
+
+ <p>Though Interix suffices as a familiar and flexible
+ substitute for a full Unix-like platform, it has some
+ drawbacks that should be noted for those desiring to
+ make the most of Interix.</p>
+
+ <div class="itemizedlist">
+ <ul type="disc">
+ <li>
+ <span class=
+ "strong"><strong>X-Windows:</strong></span>
+
+ <p>Interix comes with the standard set of X11R6
+ client libraries, and can run X-Windows based
+ applications, but it does <span class=
+ "emphasis"><em>not</em></span> come with an X
+ server. Some options are <a href=
+ "http://www.starnet.com/products/xwin32/"
+ target="_top">StarNet X-Win32</a>, <a href=
+ "http://connectivity.hummingbird.com/products/nc/exceed/"
+ target="_top">Hummingbird Exceed</a>, and the
+ free X-Windows server included with <a href=
+ "http://x.cygwin.com/" target=
+ "_top">Cygwin</a>.</p>
+
+ <p>Also, StarNet Communications has graciously
+ provided a free version of their X-Win32
+ product that accepts connections only from
+ localhost: <a href=
+ "http://www.starnet.com/xwin32LX/get_xwin32LX.htm"
+ target="_top">X-Win32 LX</a>, recommended by
+ the maintainer of Interix pkgsrc support.</p>
+ </li>
+
+ <li>
+ <span class="strong"><strong>X-Windows
+ acceleration:</strong></span>
+
+ <p>Because Interix runs in a completely
+ different NT subsystem from Win32 applications,
+ it does not currently support various X11
+ protocol extensions for acceleration (such as
+ MIT-SHM or DGA). Most interactive applications
+ to a local X server will run reasonably fast,
+ but full motion video and other graphics
+ intensive applications may require a
+ faster-than-expected CPU.</p>
+ </li>
+
+ <li>
+ <span class=
+ "strong"><strong>Audio:</strong></span>
+
+ <p>Interix has no native support for audio
+ output. To provide audio support, pkgsrc uses
+ the <span><strong class=
+ "command">esound</strong></span> client/server
+ audio system on Interix. Unlike on most
+ platforms, the <a xmlns=
+ "http://www.w3.org/TR/xhtml1/transitional"
+ href="ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/audio/esound/README.html"
+ target="_top"><code xmlns="" class=
+ "filename">audio/esound</code></a> package does
+ <span class="emphasis"><em>not</em></span>
+ contain the <span><strong class=
+ "command">esound</strong></span> server
+ component. To output audio, the <a xmlns=
+ "http://www.w3.org/TR/xhtml1/transitional"
+ href="ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/emulators/cygwin_esound/README.html"
+ target="_top"><code xmlns="" class=
+ "filename">emulators/cygwin_esound</code></a>
+ package must also be installed.</p>
+ </li>
+
+ <li>
+ <span class="strong"><strong>CD/DVDs, USB, and
+ SCSI:</strong></span>
+
+ <p>Direct device access is not currently
+ supported in Interix, so it is not currently
+ possible to access CD/DVD drives, USB devices,
+ or SCSI devices through non-filesystem means.
+ Among other things, this makes it impossible to
+ use Interix directly for CD/DVD burning.</p>
+ </li>
+
+ <li>
+ <span class="strong"><strong>Tape
+ drives:</strong></span>
+
+ <p>Due to the same limitations as for CD-ROMs
+ and SCSI devices, tape drives are also not
+ directly accessible in Interix. However,
+ support is in work to make tape drive access
+ possible by using Cygwin as a bridge (similarly
+ to audio bridged via Cygwin's esound
+ server).</p>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <div class="sect3" lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h4 class="title"><a name=
+ "platform.interix-knownissues"></a>3.2.3.5.&nbsp;Known
+ issues for pkgsrc on Interix</h4>
+ </div>
+ </div>
+ </div>
+
+ <p>It is not necessary, in general, to have a "root"
+ user on the Windows system; any member of the local
+ Administrators group will suffice. However, some
+ packages currently assume that the user named "root"
+ is the privileged user. To accommodate these, you may
+ create such a user; make sure it is in the local
+ group Administrators (or your language
+ equivalent).</p>
+
+ <p>"pkg_add" creates directories of mode 0755, not
+ 0775, in $PKG_DBDIR. For the time being, install
+ packages as the local Administrator (or your language
+ equivalent), or run the following command after
+ installing a package to work around the issue:</p>
+ <pre class="screen">
+<code class="prompt">#</code> <strong class=
+"userinput"><code>chmod -R g+w $PKG_DBDIR</code></strong>
+</pre>
+ </div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="irix" id=
+ <h3 class="title"><a name=
"irix"></a>3.2.4.&nbsp;IRIX</h3>
</div>
</div>
@@ -2363,11 +2508,11 @@ alink="#0000FF">
pass the '--preserve-path' flag.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="linux" id=
+ <h3 class="title"><a name=
"linux"></a>3.2.5.&nbsp;Linux</h3>
</div>
</div>
@@ -2444,11 +2589,11 @@ alink="#0000FF">
libtool.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="openbsd" id=
+ <h3 class="title"><a name=
"openbsd"></a>3.2.6.&nbsp;OpenBSD</h3>
</div>
</div>
@@ -2517,11 +2662,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="solaris" id=
+ <h3 class="title"><a name=
"solaris"></a>3.2.7.&nbsp;Solaris</h3>
</div>
</div>
@@ -2562,13 +2707,13 @@ alink="#0000FF">
<span class="emphasis"><em>not</em></span>
supported.</p>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="solaris-gcc-note"
- id="solaris-gcc-note"></a>3.2.7.1.&nbsp;If you
- are using gcc</h4>
+ <h4 class="title"><a name=
+ "solaris-gcc-note"></a>3.2.7.1.&nbsp;If you are
+ using gcc</h4>
</div>
</div>
</div>
@@ -2593,12 +2738,11 @@ alink="#0000FF">
"_top">http://www.sun.com/bigadmin/common/freewareSearch.html</a>.</p>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" 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>
@@ -2661,11 +2805,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="using" id=
+ <h2 class="title"><a name=
"using"></a>Chapter&nbsp;4.&nbsp;Using pkgsrc</h2>
</div>
</div>
@@ -2719,12 +2863,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -2735,12 +2878,11 @@ alink="#0000FF">
install a precompiled binary package that someone else
already prepared for your type of machine.</p>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -2777,12 +2919,11 @@ alink="#0000FF">
documentation for the exact location.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -2852,11 +2993,11 @@ alink="#0000FF">
just installed program.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="a-word-of-warning" id=
+ <h3 class="title"><a name=
"a-word-of-warning"></a>4.1.3.&nbsp;A word of
warning</h3>
</div>
@@ -2875,12 +3016,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -2893,11 +3033,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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="requirements" id=
+ <h3 class="title"><a name=
"requirements"></a>4.2.1.&nbsp;Requirements</h3>
</div>
</div>
@@ -2913,12 +3053,12 @@ alink="#0000FF">
required, too.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="fetching-distfiles"
- id="fetching-distfiles"></a>4.2.2.&nbsp;Fetching
+ <h3 class="title"><a name=
+ "fetching-distfiles"></a>4.2.2.&nbsp;Fetching
distfiles</h3>
</div>
</div>
@@ -2956,12 +3096,11 @@ alink="#0000FF">
"filename">/usr/pkgsrc/distfiles</code>.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -3009,8 +3148,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 B, <i>Build
- logs</i></a>.</p>
+ "Appendix&nbsp;B.&nbsp;Build logs">Appendix&nbsp;B,
+ <i>Build logs</i></a>.</p>
<p>The program is installed under the default root of
the packages tree - <code xmlns=
@@ -3148,12 +3287,11 @@ alink="#0000FF">
"varname">LOCALBASE</code>.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -3239,11 +3377,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="configuring" id=
+ <h2 class="title"><a name=
"configuring"></a>Chapter&nbsp;5.&nbsp;Configuring
pkgsrc</h2>
</div>
@@ -3272,12 +3410,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -3359,12 +3496,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -3436,12 +3572,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -3488,12 +3623,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -3590,11 +3724,11 @@ alink="#0000FF">
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="binary" id=
+ <h2 class="title"><a name=
"binary"></a>Chapter&nbsp;6.&nbsp;Creating binary
packages</h2>
</div>
@@ -3665,12 +3799,11 @@ alink="#0000FF">
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -3708,7 +3841,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 B.2,
+ "B.2.&nbsp;Packaging figlet">Section&nbsp;B.2,
&#8220;Packaging figlet&#8221;</a> for a continuation of
the above <a xmlns=
"http://www.w3.org/TR/xhtml1/transitional" href=
@@ -3717,17 +3850,16 @@ alink="#0000FF">
"filename">misc/figlet</code></a> example.</p>
<p>See <a href="#submit" title=
- "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>
+ "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>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -3739,13 +3871,13 @@ alink="#0000FF">
&#8220;Other helpful targets&#8221;</a>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "bulkbuild" id="bulkbuild"></a>6.3.&nbsp;Doing a
- bulk build of all packages</h2>
+ "bulkbuild"></a>6.3.&nbsp;Doing a bulk build of all
+ packages</h2>
</div>
</div>
</div>
@@ -3764,22 +3896,21 @@ alink="#0000FF">
sure to not actually compile on NFS storage, as this
slows things down a lot.</p>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="binary.configuration"
- id=
+ <h3 class="title"><a name=
"binary.configuration"></a>6.3.1.&nbsp;Configuration</h3>
</div>
</div>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="binary.mk.conf" id=
+ <h4 class="title"><a name=
"binary.mk.conf"></a>6.3.1.1.&nbsp;/etc/mk.conf</h4>
</div>
</div>
@@ -3808,11 +3939,11 @@ alink="#0000FF">
</pre>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="build.conf" id=
+ <h4 class="title"><a name=
"build.conf"></a>6.3.1.2.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional"
class="filename">build.conf</code></h4>
@@ -3839,11 +3970,11 @@ alink="#0000FF">
update</strong></span>.</p>
</div>
- <div class="sect3" lang="en" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="pre-build.local" id=
+ <h4 class="title"><a name=
"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>
@@ -3879,12 +4010,11 @@ alink="#0000FF">
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -3926,11 +4056,11 @@ alink="#0000FF">
warned! :)</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="operation" id=
+ <h3 class="title"><a name=
"operation"></a>6.3.3.&nbsp;Operation</h3>
</div>
</div>
@@ -3975,11 +4105,11 @@ alink="#0000FF">
class="filename">build.conf</code> file.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="what-it-does" id=
+ <h3 class="title"><a name=
"what-it-does"></a>6.3.4.&nbsp;What it does</h3>
</div>
</div>
@@ -4039,12 +4169,11 @@ alink="#0000FF">
these broken package builds later.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -4083,13 +4212,13 @@ alink="#0000FF">
recompiling.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <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>
+ <h3 class="title"><a name=
+ "setting-up-a-sandbox"></a>6.3.6.&nbsp;Setting up
+ a sandbox for chrooted builds</h3>
</div>
</div>
</div>
@@ -4300,12 +4429,11 @@ alink="#0000FF">
(wherever that points/mounts to/from).</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -4355,11 +4483,11 @@ alink="#0000FF">
needed.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="bulk-upload" id=
+ <h3 class="title"><a name=
"bulk-upload"></a>6.3.8.&nbsp;Uploading results
of a bulk build</h3>
</div>
@@ -4505,12 +4633,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -4531,11 +4658,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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="cdpack-example" id=
+ <h3 class="title"><a name=
"cdpack-example"></a>6.4.1.&nbsp;Example of
cdpack</h3>
</div>
@@ -4601,11 +4728,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="faq" id=
+ <h2 class="title"><a name=
"faq"></a>Chapter&nbsp;7.&nbsp;Frequently Asked
Questions</h2>
</div>
@@ -4684,12 +4811,11 @@ 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" xml:lang="en">
+ <div class="sect1" 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>
@@ -4744,12 +4870,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"_top">http://mail-index.NetBSD.org/</a>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -4762,12 +4887,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">pkgsrc/mk/buildlink3/PKGVIEWS_UG</code>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5022,12 +5146,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5065,12 +5188,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
finer tuning of the tree layout.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5109,12 +5231,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5135,12 +5256,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5161,12 +5281,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5187,13 +5306,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "passive-ftp" id="passive-ftp"></a>7.9.&nbsp;How do
- I tell <span><strong class="command">make
+ "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>
@@ -5238,12 +5357,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
active transfers.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5314,12 +5432,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5351,12 +5468,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">/etc/mk.conf</code>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5385,12 +5501,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
-r</strong></span>).</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5421,13 +5536,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "faq.conf" id="faq.conf"></a>7.14.&nbsp;How do I
- change the location of configuration files?</h2>
+ "faq.conf"></a>7.14.&nbsp;How do I change the
+ location of configuration files?</h2>
</div>
</div>
</div>
@@ -5465,12 +5580,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
rebuild and reinstall any affected packages.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -5536,11 +5650,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="part" lang="en" xml:lang="en">
+ <div class="part" lang="en">
<div class="titlepage">
<div>
<div>
- <h1 class="title"><a name="developers-guide" id=
+ <h1 class="title"><a name=
"developers-guide"></a>Part&nbsp;II.&nbsp;The pkgsrc
developer's guide</h1>
</div>
@@ -5703,8 +5817,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>
@@ -6069,11 +6183,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="components" id=
+ <h2 class="title"><a name=
"components"></a>Chapter&nbsp;8.&nbsp;Package
components - files, directories and contents</h2>
</div>
@@ -6119,12 +6233,11 @@ 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" xml:lang="en">
+ <div class="sect1" 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>
@@ -6440,12 +6553,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -6494,12 +6606,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
information is not lost.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -6603,12 +6714,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
after pkgsrc patches are applied</em></span>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -6648,12 +6758,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -6737,12 +6846,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "work-dir" id="work-dir"></a>8.6.&nbsp;<code xmlns=
+ "work-dir"></a>8.6.&nbsp;<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">work*</code></h2>
</div>
@@ -6765,12 +6874,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<code class="varname">OBJMACHINE</code> is set.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -6791,11 +6899,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="makefile" id=
+ <h2 class="title"><a name=
"makefile"></a>Chapter&nbsp;9.&nbsp;Programming in
<code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -6880,12 +6988,11 @@ 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" xml:lang="en">
+ <div class="sect1" 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>
@@ -6989,12 +7096,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</ul>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -7030,12 +7136,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7046,11 +7151,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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="adding-to-list" id=
+ <h3 class="title"><a name=
"adding-to-list"></a>9.2.1.&nbsp;Adding things to
a list</h3>
</div>
@@ -7076,12 +7181,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
are correctly interpreted in both lists.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -7102,12 +7206,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">""</code> is explained below.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -7165,11 +7268,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
there is no example for it.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="quoting-guideline" id=
+ <h3 class="title"><a name=
"quoting-guideline"></a>9.2.4.&nbsp;Quoting
guideline</h3>
</div>
@@ -7290,12 +7393,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -7322,11 +7424,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="plist" id=
+ <h2 class="title"><a name=
"plist"></a>Chapter&nbsp;10.&nbsp;PLIST issues</h2>
</div>
</div>
@@ -7387,12 +7489,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" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "rcs-id" id="rcs-id"></a>10.1.&nbsp;RCS ID</h2>
+ "rcs-id"></a>10.1.&nbsp;RCS ID</h2>
</div>
</div>
</div>
@@ -7405,12 +7507,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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=
@@ -7428,12 +7529,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
information on this target.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7477,12 +7577,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7607,12 +7706,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
&#8220;<span class="quote">somevalue</span>&#8221;.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7637,12 +7735,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">PLIST</code> itself.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7662,12 +7759,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
things is important.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7714,12 +7810,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -7807,11 +7902,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="buildlink" id=
+ <h2 class="title"><a name=
"buildlink"></a>Chapter&nbsp;11.&nbsp;Buildlink
methodology</h2>
</div>
@@ -7910,12 +8005,11 @@ 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" xml:lang="en">
+ <div class="sect1" 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>
@@ -8084,12 +8178,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
complete description of how to use them properly.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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=
@@ -8133,12 +8226,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"prompt">%</code> createbuildlink &gt;buildlink3.mk</code></strong>
</pre>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="anatomy-of-bl3" id=
- "anatomy-of-bl3"></a>11.2.1. Anatomy of a
+ <h3 class="title"><a name=
+ "anatomy-of-bl3"></a>11.2.1.&nbsp;Anatomy of a
buildlink3.mk file</h3>
</div>
</div>
@@ -8255,9 +8348,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
@@ -8394,16 +8487,15 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
included.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
- "updating-buildlink-depends" id=
- "updating-buildlink-depends"></a>11.2.2. Updating
+ "updating-buildlink-depends"></a>11.2.2.&nbsp;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>
@@ -8454,21 +8546,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
- 15.1.4, &#8220;Handling dependencies&#8221;</a> for
- more information about dependencies on other packages,
+ 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,
including the <code class=
"varname">BUILDLINK_RECOMMENDED</code> and <code class=
"varname">RECOMMENDED</code> definitions.</p>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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=
@@ -8523,12 +8615,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</ol>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="anatomy-of-builtin.mk"
- id=
+ <h3 class="title"><a name=
"anatomy-of-builtin.mk"></a>11.3.1.&nbsp;Anatomy
of a <code xmlns=
"http://www.w3.org/TR/xhtml1/transitional" class=
@@ -8655,12 +8746,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"replaceable"><code>pkg</code></em></code>).</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -8704,11 +8794,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="pkginstall" id=
+ <h2 class="title"><a name=
"pkginstall"></a>Chapter&nbsp;12.&nbsp;The pkginstall
framework</h2>
</div>
@@ -8844,14 +8934,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" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "files-and-dirs-outside-prefix" id=
- "files-and-dirs-outside-prefix"></a>12.1. Files and
- directories outside the installation prefix</h2>
+ "files-and-dirs-outside-prefix"></a>12.1.&nbsp;Files
+ and directories outside the installation
+ prefix</h2>
</div>
</div>
</div>
@@ -8884,12 +8974,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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="dirs-outside-prefix"
- id="dirs-outside-prefix"></a>12.1.1. Directory
+ <h3 class="title"><a name=
+ "dirs-outside-prefix"></a>12.1.1.&nbsp;Directory
manipulation</h3>
</div>
</div>
@@ -8934,12 +9024,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="files-outside-prefix"
- id="files-outside-prefix"></a>12.1.2. File
+ <h3 class="title"><a name=
+ "files-outside-prefix"></a>12.1.2.&nbsp;File
manipulation</h3>
</div>
</div>
@@ -9001,13 +9091,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "conf-files" id="conf-files"></a>12.2.
- Configuration files</h2>
+ "conf-files"></a>12.2.&nbsp;Configuration
+ files</h2>
</div>
</div>
</div>
@@ -9026,12 +9116,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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="conf-files-sysconfdir"
- id="conf-files-sysconfdir"></a>12.2.1. How
+ <h3 class="title"><a name=
+ "conf-files-sysconfdir"></a>12.2.1.&nbsp;How
<code class="varname">PKG_SYSCONFDIR</code> is
set</h3>
</div>
@@ -9151,18 +9241,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 12.1.1,
+ "12.1.1.&nbsp;Directory manipulation">Section&nbsp;12.1.1,
&#8220;Directory manipulation&#8221;</a> what this
means.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="conf-files-configure"
- id="conf-files-configure"></a>12.2.2. Telling the
- software where configuration files are</h3>
+ <h3 class="title"><a name=
+ "conf-files-configure"></a>12.2.2.&nbsp;Telling
+ the software where configuration files are</h3>
</div>
</div>
</div>
@@ -9185,12 +9275,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
unfortunately).</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="conf-files-patching"
- id="conf-files-patching"></a>12.2.3. Patching
+ <h3 class="title"><a name=
+ "conf-files-patching"></a>12.2.3.&nbsp;Patching
installations</h3>
</div>
</div>
@@ -9227,7 +9317,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 12.1.2,
+ "12.1.2.&nbsp;File manipulation">Section&nbsp;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=
@@ -9245,12 +9335,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
outside it.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="conf-files-disable"
- id="conf-files-disable"></a>12.2.4. Disabling
+ <h3 class="title"><a name=
+ "conf-files-disable"></a>12.2.4.&nbsp;Disabling
handling of configuration files</h3>
</div>
</div>
@@ -9263,13 +9353,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "rcd-scripts" id="rcd-scripts"></a>12.3. System
- startup scripts</h2>
+ "rcd-scripts"></a>12.3.&nbsp;System startup
+ scripts</h2>
</div>
</div>
</div>
@@ -9280,8 +9370,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 12.1, &#8220;Files and directories outside the
- installation prefix&#8221;</a> apply, and the same
+ Section&nbsp;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>
@@ -9350,12 +9440,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</ol>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="rcd-scripts-disable"
- id="rcd-scripts-disable"></a>12.3.1. Disabling
+ <h3 class="title"><a name=
+ "rcd-scripts-disable"></a>12.3.1.&nbsp;Disabling
handling of system startup scripts</h3>
</div>
</div>
@@ -9372,13 +9462,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "users-and-groups" id="users-and-groups"></a>12.4.
- System users and groups</h2>
+ "users-and-groups"></a>12.4.&nbsp;System users and
+ groups</h2>
</div>
</div>
</div>
@@ -9422,12 +9512,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
numeric identifier is optional.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "shells" id="shells"></a>12.5. System shells</h2>
+ "shells"></a>12.5.&nbsp;System shells</h2>
</div>
</div>
</div>
@@ -9455,13 +9545,13 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
PKG_SHELL= ${PREFIX}/bin/zsh
</pre>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="shells-disable" id=
- "shells-disable"></a>12.5.1. Disabling handling
- of configuration files</h3>
+ <h3 class="title"><a name=
+ "shells-disable"></a>12.5.1.&nbsp;Disabling
+ handling of configuration files</h3>
</div>
</div>
</div>
@@ -9475,11 +9565,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="options" id=
+ <h2 class="title"><a name=
"options"></a>Chapter&nbsp;13.&nbsp;Options
handling</h2>
</div>
@@ -9515,12 +9605,11 @@ 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" xml:lang="en">
+ <div class="sect1" 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>
@@ -9535,12 +9624,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
class="filename">/etc/mk.conf</code>.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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=
@@ -9680,9 +9768,8 @@ 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
@@ -9696,10 +9783,9 @@ 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
@@ -9764,12 +9850,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -9806,11 +9891,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="build" id=
+ <h2 class="title"><a name=
"build"></a>Chapter&nbsp;14.&nbsp;The build
process</h2>
</div>
@@ -9846,12 +9931,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"http://www.w3.org/TR/xhtml1/transitional" class=
"filename">pkgsrc/mk/bsd.pkg.mk</code>.</p>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.prefix" id=
"build.prefix"></a>14.1.&nbsp;Program location</h2>
</div>
</div>
@@ -10032,12 +10116,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "main-targets" id=
"main-targets"></a>14.2.&nbsp;Main targets</h2>
</div>
</div>
@@ -10309,12 +10392,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "build.helpful-targets" id=
"build.helpful-targets"></a>14.3.&nbsp;Other
helpful targets</h2>
</div>
@@ -10850,11 +10932,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="fixes" id=
+ <h2 class="title"><a name=
"fixes"></a>Chapter&nbsp;15.&nbsp;Notes on fixes for
packages</h2>
</div>
@@ -11046,24 +11128,22 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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" xml:lang="en">
+ <div class="sect2" 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>
@@ -11127,12 +11207,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
interested in optimization for the current CPU.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -11148,12 +11227,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
package).</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="restricted-packages"
- id=
+ <h3 class="title"><a name=
"restricted-packages"></a>15.1.3.&nbsp;Restricted
packages</h3>
</div>
@@ -11228,11 +11306,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
binary packages!</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="dependencies" id=
+ <h3 class="title"><a name=
"dependencies"></a>15.1.4.&nbsp;Handling
dependencies</h3>
</div>
@@ -11406,8 +11484,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 15.1.8, &#8220;Handling packages with
- security problems&#8221;</a> for more
+ Section&nbsp;15.1.8, &#8220;Handling packages
+ with security problems&#8221;</a> for more
information.</p>
</li>
@@ -11483,11 +11561,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">devel/gettext-m4</code></a> package.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="conflicts" id=
+ <h3 class="title"><a name=
"conflicts"></a>15.1.5.&nbsp;Handling conflicts
with other packages</h3>
</div>
@@ -11535,12 +11613,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"quote">Xaw3d-1.3</span>&#8221;.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="not-building-packages"
- id=
+ <h3 class="title"><a name=
"not-building-packages"></a>15.1.6.&nbsp;Packages
that cannot or should not be built</h3>
</div>
@@ -11569,12 +11646,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
message.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="undeletable-packages"
- id=
+ <h3 class="title"><a name=
"undeletable-packages"></a>15.1.7.&nbsp;Packages
which should not be deleted, once installed</h3>
</div>
@@ -11595,11 +11671,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
is used.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="security-handling" id=
+ <h3 class="title"><a name=
"security-handling"></a>15.1.8.&nbsp;Handling
packages with security problems</h3>
</div>
@@ -11634,11 +11710,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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="compiler-bugs" id=
+ <h3 class="title"><a name=
"compiler-bugs"></a>15.1.9.&nbsp;How to handle
compiler bugs</h3>
</div>
@@ -11661,12 +11737,12 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
number of examples!</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="bumping-pkgrevision"
- id="bumping-pkgrevision"></a>15.1.10.&nbsp;How to
+ <h3 class="title"><a name=
+ "bumping-pkgrevision"></a>15.1.10.&nbsp;How to
handle incrementing versions when fixing an
existing package</h3>
</div>
@@ -11702,12 +11778,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -11720,11 +11795,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" xml:lang="en">
+ <div class="sect3" lang="en">
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a name="install-scripts" id=
+ <h4 class="title"><a name=
"install-scripts"></a>15.1.11.1.&nbsp;${INSTALL},
${INSTALL_DATA_DIR}, ...</h4>
</div>
@@ -11745,23 +11820,22 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="no-plain-download" id=
+ <h3 class="title"><a name=
"no-plain-download"></a>15.2.1.&nbsp;Packages
whose distfiles aren't available for plain
downloading</h3>
@@ -11831,12 +11905,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
with them.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -11874,23 +11947,22 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="fixes.libtool" id=
+ <h3 class="title"><a name=
"fixes.libtool"></a>15.3.1.&nbsp;Shared libraries
- libtool</h3>
</div>
@@ -12115,11 +12187,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="using-libtool" id=
+ <h3 class="title"><a name=
"using-libtool"></a>15.3.2.&nbsp;Using libtool on
GNU packages that already support libtool</h3>
</div>
@@ -12198,11 +12270,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="autoconf-automake" id=
+ <h3 class="title"><a name=
"autoconf-automake"></a>15.3.3.&nbsp;GNU
Autoconf/Automake</h3>
</div>
@@ -12255,23 +12327,22 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "building-considerations" id=
"building-considerations"></a>15.4.&nbsp;Building
considerations</h2>
</div>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="cpp-defines" id=
+ <h3 class="title"><a name=
"cpp-defines"></a>15.4.1.&nbsp;CPP defines</h3>
</div>
</div>
@@ -12306,11 +12377,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
present in other 4.4-lite-derived BSDs.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="cpp-list" id=
+ <h3 class="title"><a name=
"cpp-list"></a>15.4.2.&nbsp;Getting a list of CPP
defines</h3>
</div>
@@ -12327,23 +12398,22 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="user-interaction" id=
+ <h3 class="title"><a name=
"user-interaction"></a>15.5.1.&nbsp;User
interaction</h3>
</div>
@@ -12390,11 +12460,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="handling-licenses" id=
+ <h3 class="title"><a name=
"handling-licenses"></a>15.5.2.&nbsp;Handling
licenses</h3>
</div>
@@ -12489,12 +12559,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
pkgsrc that a fee has been paid.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -12529,11 +12598,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
these correctly.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="perl-scripts" id=
+ <h3 class="title"><a name=
"perl-scripts"></a>15.5.4.&nbsp;Packages
containing perl scripts</h3>
</div>
@@ -12548,11 +12617,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"varname">WRKSRC</code>, that you want adjusted.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="hardcoded-paths" id=
+ <h3 class="title"><a name=
"hardcoded-paths"></a>15.5.5.&nbsp;Packages with
hardcoded paths to other interpreters</h3>
</div>
@@ -12577,11 +12646,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="perl-modules" id=
+ <h3 class="title"><a name=
"perl-modules"></a>15.5.6.&nbsp;Packages
installing perl modules</h3>
</div>
@@ -12626,11 +12695,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">PLIST</code>.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="faq.info-files" id=
+ <h3 class="title"><a name=
"faq.info-files"></a>15.5.7.&nbsp;Packages
installing info files</h3>
</div>
@@ -12730,11 +12799,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
error.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="gconf2-data-files" id=
+ <h3 class="title"><a name=
"gconf2-data-files"></a>15.5.8.&nbsp;Packages
installing GConf2 data files</h3>
</div>
@@ -12819,12 +12888,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
<h3 class="title"><a name=
- "scrollkeeper-data-files" id=
"scrollkeeper-data-files"></a>15.5.9.&nbsp;Packages
installing scrollkeeper data files</h3>
</div>
@@ -12870,11 +12938,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="x11-fonts" id=
+ <h3 class="title"><a name=
"x11-fonts"></a>15.5.10.&nbsp;Packages installing
X11 fonts</h3>
</div>
@@ -12911,11 +12979,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
them.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="gtk2-modules" id=
+ <h3 class="title"><a name=
"gtk2-modules"></a>15.5.11.&nbsp;Packages
installing GTK2 modules</h3>
</div>
@@ -12985,11 +13053,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="sgml-xml-data" id=
+ <h3 class="title"><a name=
"sgml-xml-data"></a>15.5.12.&nbsp;Packages
installing SGML or XML data</h3>
</div>
@@ -13049,11 +13117,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="mime-database" id=
+ <h3 class="title"><a name=
"mime-database"></a>15.5.13.&nbsp;Packages
installing extensions to the MIME database</h3>
</div>
@@ -13116,11 +13184,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="intltool" id=
+ <h3 class="title"><a name=
"intltool"></a>15.5.14.&nbsp;Packages using
intltool</h3>
</div>
@@ -13141,11 +13209,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
appeared since it was released.</p>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="startup-scripts" id=
+ <h3 class="title"><a name=
"startup-scripts"></a>15.5.15.&nbsp;Packages
installing startup scripts</h3>
</div>
@@ -13166,12 +13234,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13191,11 +13258,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="debug" id=
+ <h2 class="title"><a name=
"debug"></a>Chapter&nbsp;16.&nbsp;Debugging</h2>
</div>
</div>
@@ -13407,11 +13474,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="chapter" lang="en" xml:lang="en">
+ <div class="chapter" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="submit" id=
+ <h2 class="title"><a name=
"submit"></a>Chapter&nbsp;17.&nbsp;Submitting and
Committing</h2>
</div>
@@ -13443,12 +13510,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13513,12 +13579,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13567,12 +13632,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
"filename">pkgsrc/doc/CHANGES</code>!</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13617,12 +13681,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
consistent tag.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13669,12 +13732,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
preferred above new and possibly untested features.</p>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13763,11 +13825,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</div>
</div>
- <div class="appendix" lang="en" xml:lang="en">
+ <div class="appendix" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="examples" id=
+ <h2 class="title"><a name=
"examples"></a>Appendix&nbsp;A.&nbsp;A simple example
package: bison</h2>
</div>
@@ -13812,22 +13874,21 @@ 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" xml:lang="en">
+ <div class="sect1" 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" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="example-Makefile" id=
+ <h3 class="title"><a name=
"example-Makefile"></a>A.1.1.&nbsp;Makefile</h3>
</div>
</div>
@@ -13851,11 +13912,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="example-descr" id=
+ <h3 class="title"><a name=
"example-descr"></a>A.1.2.&nbsp;DESCR</h3>
</div>
</div>
@@ -13868,11 +13929,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a name="example-plist" id=
+ <h3 class="title"><a name=
"example-plist"></a>A.1.3.&nbsp;PLIST</h3>
</div>
</div>
@@ -13886,12 +13947,11 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
</pre>
</div>
- <div class="sect2" lang="en" xml:lang="en">
+ <div class="sect2" 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>
@@ -13922,12 +13982,11 @@ looks fine.
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -13955,8 +14014,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 8, <i>Package components - files, directories and
- contents</i></a>) then continue with fetching the
+ Chapter&nbsp;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=
@@ -14081,11 +14140,11 @@ Creating gzip'd tar ball in '/u/pkgsrc/lang/bison/bison-1.25.tgz'
</div>
</div>
- <div class="appendix" lang="en" xml:lang="en">
+ <div class="appendix" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="logs" id=
+ <h2 class="title"><a name=
"logs"></a>Appendix&nbsp;B.&nbsp;Build logs</h2>
</div>
</div>
@@ -14103,12 +14162,11 @@ Creating gzip'd tar ball in '/u/pkgsrc/lang/bison/bison-1.25.tgz'
</dl>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -14207,12 +14265,11 @@ cp figlet.6 /usr/pkg/man/man6
</pre>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>
@@ -14231,11 +14288,11 @@ Registering depends:.
</div>
</div>
- <div class="appendix" lang="en" xml:lang="en">
+ <div class="appendix" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="ftp-layout" id=
+ <h2 class="title"><a name=
"ftp-layout"></a>Appendix&nbsp;C.&nbsp;Layout of the
FTP server's package archive</h2>
</div>
@@ -14310,8 +14367,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
- 6.3, &#8220;Doing a bulk build of all
+ "6.3.&nbsp;Doing a bulk build of all packages">Section&nbsp;6.3,
+ &#8220;Doing a bulk build of all
packages&#8221;</a></p>
</li>
@@ -14334,11 +14391,11 @@ Registering depends:.
</div>
</div>
- <div class="appendix" lang="en" xml:lang="en">
+ <div class="appendix" lang="en">
<div class="titlepage">
<div>
<div>
- <h2 class="title"><a name="editing" id=
+ <h2 class="title"><a name=
"editing"></a>Appendix&nbsp;D.&nbsp;Editing guidelines
for the pkgsrc guide</h2>
</div>
@@ -14360,12 +14417,12 @@ Registering depends:.
<p>This section contains information on editing the pkgsrc
guide itself.</p>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "targets" id="targets"></a>D.1.&nbsp;Targets</h2>
+ "targets"></a>D.1.&nbsp;Targets</h2>
</div>
</div>
</div>
@@ -14417,12 +14474,11 @@ Registering depends:.
</div>
</div>
- <div class="sect1" lang="en" xml:lang="en">
+ <div class="sect1" 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>