summaryrefslogtreecommitdiff
path: root/doc/pkgsrc.html
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-06-08 14:02:18 +0000
committerdillo <dillo@pkgsrc.org>2005-06-08 14:02:18 +0000
commit58cfeabf9aef7cf83d6c4b654c92cdfb57ef324f (patch)
tree35ce6650f7e749ed34d3f58610cd1a498de623da /doc/pkgsrc.html
parentbaa0eafe308a9b9d06a81594b0ebc94d06ba4aec (diff)
downloadpkgsrc-58cfeabf9aef7cf83d6c4b654c92cdfb57ef324f.tar.gz
update (user documentation of options framework)
Diffstat (limited to 'doc/pkgsrc.html')
-rw-r--r--doc/pkgsrc.html1264
1 files changed, 704 insertions, 560 deletions
diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html
index e2647e0e6dc..d5c4ac75461 100644
--- a/doc/pkgsrc.html
+++ b/doc/pkgsrc.html
@@ -221,140 +221,151 @@ alink="#0000FF">
</dl>
</dd>
- <dt><span class="chapter"><a href="#binary">5. Creating
+ <dt><span class="chapter"><a href="#configuring">5.
+ Configuring pkgsrc</a></span></dt>
+
+ <dd>
+ <dl>
+ <dt><span class="sect1"><a href=
+ "#selecting-options">5.1. Selecting build
+ options</a></span></dt>
+ </dl>
+ </dd>
+
+ <dt><span class="chapter"><a href="#binary">6. Creating
binary packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#building-a-single-binary-package">5.1. Building a
+ "#building-a-single-binary-package">6.1. Building a
single binary package</a></span></dt>
<dt><span class="sect1"><a href=
- "#settings-for-creationg-of-binary-packages">5.2.
+ "#settings-for-creationg-of-binary-packages">6.2.
Settings for creation of binary
packages</a></span></dt>
- <dt><span class="sect1"><a href="#bulkbuild">5.3.
+ <dt><span class="sect1"><a href="#bulkbuild">6.3.
Doing a bulk build of all packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#binary.configuration">5.3.1.
+ "#binary.configuration">6.3.1.
Configuration</a></span></dt>
<dt><span class="sect2"><a href=
- "#other-environmental-considerations">5.3.2.
+ "#other-environmental-considerations">6.3.2.
Other environmental
considerations</a></span></dt>
<dt><span class="sect2"><a href=
- "#operation">5.3.3. Operation</a></span></dt>
+ "#operation">6.3.3. Operation</a></span></dt>
<dt><span class="sect2"><a href=
- "#what-it-does">5.3.4. What it
+ "#what-it-does">6.3.4. What it
does</a></span></dt>
<dt><span class="sect2"><a href=
- "#disk-space-requirements">5.3.5. Disk space
+ "#disk-space-requirements">6.3.5. Disk space
requirements</a></span></dt>
<dt><span class="sect2"><a href=
- "#setting-up-a-sandbox">5.3.6. Setting up a
+ "#setting-up-a-sandbox">6.3.6. Setting up a
sandbox for chroot'ed builds</a></span></dt>
<dt><span class="sect2"><a href=
- "#building-a-partial-set">5.3.7. Building a
+ "#building-a-partial-set">6.3.7. Building a
partial set of packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#bulk-upload">5.3.8. Uploading results of a
+ "#bulk-upload">6.3.8. Uploading results of a
bulk build</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#creating-cdroms">5.4. Creating a multiple CD-ROM
+ "#creating-cdroms">6.4. Creating a multiple CD-ROM
packages collection</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#cdpack-example">5.4.1. Example of
+ "#cdpack-example">6.4.1. Example of
cdpack</a></span></dt>
</dl>
</dd>
</dl>
</dd>
- <dt><span class="chapter"><a href="#faq">6. Frequently
+ <dt><span class="chapter"><a href="#faq">7. Frequently
Asked Questions</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#mailing-list-pointers">6.1. Are there any mailing
+ "#mailing-list-pointers">7.1. Are there any mailing
lists for pkg-related discussion?</a></span></dt>
<dt><span class="sect1"><a href=
- "#pkgviews-docs">6.2. Where's the pkgviews
+ "#pkgviews-docs">7.2. Where's the pkgviews
documentation?</a></span></dt>
<dt><span class="sect1"><a href=
- "#faq-pkgtools">6.3. Utilities for package
+ "#faq-pkgtools">7.3. Utilities for package
management (pkgtools)</a></span></dt>
<dt><span class="sect1"><a href=
- "#non-root-pkgsrc">6.4. How to use pkgsrc as
+ "#non-root-pkgsrc">7.4. How to use pkgsrc as
non-root</a></span></dt>
<dt><span class="sect1"><a href=
- "#resume-transfers">6.5. How to resume transfers
+ "#resume-transfers">7.5. How to resume transfers
when fetching distfiles?</a></span></dt>
<dt><span class="sect1"><a href=
- "#XFree86-from-pkgsrc">6.6. How can I install/use
+ "#XFree86-from-pkgsrc">7.6. How can I install/use
XFree86 from pkgsrc?</a></span></dt>
<dt><span class="sect1"><a href=
- "#x.org-from-pkgsrc">6.7. How can I install/use
+ "#x.org-from-pkgsrc">7.7. How can I install/use
X.org from pkgsrc?</a></span></dt>
<dt><span class="sect1"><a href=
- "#fetch-behind-firewall">6.8. How to fetch files
+ "#fetch-behind-firewall">7.8. How to fetch files
from behind a firewall</a></span></dt>
- <dt><span class="sect1"><a href="#passive-ftp">6.9.
+ <dt><span class="sect1"><a href="#passive-ftp">7.9.
How do I tell <span><strong class="command">make
fetch</strong></span> to do passive
FTP?</a></span></dt>
<dt><span class="sect1"><a href=
- "#fetching-all-distfiles">6.10. How to fetch all
+ "#fetching-all-distfiles">7.10. How to fetch all
distfiles at once</a></span></dt>
<dt><span class="sect1"><a href=
- "#tmac.andoc-missing">6.11. What does
+ "#tmac.andoc-missing">7.11. What does
&#8220;<span class="quote">Don't know how to make
/usr/share/tmac/tmac.andoc</span>&#8221;
mean?</a></span></dt>
<dt><span class="sect1"><a href=
- "#bsd.own.mk-missing">6.12. What does
+ "#bsd.own.mk-missing">7.12. What does
&#8220;<span class="quote">Could not find
bsd.own.mk</span>&#8221; mean?</a></span></dt>
<dt><span class="sect1"><a href=
- "#using-sudo-with-pkgsrc">6.13. Using 'sudo' with
+ "#using-sudo-with-pkgsrc">7.13. Using 'sudo' with
pkgsrc</a></span></dt>
- <dt><span class="sect1"><a href="#faq.conf">6.14.
+ <dt><span class="sect1"><a href="#faq.conf">7.14.
How do I change the location of configuration
files?</a></span></dt>
<dt><span class="sect1"><a href=
- "#audit-packages">6.15. Automated security
+ "#audit-packages">7.15. Automated security
checks</a></span></dt>
</dl>
</dd>
@@ -366,152 +377,152 @@ alink="#0000FF">
<dd>
<dl>
- <dt><span class="chapter"><a href="#components">7.
+ <dt><span class="chapter"><a href="#components">8.
Package components - files, directories and
contents</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#components.Makefile">7.1. <code class=
+ "#components.Makefile">8.1. <code class=
"filename">Makefile</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#components.distinfo">7.2. <code class=
+ "#components.distinfo">8.2. <code class=
"filename">distinfo</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#components.patches">7.3.
+ "#components.patches">8.3.
patches/*</a></span></dt>
<dt><span class="sect1"><a href=
- "#other-mandatory-files">7.4. Other mandatory
+ "#other-mandatory-files">8.4. Other mandatory
files</a></span></dt>
<dt><span class="sect1"><a href=
- "#components.optional">7.5. Optional
+ "#components.optional">8.5. Optional
files</a></span></dt>
- <dt><span class="sect1"><a href="#work-dir">7.6.
+ <dt><span class="sect1"><a href="#work-dir">8.6.
<code class="filename">work*</code></a></span></dt>
- <dt><span class="sect1"><a href="#files-dir">7.7.
+ <dt><span class="sect1"><a href="#files-dir">8.7.
<code class=
"filename">files/*</code></a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#makefile">8.
+ <dt><span class="chapter"><a href="#makefile">9.
Programming in <code class=
"filename">Makefile</code>s</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#makefile.variables">8.1. <code class=
+ "#makefile.variables">9.1. <code class=
"filename">Makefile</code>
variables</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#makefile.variables.names">8.1.1. Naming
+ "#makefile.variables.names">9.1.1. Naming
conventions</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#makefile.code">8.2. Code snippets</a></span></dt>
+ "#makefile.code">9.2. Code snippets</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#adding-to-list">8.2.1. Adding things to a
+ "#adding-to-list">9.2.1. Adding things to a
list</a></span></dt>
<dt><span class="sect2"><a href=
- "#converting-internal-to-external">8.2.2.
+ "#converting-internal-to-external">9.2.2.
Converting an internal list into an external
list</a></span></dt>
<dt><span class="sect2"><a href=
- "#passing-variable-to-shell">8.2.3. Passing
+ "#passing-variable-to-shell">9.2.3. Passing
variables to a shell command</a></span></dt>
<dt><span class="sect2"><a href=
- "#quoting-guideline">8.2.4. Quoting
+ "#quoting-guideline">9.2.4. Quoting
guideline</a></span></dt>
<dt><span class="sect2"><a href=
- "#bsd-make-bug-workaround">8.2.5. Workaround
+ "#bsd-make-bug-workaround">9.2.5. Workaround
for a bug in BSD Make</a></span></dt>
</dl>
</dd>
</dl>
</dd>
- <dt><span class="chapter"><a href="#plist">9. PLIST
+ <dt><span class="chapter"><a href="#plist">10. PLIST
issues</a></span></dt>
<dd>
<dl>
- <dt><span class="sect1"><a href="#rcs-id">9.1. RCS
+ <dt><span class="sect1"><a href="#rcs-id">10.1. RCS
ID</a></span></dt>
<dt><span class="sect1"><a href=
- "#automatic-plist-generation">9.2. Semi-automatic
+ "#automatic-plist-generation">10.2. Semi-automatic
<code class="filename">PLIST</code>
generation</a></span></dt>
- <dt><span class="sect1"><a href="#print-PLIST">9.3.
- Tweaking output of <span><strong class=
- "command">make
+ <dt><span class="sect1"><a href=
+ "#print-PLIST">10.3. Tweaking output of
+ <span><strong class="command">make
print-PLIST</strong></span></a></span></dt>
- <dt><span class="sect1"><a href="#plist.misc">9.4.
+ <dt><span class="sect1"><a href="#plist.misc">10.4.
Variable substitution in PLIST</a></span></dt>
<dt><span class="sect1"><a href=
- "#manpage-compression">9.5.
+ "#manpage-compression">10.5.
Manpage-compression</a></span></dt>
<dt><span class="sect1"><a href=
- "#using-PLIST_SRC">9.6. Changing PLIST source with
+ "#using-PLIST_SRC">10.6. Changing PLIST source with
<code class=
"varname">PLIST_SRC</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#platform-specific-plist">9.7. Platform specific
+ "#platform-specific-plist">10.7. Platform specific
and differing PLISTs</a></span></dt>
<dt><span class="sect1"><a href=
- "#faq.common-dirs">9.8. Sharing directories between
- packages</a></span></dt>
+ "#faq.common-dirs">10.8. Sharing directories
+ between packages</a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#buildlink">10.
+ <dt><span class="chapter"><a href="#buildlink">11.
Buildlink methodology</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#converting-to-buildlink3">10.1. Converting
+ "#converting-to-buildlink3">11.1. Converting
packages to use buildlink3</a></span></dt>
<dt><span class="sect1"><a href=
- "#creating-buildlink3.mk">10.2. Writing
+ "#creating-buildlink3.mk">11.2. Writing
<code class="filename">buildlink3.mk</code>
files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#anatomy-of-bl3">10.2.1. Anatomy of a
+ "#anatomy-of-bl3">11.2.1. Anatomy of a
buildlink3.mk file</a></span></dt>
<dt><span class="sect2"><a href=
- "#updating-buildlink-depends">10.2.2. Updating
+ "#updating-buildlink-depends">11.2.2. Updating
<code class=
"varname">BUILDLINK_DEPENDS.<em class=
"replaceable"><code>pkg</code></em></code> in
@@ -521,18 +532,18 @@ alink="#0000FF">
</dd>
<dt><span class="sect1"><a href=
- "#writing-builtin.mk">10.3. Writing <code class=
+ "#writing-builtin.mk">11.3. Writing <code class=
"filename">builtin.mk</code> files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#anatomy-of-builtin.mk">10.3.1. Anatomy of a
+ "#anatomy-of-builtin.mk">11.3.1. Anatomy of a
<code class="filename">builtin.mk</code>
file</a></span></dt>
<dt><span class="sect2"><a href=
- "#native-or-pkgsrc-preference">10.3.2. Global
+ "#native-or-pkgsrc-preference">11.3.2. Global
preferences for native or pkgsrc
software</a></span></dt>
</dl>
@@ -540,326 +551,326 @@ alink="#0000FF">
</dl>
</dd>
- <dt><span class="chapter"><a href="#pkginstall">11. The
+ <dt><span class="chapter"><a href="#pkginstall">12. The
pkginstall framework</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#files-and-dirs-outside-prefix">11.1. Files and
+ "#files-and-dirs-outside-prefix">12.1. Files and
directories outside the installation
prefix</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#dirs-outside-prefix">11.1.1. Directory
+ "#dirs-outside-prefix">12.1.1. Directory
manipulation</a></span></dt>
<dt><span class="sect2"><a href=
- "#files-outside-prefix">11.1.2. File
+ "#files-outside-prefix">12.1.2. File
manipulation</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#conf-files">11.2.
+ <dt><span class="sect1"><a href="#conf-files">12.2.
Configuration files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#conf-files-sysconfdir">11.2.1. How
+ "#conf-files-sysconfdir">12.2.1. How
<code class="varname">PKG_SYSCONFDIR</code> is
set</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-configure">11.2.2. Telling the
+ "#conf-files-configure">12.2.2. Telling the
software were configuration files
are</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-patching">11.2.3. Patching
+ "#conf-files-patching">12.2.3. Patching
installations</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-disable">11.2.4. Disabling
+ "#conf-files-disable">12.2.4. Disabling
handling of configuration files</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#rcd-scripts">11.3. System startup
+ "#rcd-scripts">12.3. System startup
scripts</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#rcd-scripts-disable">11.3.1. Disabling
+ "#rcd-scripts-disable">12.3.1. Disabling
handling of system startup
scripts</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#users-and-groups">11.4. System users and
+ "#users-and-groups">12.4. System users and
groups</a></span></dt>
- <dt><span class="sect1"><a href="#shells">11.5.
+ <dt><span class="sect1"><a href="#shells">12.5.
System shells</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#shells-disable">11.5.1. Disabling handling of
+ "#shells-disable">12.5.1. Disabling handling of
configuration files</a></span></dt>
</dl>
</dd>
</dl>
</dd>
- <dt><span class="chapter"><a href="#options">12.
+ <dt><span class="chapter"><a href="#options">13.
Options handling</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#global-default-options">12.1. Global default
+ "#global-default-options">13.1. Global default
options</a></span></dt>
<dt><span class="sect1"><a href=
- "#converting-to-options">12.2. Converting packages
+ "#converting-to-options">13.2. Converting packages
to use <code class=
"filename">bsd.options.mk</code></a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#build">13. The
+ <dt><span class="chapter"><a href="#build">14. The
build process</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#build.prefix">13.1. Program
+ "#build.prefix">14.1. Program
location</a></span></dt>
<dt><span class="sect1"><a href=
- "#main-targets">13.2. Main targets</a></span></dt>
+ "#main-targets">14.2. Main targets</a></span></dt>
<dt><span class="sect1"><a href=
- "#build.helpful-targets">13.3. Other helpful
+ "#build.helpful-targets">14.3. Other helpful
targets</a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#fixes">14. Notes on
+ <dt><span class="chapter"><a href="#fixes">15. Notes on
fixes for packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#general-operation">14.1. General
+ "#general-operation">15.1. General
operation</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#pulling-vars-from-etc-mk.conf">14.1.1. How to
+ "#pulling-vars-from-etc-mk.conf">15.1.1. How to
pull in variables from
/etc/mk.conf</a></span></dt>
<dt><span class="sect2"><a href=
- "#where-to-install-documentation">14.1.2. Where
+ "#where-to-install-documentation">15.1.2. Where
to install documentation</a></span></dt>
<dt><span class="sect2"><a href=
- "#restricted-packages">14.1.3. Restricted
+ "#restricted-packages">15.1.3. Restricted
packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#dependencies">14.1.4. Handling
+ "#dependencies">15.1.4. Handling
dependencies</a></span></dt>
<dt><span class="sect2"><a href=
- "#conflicts">14.1.5. Handling conflicts with
+ "#conflicts">15.1.5. Handling conflicts with
other packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#not-building-packages">14.1.6. Packages that
+ "#not-building-packages">15.1.6. Packages that
cannot or should not be built</a></span></dt>
<dt><span class="sect2"><a href=
- "#undeletable-packages">14.1.7. Packages which
+ "#undeletable-packages">15.1.7. Packages which
should not be deleted, once
installed</a></span></dt>
<dt><span class="sect2"><a href=
- "#security-handling">14.1.8. Handling packages
+ "#security-handling">15.1.8. Handling packages
with security problems</a></span></dt>
<dt><span class="sect2"><a href=
- "#compiler-bugs">14.1.9. How to handle compiler
+ "#compiler-bugs">15.1.9. How to handle compiler
bugs</a></span></dt>
<dt><span class="sect2"><a href=
- "#bumping-pkgrevision">14.1.10. How to handle
+ "#bumping-pkgrevision">15.1.10. How to handle
incrementing versions when fixing an existing
package</a></span></dt>
<dt><span class="sect2"><a href=
- "#portability-of-packages">14.1.11. Portability
+ "#portability-of-packages">15.1.11. Portability
of packages</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#downloading-issues">14.2. Possible downloading
+ "#downloading-issues">15.2. Possible downloading
issues</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#no-plain-download">14.2.1. Packages whose
+ "#no-plain-download">15.2.1. Packages whose
distfiles aren't available for plain
downloading</a></span></dt>
<dt><span class="sect2"><a href=
- "#modified-distfiles-same-name">14.2.2. How to
+ "#modified-distfiles-same-name">15.2.2. How to
handle modified distfiles with the 'old'
name</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#configuration-gotchas">14.3. Configuration
+ "#configuration-gotchas">15.3. Configuration
gotchas</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#fixes.libtool">14.3.1. Shared libraries -
+ "#fixes.libtool">15.3.1. Shared libraries -
libtool</a></span></dt>
<dt><span class="sect2"><a href=
- "#using-libtool">14.3.2. Using libtool on GNU
+ "#using-libtool">15.3.2. Using libtool on GNU
packages that already support
libtool</a></span></dt>
<dt><span class="sect2"><a href=
- "#autoconf-automake">14.3.3. GNU
+ "#autoconf-automake">15.3.3. GNU
Autoconf/Automake</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#building-considerations">14.4. Building
+ "#building-considerations">15.4. Building
considerations</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#cpp-defines">14.4.1. CPP
+ "#cpp-defines">15.4.1. CPP
defines</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#package-specific-actions">14.5. Package specific
+ "#package-specific-actions">15.5. Package specific
actions</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#user-interaction">14.5.1. User
+ "#user-interaction">15.5.1. User
interaction</a></span></dt>
<dt><span class="sect2"><a href=
- "#handling-licenses">14.5.2. Handling
+ "#handling-licenses">15.5.2. Handling
licenses</a></span></dt>
<dt><span class="sect2"><a href=
- "#installing-score-files">14.5.3. Installing
+ "#installing-score-files">15.5.3. Installing
score files</a></span></dt>
<dt><span class="sect2"><a href=
- "#perl-scripts">14.5.4. Packages containing
+ "#perl-scripts">15.5.4. Packages containing
perl scripts</a></span></dt>
<dt><span class="sect2"><a href=
- "#hardcoded-paths">14.5.5. Packages with
+ "#hardcoded-paths">15.5.5. Packages with
hardcoded paths to other
interpreters</a></span></dt>
<dt><span class="sect2"><a href=
- "#perl-modules">14.5.6. Packages installing
+ "#perl-modules">15.5.6. Packages installing
perl modules</a></span></dt>
<dt><span class="sect2"><a href=
- "#faq.info-files">14.5.7. Packages installing
+ "#faq.info-files">15.5.7. Packages installing
info files</a></span></dt>
<dt><span class="sect2"><a href=
- "#gconf2-data-files">14.5.8. Packages
+ "#gconf2-data-files">15.5.8. Packages
installing GConf2 data files</a></span></dt>
<dt><span class="sect2"><a href=
- "#scrollkeeper-data-files">14.5.9. Packages
+ "#scrollkeeper-data-files">15.5.9. Packages
installing scrollkeeper data
files</a></span></dt>
<dt><span class="sect2"><a href=
- "#x11-fonts">14.5.10. Packages installing X11
+ "#x11-fonts">15.5.10. Packages installing X11
fonts</a></span></dt>
<dt><span class="sect2"><a href=
- "#gtk2-modules">14.5.11. Packages installing
+ "#gtk2-modules">15.5.11. Packages installing
GTK2 modules</a></span></dt>
<dt><span class="sect2"><a href=
- "#sgml-xml-data">14.5.12. Packages installing
+ "#sgml-xml-data">15.5.12. Packages installing
SGML or XML data</a></span></dt>
<dt><span class="sect2"><a href=
- "#mime-database">14.5.13. Packages installing
+ "#mime-database">15.5.13. Packages installing
extensions to the MIME database</a></span></dt>
<dt><span class="sect2"><a href=
- "#intltool">14.5.14. Packages using
+ "#intltool">15.5.14. Packages using
intltool</a></span></dt>
<dt><span class="sect2"><a href=
- "#startup-scripts">14.5.15. Packages installing
+ "#startup-scripts">15.5.15. Packages installing
startup scripts</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#feedback-to-author">14.6. Feedback to the
+ "#feedback-to-author">15.6. Feedback to the
author</a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#debug">15.
+ <dt><span class="chapter"><a href="#debug">16.
Debugging</a></span></dt>
- <dt><span class="chapter"><a href="#submit">16.
+ <dt><span class="chapter"><a href="#submit">17.
Submitting and Committing</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#submitting-your-package">16.1. Submitting your
+ "#submitting-your-package">17.1. Submitting your
packages</a></span></dt>
<dt><span class="sect1"><a href=
- "#committing-importing">16.2. Committing: Importing
+ "#committing-importing">17.2. Committing: Importing
a package into CVS</a></span></dt>
<dt><span class="sect1"><a href=
- "#updating-package">16.3. Updating a package to a
+ "#updating-package">17.3. Updating a package to a
newer version</a></span></dt>
<dt><span class="sect1"><a href=
- "#moving-package">16.4. Moving a package in
+ "#moving-package">17.4. Moving a package in
pkgsrc</a></span></dt>
</dl>
</dd>
@@ -1375,139 +1386,150 @@ alink="#0000FF">
</dl>
</dd>
- <dt><span class="chapter"><a href="#binary">5. Creating
+ <dt><span class="chapter"><a href="#configuring">5.
+ Configuring pkgsrc</a></span></dt>
+
+ <dd>
+ <dl>
+ <dt><span class="sect1"><a href=
+ "#selecting-options">5.1. Selecting build
+ options</a></span></dt>
+ </dl>
+ </dd>
+
+ <dt><span class="chapter"><a href="#binary">6. Creating
binary packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#building-a-single-binary-package">5.1. Building a
+ "#building-a-single-binary-package">6.1. Building a
single binary package</a></span></dt>
<dt><span class="sect1"><a href=
- "#settings-for-creationg-of-binary-packages">5.2.
+ "#settings-for-creationg-of-binary-packages">6.2.
Settings for creation of binary
packages</a></span></dt>
- <dt><span class="sect1"><a href="#bulkbuild">5.3.
+ <dt><span class="sect1"><a href="#bulkbuild">6.3.
Doing a bulk build of all packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#binary.configuration">5.3.1.
+ "#binary.configuration">6.3.1.
Configuration</a></span></dt>
<dt><span class="sect2"><a href=
- "#other-environmental-considerations">5.3.2.
+ "#other-environmental-considerations">6.3.2.
Other environmental
considerations</a></span></dt>
<dt><span class="sect2"><a href=
- "#operation">5.3.3. Operation</a></span></dt>
+ "#operation">6.3.3. Operation</a></span></dt>
<dt><span class="sect2"><a href=
- "#what-it-does">5.3.4. What it
+ "#what-it-does">6.3.4. What it
does</a></span></dt>
<dt><span class="sect2"><a href=
- "#disk-space-requirements">5.3.5. Disk space
+ "#disk-space-requirements">6.3.5. Disk space
requirements</a></span></dt>
<dt><span class="sect2"><a href=
- "#setting-up-a-sandbox">5.3.6. Setting up a
+ "#setting-up-a-sandbox">6.3.6. Setting up a
sandbox for chroot'ed builds</a></span></dt>
<dt><span class="sect2"><a href=
- "#building-a-partial-set">5.3.7. Building a
+ "#building-a-partial-set">6.3.7. Building a
partial set of packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#bulk-upload">5.3.8. Uploading results of a bulk
+ "#bulk-upload">6.3.8. Uploading results of a bulk
build</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#creating-cdroms">5.4. Creating a multiple CD-ROM
+ "#creating-cdroms">6.4. Creating a multiple CD-ROM
packages collection</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#cdpack-example">5.4.1. Example of
+ "#cdpack-example">6.4.1. Example of
cdpack</a></span></dt>
</dl>
</dd>
</dl>
</dd>
- <dt><span class="chapter"><a href="#faq">6. Frequently
+ <dt><span class="chapter"><a href="#faq">7. Frequently
Asked Questions</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#mailing-list-pointers">6.1. Are there any mailing
+ "#mailing-list-pointers">7.1. Are there any mailing
lists for pkg-related discussion?</a></span></dt>
- <dt><span class="sect1"><a href="#pkgviews-docs">6.2.
+ <dt><span class="sect1"><a href="#pkgviews-docs">7.2.
Where's the pkgviews documentation?</a></span></dt>
- <dt><span class="sect1"><a href="#faq-pkgtools">6.3.
+ <dt><span class="sect1"><a href="#faq-pkgtools">7.3.
Utilities for package management
(pkgtools)</a></span></dt>
<dt><span class="sect1"><a href=
- "#non-root-pkgsrc">6.4. How to use pkgsrc as
+ "#non-root-pkgsrc">7.4. How to use pkgsrc as
non-root</a></span></dt>
<dt><span class="sect1"><a href=
- "#resume-transfers">6.5. How to resume transfers when
+ "#resume-transfers">7.5. How to resume transfers when
fetching distfiles?</a></span></dt>
<dt><span class="sect1"><a href=
- "#XFree86-from-pkgsrc">6.6. How can I install/use
+ "#XFree86-from-pkgsrc">7.6. How can I install/use
XFree86 from pkgsrc?</a></span></dt>
<dt><span class="sect1"><a href=
- "#x.org-from-pkgsrc">6.7. How can I install/use X.org
+ "#x.org-from-pkgsrc">7.7. How can I install/use X.org
from pkgsrc?</a></span></dt>
<dt><span class="sect1"><a href=
- "#fetch-behind-firewall">6.8. How to fetch files from
+ "#fetch-behind-firewall">7.8. How to fetch files from
behind a firewall</a></span></dt>
- <dt><span class="sect1"><a href="#passive-ftp">6.9.
+ <dt><span class="sect1"><a href="#passive-ftp">7.9.
How do I tell <span><strong class="command">make
fetch</strong></span> to do passive
FTP?</a></span></dt>
<dt><span class="sect1"><a href=
- "#fetching-all-distfiles">6.10. How to fetch all
+ "#fetching-all-distfiles">7.10. How to fetch all
distfiles at once</a></span></dt>
<dt><span class="sect1"><a href=
- "#tmac.andoc-missing">6.11. What does
+ "#tmac.andoc-missing">7.11. What does
&#8220;<span class="quote">Don't know how to make
/usr/share/tmac/tmac.andoc</span>&#8221;
mean?</a></span></dt>
<dt><span class="sect1"><a href=
- "#bsd.own.mk-missing">6.12. What does
+ "#bsd.own.mk-missing">7.12. What does
&#8220;<span class="quote">Could not find
bsd.own.mk</span>&#8221; mean?</a></span></dt>
<dt><span class="sect1"><a href=
- "#using-sudo-with-pkgsrc">6.13. Using 'sudo' with
+ "#using-sudo-with-pkgsrc">7.13. Using 'sudo' with
pkgsrc</a></span></dt>
- <dt><span class="sect1"><a href="#faq.conf">6.14. How
+ <dt><span class="sect1"><a href="#faq.conf">7.14. How
do I change the location of configuration
files?</a></span></dt>
<dt><span class="sect1"><a href=
- "#audit-packages">6.15. Automated security
+ "#audit-packages">7.15. Automated security
checks</a></span></dt>
</dl>
</dd>
@@ -3068,8 +3090,128 @@ CFLAGS= -xtarget=ultra -xarch=v9
<div class="titlepage">
<div>
<div>
+ <h2 class="title"><a name="configuring" id=
+ "configuring"></a>Chapter&nbsp;5.&nbsp;Configuring
+ pkgsrc</h2>
+ </div>
+ </div>
+ </div>
+
+ <div class="toc">
+ <p><b>Table of Contents</b></p>
+
+ <dl>
+ <dt><span class="sect1"><a href=
+ "#selecting-options">5.1. Selecting build
+ options</a></span></dt>
+ </dl>
+ </div>
+
+ <div class="sect1" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h2 class="title" style="clear: both"><a name=
+ "selecting-options" id=
+ "selecting-options"></a>5.1.&nbsp;Selecting build
+ options</h2>
+ </div>
+ </div>
+ </div>
+
+ <p>Some packages have build time options, usually to
+ select between different dependencies, enable optional
+ support for big dependencies or enable experimental
+ features.</p>
+
+ <p>To see which options, if any, a package supports, and
+ which options are mutually exclusive, run
+ <span><strong class="command">make
+ show-options</strong></span>, for example:</p>
+ <pre class="programlisting">
+The following options are supported by this package:
+ ssl Enable SSL support.
+Exactly one of the following gecko options is required:
+ firefox Use firefox as gecko rendering engine.
+ mozilla Use mozilla as gecko rendering engine.
+At most one of the following database options may be selected:
+ mysql Enable support for MySQL database.
+ pgsql Enable support for PostgreSQL database.
+
+These options are enabled by default: firefox
+These options are currently enabled: mozilla ssl
+</pre>
+
+ <p>The following variables can be defined in <code class=
+ "filename">/etc/mk.conf</code> to select which options to
+ enable for a package: <code class=
+ "varname">PKG_DEFAULT_OPTIONS</code>, which can be used
+ to select or disable options for all packages that
+ support them, and <code class=
+ "varname">PKG_OPTIONS.<em class=
+ "replaceable"><code>pkgbase</code></em></code>, which can
+ be used to select or disable options specifically for
+ package <em class=
+ "replaceable"><code>pkgbase</code></em>. Options listed
+ in these variables are selected, options preceded by
+ &#8220;<span class="quote">-</span>&#8221; are
+ disabled.</p>
+
+ <p>For each option, the following settings are consulted
+ in the order given, and the last setting that selects or
+ disables the option is used:</p>
+
+ <div class="orderedlist">
+ <ol type="1">
+ <li>
+ <p>the default options as suggested by the package
+ maintainer</p>
+ </li>
+
+ <li>
+ <p>the options implied by the settings of legacy
+ variables (see below)</p>
+ </li>
+
+ <li>
+ <p><code class=
+ "varname">PKG_DEFAULT_OPTIONS</code></p>
+ </li>
+
+ <li>
+ <p><code class="varname">PKG_OPTIONS.<em class=
+ "replaceable"><code>pkgbase</code></em></code></p>
+ </li>
+ </ol>
+ </div>
+
+ <p>For groups of mutually exclusive options, the last
+ option selected is used, all others are automatically
+ disabled. If an option of the group is explicitly
+ disabled, the previously selected option, if any, is
+ used. It is an error if no option from a required group
+ of options is selected, and building the package will
+ fail.</p>
+
+ <p>Before the options framework was introduced, build
+ options were selected by setting a variable in
+ <code class="filename">/etc/mk.conf</code> for each
+ option. To ease transition to the options framework for
+ the user, these legacy variables are converted to the
+ appropriate options setting automatically. A warning is
+ issued to prompt the user to update <code class=
+ "filename">/etc/mk.conf</code> to use the options
+ framework directly. Support for these legacy variables
+ will be removed eventually.</p>
+ </div>
+ </div>
+
+ <div class="chapter" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
<h2 class="title"><a name="binary" id=
- "binary"></a>Chapter&nbsp;5.&nbsp;Creating binary
+ "binary"></a>Chapter&nbsp;6.&nbsp;Creating binary
packages</h2>
</div>
</div>
@@ -3080,59 +3222,59 @@ CFLAGS= -xtarget=ultra -xarch=v9
<dl>
<dt><span class="sect1"><a href=
- "#building-a-single-binary-package">5.1. Building a
+ "#building-a-single-binary-package">6.1. Building a
single binary package</a></span></dt>
<dt><span class="sect1"><a href=
- "#settings-for-creationg-of-binary-packages">5.2.
+ "#settings-for-creationg-of-binary-packages">6.2.
Settings for creation of binary
packages</a></span></dt>
- <dt><span class="sect1"><a href="#bulkbuild">5.3. Doing
+ <dt><span class="sect1"><a href="#bulkbuild">6.3. Doing
a bulk build of all packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#binary.configuration">5.3.1.
+ "#binary.configuration">6.3.1.
Configuration</a></span></dt>
<dt><span class="sect2"><a href=
- "#other-environmental-considerations">5.3.2. Other
+ "#other-environmental-considerations">6.3.2. Other
environmental considerations</a></span></dt>
- <dt><span class="sect2"><a href="#operation">5.3.3.
+ <dt><span class="sect2"><a href="#operation">6.3.3.
Operation</a></span></dt>
<dt><span class="sect2"><a href=
- "#what-it-does">5.3.4. What it does</a></span></dt>
+ "#what-it-does">6.3.4. What it does</a></span></dt>
<dt><span class="sect2"><a href=
- "#disk-space-requirements">5.3.5. Disk space
+ "#disk-space-requirements">6.3.5. Disk space
requirements</a></span></dt>
<dt><span class="sect2"><a href=
- "#setting-up-a-sandbox">5.3.6. Setting up a sandbox
+ "#setting-up-a-sandbox">6.3.6. Setting up a sandbox
for chroot'ed builds</a></span></dt>
<dt><span class="sect2"><a href=
- "#building-a-partial-set">5.3.7. Building a partial
+ "#building-a-partial-set">6.3.7. Building a partial
set of packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#bulk-upload">5.3.8. Uploading results of a bulk
+ "#bulk-upload">6.3.8. Uploading results of a bulk
build</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#creating-cdroms">5.4.
+ <dt><span class="sect1"><a href="#creating-cdroms">6.4.
Creating a multiple CD-ROM packages
collection</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#cdpack-example">5.4.1. Example of
+ "#cdpack-example">6.4.1. Example of
cdpack</a></span></dt>
</dl>
</dd>
@@ -3145,7 +3287,7 @@ CFLAGS= -xtarget=ultra -xarch=v9
<div>
<h2 class="title" style="clear: both"><a name=
"building-a-single-binary-package" id=
- "building-a-single-binary-package"></a>5.1.&nbsp;Building
+ "building-a-single-binary-package"></a>6.1.&nbsp;Building
a single binary package</h2>
</div>
</div>
@@ -3189,8 +3331,8 @@ CFLAGS= -xtarget=ultra -xarch=v9
class="pkgname">misc/figlet</a> example.</p>
<p>See <a href="#submit" title=
- "Chapter&nbsp;16.&nbsp;Submitting and Committing">Chapter
- 16, <i>Submitting and Committing</i></a> for information
+ "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>
@@ -3200,14 +3342,14 @@ CFLAGS= -xtarget=ultra -xarch=v9
<div>
<h2 class="title" style="clear: both"><a name=
"settings-for-creationg-of-binary-packages" id=
- "settings-for-creationg-of-binary-packages"></a>5.2.&nbsp;Settings
+ "settings-for-creationg-of-binary-packages"></a>6.2.&nbsp;Settings
for creation of binary packages</h2>
</div>
</div>
</div>
<p>See <a href="#build.helpful-targets" title=
- "13.3.&nbsp;Other helpful targets">Section&nbsp;13.3,
+ "14.3.&nbsp;Other helpful targets">Section&nbsp;14.3,
&#8220;Other helpful targets&#8221;</a>.</p>
</div>
@@ -3216,7 +3358,7 @@ CFLAGS= -xtarget=ultra -xarch=v9
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "bulkbuild" id="bulkbuild"></a>5.3.&nbsp;Doing a
+ "bulkbuild" id="bulkbuild"></a>6.3.&nbsp;Doing a
bulk build of all packages</h2>
</div>
</div>
@@ -3242,7 +3384,7 @@ CFLAGS= -xtarget=ultra -xarch=v9
<div>
<h3 class="title"><a name="binary.configuration"
id=
- "binary.configuration"></a>5.3.1.&nbsp;Configuration</h3>
+ "binary.configuration"></a>6.3.1.&nbsp;Configuration</h3>
</div>
</div>
</div>
@@ -3252,7 +3394,7 @@ CFLAGS= -xtarget=ultra -xarch=v9
<div>
<div>
<h4 class="title"><a name="binary.mk.conf" id=
- "binary.mk.conf"></a>5.3.1.1.&nbsp;/etc/mk.conf</h4>
+ "binary.mk.conf"></a>6.3.1.1.&nbsp;/etc/mk.conf</h4>
</div>
</div>
</div>
@@ -3283,7 +3425,7 @@ _ACCEPTABLE= yes
<div>
<div>
<h4 class="title"><a name="build.conf" id=
- "build.conf"></a>5.3.1.2.&nbsp;<code class=
+ "build.conf"></a>6.3.1.2.&nbsp;<code class=
"filename">build.conf</code></h4>
</div>
</div>
@@ -3309,7 +3451,7 @@ _ACCEPTABLE= yes
<div>
<div>
<h4 class="title"><a name="pre-build.local" id=
- "pre-build.local"></a>5.3.1.3.&nbsp;<code class="filename">
+ "pre-build.local"></a>6.3.1.3.&nbsp;<code class="filename">
pre-build.local</code></h4>
</div>
</div>
@@ -3345,7 +3487,7 @@ _ACCEPTABLE= yes
<div>
<h3 class="title"><a name=
"other-environmental-considerations" id=
- "other-environmental-considerations"></a>5.3.2.&nbsp;Other
+ "other-environmental-considerations"></a>6.3.2.&nbsp;Other
environmental considerations</h3>
</div>
</div>
@@ -3387,7 +3529,7 @@ fi
<div>
<div>
<h3 class="title"><a name="operation" id=
- "operation"></a>5.3.3.&nbsp;Operation</h3>
+ "operation"></a>6.3.3.&nbsp;Operation</h3>
</div>
</div>
</div>
@@ -3434,7 +3576,7 @@ fi
<div>
<div>
<h3 class="title"><a name="what-it-does" id=
- "what-it-does"></a>5.3.4.&nbsp;What it does</h3>
+ "what-it-does"></a>6.3.4.&nbsp;What it does</h3>
</div>
</div>
</div>
@@ -3494,7 +3636,7 @@ fi
<div>
<h3 class="title"><a name=
"disk-space-requirements" id=
- "disk-space-requirements"></a>5.3.5.&nbsp;Disk
+ "disk-space-requirements"></a>6.3.5.&nbsp;Disk
space requirements</h3>
</div>
</div>
@@ -3537,7 +3679,7 @@ fi
<div>
<div>
<h3 class="title"><a name="setting-up-a-sandbox"
- id="setting-up-a-sandbox"></a>5.3.6.&nbsp;Setting
+ id="setting-up-a-sandbox"></a>6.3.6.&nbsp;Setting
up a sandbox for chroot'ed builds</h3>
</div>
</div>
@@ -3684,7 +3826,7 @@ fi
<p>Edit <code class=
"filename">/etc/mk.conf</code>, see <a href=
"#binary.mk.conf" title=
- "5.3.1.1.&nbsp;/etc/mk.conf">Section&nbsp;5.3.1.1,
+ "6.3.1.1.&nbsp;/etc/mk.conf">Section&nbsp;6.3.1.1,
&#8220;/etc/mk.conf&#8221;</a>.</p>
</li>
@@ -3728,7 +3870,7 @@ fi
<div>
<h3 class="title"><a name=
"building-a-partial-set" id=
- "building-a-partial-set"></a>5.3.7.&nbsp;Building
+ "building-a-partial-set"></a>6.3.7.&nbsp;Building
a partial set of packages</h3>
</div>
</div>
@@ -3780,7 +3922,7 @@ fi
<div>
<div>
<h3 class="title"><a name="bulk-upload" id=
- "bulk-upload"></a>5.3.8.&nbsp;Uploading results
+ "bulk-upload"></a>6.3.8.&nbsp;Uploading results
of a bulk build</h3>
</div>
</div>
@@ -3922,7 +4064,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<h2 class="title" style="clear: both"><a name=
"creating-cdroms" id=
- "creating-cdroms"></a>5.4.&nbsp;Creating a multiple
+ "creating-cdroms"></a>6.4.&nbsp;Creating a multiple
CD-ROM packages collection</h2>
</div>
</div>
@@ -3946,7 +4088,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<div>
<h3 class="title"><a name="cdpack-example" id=
- "cdpack-example"></a>5.4.1.&nbsp;Example of
+ "cdpack-example"></a>6.4.1.&nbsp;Example of
cdpack</h3>
</div>
</div>
@@ -4009,7 +4151,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<div>
<h2 class="title"><a name="faq" id=
- "faq"></a>Chapter&nbsp;6.&nbsp;Frequently Asked
+ "faq"></a>Chapter&nbsp;7.&nbsp;Frequently Asked
Questions</h2>
</div>
</div>
@@ -4020,64 +4162,64 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<dl>
<dt><span class="sect1"><a href=
- "#mailing-list-pointers">6.1. Are there any mailing
+ "#mailing-list-pointers">7.1. Are there any mailing
lists for pkg-related discussion?</a></span></dt>
- <dt><span class="sect1"><a href="#pkgviews-docs">6.2.
+ <dt><span class="sect1"><a href="#pkgviews-docs">7.2.
Where's the pkgviews documentation?</a></span></dt>
- <dt><span class="sect1"><a href="#faq-pkgtools">6.3.
+ <dt><span class="sect1"><a href="#faq-pkgtools">7.3.
Utilities for package management
(pkgtools)</a></span></dt>
- <dt><span class="sect1"><a href="#non-root-pkgsrc">6.4.
+ <dt><span class="sect1"><a href="#non-root-pkgsrc">7.4.
How to use pkgsrc as non-root</a></span></dt>
<dt><span class="sect1"><a href=
- "#resume-transfers">6.5. How to resume transfers when
+ "#resume-transfers">7.5. How to resume transfers when
fetching distfiles?</a></span></dt>
<dt><span class="sect1"><a href=
- "#XFree86-from-pkgsrc">6.6. How can I install/use
+ "#XFree86-from-pkgsrc">7.6. How can I install/use
XFree86 from pkgsrc?</a></span></dt>
<dt><span class="sect1"><a href=
- "#x.org-from-pkgsrc">6.7. How can I install/use X.org
+ "#x.org-from-pkgsrc">7.7. How can I install/use X.org
from pkgsrc?</a></span></dt>
<dt><span class="sect1"><a href=
- "#fetch-behind-firewall">6.8. How to fetch files from
+ "#fetch-behind-firewall">7.8. How to fetch files from
behind a firewall</a></span></dt>
- <dt><span class="sect1"><a href="#passive-ftp">6.9. How
+ <dt><span class="sect1"><a href="#passive-ftp">7.9. How
do I tell <span><strong class="command">make
fetch</strong></span> to do passive
FTP?</a></span></dt>
<dt><span class="sect1"><a href=
- "#fetching-all-distfiles">6.10. How to fetch all
+ "#fetching-all-distfiles">7.10. How to fetch all
distfiles at once</a></span></dt>
<dt><span class="sect1"><a href=
- "#tmac.andoc-missing">6.11. What does
+ "#tmac.andoc-missing">7.11. What does
&#8220;<span class="quote">Don't know how to make
/usr/share/tmac/tmac.andoc</span>&#8221;
mean?</a></span></dt>
<dt><span class="sect1"><a href=
- "#bsd.own.mk-missing">6.12. What does
+ "#bsd.own.mk-missing">7.12. What does
&#8220;<span class="quote">Could not find
bsd.own.mk</span>&#8221; mean?</a></span></dt>
<dt><span class="sect1"><a href=
- "#using-sudo-with-pkgsrc">6.13. Using 'sudo' with
+ "#using-sudo-with-pkgsrc">7.13. Using 'sudo' with
pkgsrc</a></span></dt>
- <dt><span class="sect1"><a href="#faq.conf">6.14. How
+ <dt><span class="sect1"><a href="#faq.conf">7.14. How
do I change the location of configuration
files?</a></span></dt>
- <dt><span class="sect1"><a href="#audit-packages">6.15.
+ <dt><span class="sect1"><a href="#audit-packages">7.15.
Automated security checks</a></span></dt>
</dl>
</div>
@@ -4093,7 +4235,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<h2 class="title" style="clear: both"><a name=
"mailing-list-pointers" id=
- "mailing-list-pointers"></a>6.1.&nbsp;Are there any
+ "mailing-list-pointers"></a>7.1.&nbsp;Are there any
mailing lists for pkg-related discussion?</h2>
</div>
</div>
@@ -4153,7 +4295,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<h2 class="title" style="clear: both"><a name=
"pkgviews-docs" id=
- "pkgviews-docs"></a>6.2.&nbsp;Where's the pkgviews
+ "pkgviews-docs"></a>7.2.&nbsp;Where's the pkgviews
documentation?</h2>
</div>
</div>
@@ -4170,7 +4312,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<h2 class="title" style="clear: both"><a name=
"faq-pkgtools" id=
- "faq-pkgtools"></a>6.3.&nbsp;Utilities for package
+ "faq-pkgtools"></a>7.3.&nbsp;Utilities for package
management (pkgtools)</h2>
</div>
</div>
@@ -4415,7 +4557,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<h2 class="title" style="clear: both"><a name=
"non-root-pkgsrc" id=
- "non-root-pkgsrc"></a>6.4.&nbsp;How to use pkgsrc
+ "non-root-pkgsrc"></a>7.4.&nbsp;How to use pkgsrc
as non-root</h2>
</div>
</div>
@@ -4457,7 +4599,7 @@ nbftp% <strong class="userinput"><code>chmod 755 .</code></strong>
<div>
<h2 class="title" style="clear: both"><a name=
"resume-transfers" id=
- "resume-transfers"></a>6.5.&nbsp;How to resume
+ "resume-transfers"></a>7.5.&nbsp;How to resume
transfers when fetching distfiles?</h2>
</div>
</div>
@@ -4498,7 +4640,7 @@ FETCH_OUTPUT_ARGS=-O
<div>
<h2 class="title" style="clear: both"><a name=
"XFree86-from-pkgsrc" id=
- "XFree86-from-pkgsrc"></a>6.6.&nbsp;How can I
+ "XFree86-from-pkgsrc"></a>7.6.&nbsp;How can I
install/use XFree86 from pkgsrc?</h2>
</div>
</div>
@@ -4521,7 +4663,7 @@ X11_TYPE=XFree86
<div>
<h2 class="title" style="clear: both"><a name=
"x.org-from-pkgsrc" id=
- "x.org-from-pkgsrc"></a>6.7.&nbsp;How can I
+ "x.org-from-pkgsrc"></a>7.7.&nbsp;How can I
install/use X.org from pkgsrc?</h2>
</div>
</div>
@@ -4544,7 +4686,7 @@ X11_TYPE=xorg
<div>
<h2 class="title" style="clear: both"><a name=
"fetch-behind-firewall" id=
- "fetch-behind-firewall"></a>6.8.&nbsp;How to fetch
+ "fetch-behind-firewall"></a>7.8.&nbsp;How to fetch
files from behind a firewall</h2>
</div>
</div>
@@ -4569,7 +4711,7 @@ http_proxy=http://orpheus.amdahl.com:80/
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "passive-ftp" id="passive-ftp"></a>6.9.&nbsp;How do
+ "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>
@@ -4613,7 +4755,7 @@ http_proxy=http://orpheus.amdahl.com:80/
<div>
<h2 class="title" style="clear: both"><a name=
"fetching-all-distfiles" id=
- "fetching-all-distfiles"></a>6.10.&nbsp;How to
+ "fetching-all-distfiles"></a>7.10.&nbsp;How to
fetch all distfiles at once</h2>
</div>
</div>
@@ -4687,7 +4829,7 @@ http_proxy=http://orpheus.amdahl.com:80/
<div>
<h2 class="title" style="clear: both"><a name=
"tmac.andoc-missing" id=
- "tmac.andoc-missing"></a>6.11.&nbsp;What does
+ "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>
</div>
@@ -4720,7 +4862,7 @@ http_proxy=http://orpheus.amdahl.com:80/
<div>
<h2 class="title" style="clear: both"><a name=
"bsd.own.mk-missing" id=
- "bsd.own.mk-missing"></a>6.12.&nbsp;What does
+ "bsd.own.mk-missing"></a>7.12.&nbsp;What does
&#8220;<span class="quote">Could not find
bsd.own.mk</span>&#8221; mean?</h2>
</div>
@@ -4750,7 +4892,7 @@ http_proxy=http://orpheus.amdahl.com:80/
<div>
<h2 class="title" style="clear: both"><a name=
"using-sudo-with-pkgsrc" id=
- "using-sudo-with-pkgsrc"></a>6.13.&nbsp;Using
+ "using-sudo-with-pkgsrc"></a>7.13.&nbsp;Using
'sudo' with pkgsrc</h2>
</div>
</div>
@@ -4783,7 +4925,7 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "faq.conf" id="faq.conf"></a>6.14.&nbsp;How do I
+ "faq.conf" id="faq.conf"></a>7.14.&nbsp;How do I
change the location of configuration files?</h2>
</div>
</div>
@@ -4823,7 +4965,7 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
<div>
<h2 class="title" style="clear: both"><a name=
"audit-packages" id=
- "audit-packages"></a>6.15.&nbsp;Automated security
+ "audit-packages"></a>7.15.&nbsp;Automated security
checks</h2>
</div>
</div>
@@ -4901,147 +5043,147 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
<p><b>Table of Contents</b></p>
<dl>
- <dt><span class="chapter"><a href="#components">7.
+ <dt><span class="chapter"><a href="#components">8.
Package components - files, directories and
contents</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#components.Makefile">7.1. <code class=
+ "#components.Makefile">8.1. <code class=
"filename">Makefile</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#components.distinfo">7.2. <code class=
+ "#components.distinfo">8.2. <code class=
"filename">distinfo</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#components.patches">7.3. patches/*</a></span></dt>
+ "#components.patches">8.3. patches/*</a></span></dt>
<dt><span class="sect1"><a href=
- "#other-mandatory-files">7.4. Other mandatory
+ "#other-mandatory-files">8.4. Other mandatory
files</a></span></dt>
<dt><span class="sect1"><a href=
- "#components.optional">7.5. Optional
+ "#components.optional">8.5. Optional
files</a></span></dt>
- <dt><span class="sect1"><a href="#work-dir">7.6.
+ <dt><span class="sect1"><a href="#work-dir">8.6.
<code class="filename">work*</code></a></span></dt>
- <dt><span class="sect1"><a href="#files-dir">7.7.
+ <dt><span class="sect1"><a href="#files-dir">8.7.
<code class="filename">files/*</code></a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#makefile">8.
+ <dt><span class="chapter"><a href="#makefile">9.
Programming in <code class=
"filename">Makefile</code>s</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#makefile.variables">8.1. <code class=
+ "#makefile.variables">9.1. <code class=
"filename">Makefile</code> variables</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#makefile.variables.names">8.1.1. Naming
+ "#makefile.variables.names">9.1.1. Naming
conventions</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#makefile.code">8.2.
+ <dt><span class="sect1"><a href="#makefile.code">9.2.
Code snippets</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#adding-to-list">8.2.1. Adding things to a
+ "#adding-to-list">9.2.1. Adding things to a
list</a></span></dt>
<dt><span class="sect2"><a href=
- "#converting-internal-to-external">8.2.2.
+ "#converting-internal-to-external">9.2.2.
Converting an internal list into an external
list</a></span></dt>
<dt><span class="sect2"><a href=
- "#passing-variable-to-shell">8.2.3. Passing
+ "#passing-variable-to-shell">9.2.3. Passing
variables to a shell command</a></span></dt>
<dt><span class="sect2"><a href=
- "#quoting-guideline">8.2.4. Quoting
+ "#quoting-guideline">9.2.4. Quoting
guideline</a></span></dt>
<dt><span class="sect2"><a href=
- "#bsd-make-bug-workaround">8.2.5. Workaround for
+ "#bsd-make-bug-workaround">9.2.5. Workaround for
a bug in BSD Make</a></span></dt>
</dl>
</dd>
</dl>
</dd>
- <dt><span class="chapter"><a href="#plist">9. PLIST
+ <dt><span class="chapter"><a href="#plist">10. PLIST
issues</a></span></dt>
<dd>
<dl>
- <dt><span class="sect1"><a href="#rcs-id">9.1. RCS
+ <dt><span class="sect1"><a href="#rcs-id">10.1. RCS
ID</a></span></dt>
<dt><span class="sect1"><a href=
- "#automatic-plist-generation">9.2. Semi-automatic
+ "#automatic-plist-generation">10.2. Semi-automatic
<code class="filename">PLIST</code>
generation</a></span></dt>
- <dt><span class="sect1"><a href="#print-PLIST">9.3.
+ <dt><span class="sect1"><a href="#print-PLIST">10.3.
Tweaking output of <span><strong class="command">make
print-PLIST</strong></span></a></span></dt>
- <dt><span class="sect1"><a href="#plist.misc">9.4.
+ <dt><span class="sect1"><a href="#plist.misc">10.4.
Variable substitution in PLIST</a></span></dt>
<dt><span class="sect1"><a href=
- "#manpage-compression">9.5.
+ "#manpage-compression">10.5.
Manpage-compression</a></span></dt>
<dt><span class="sect1"><a href=
- "#using-PLIST_SRC">9.6. Changing PLIST source with
+ "#using-PLIST_SRC">10.6. Changing PLIST source with
<code class=
"varname">PLIST_SRC</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#platform-specific-plist">9.7. Platform specific and
- differing PLISTs</a></span></dt>
+ "#platform-specific-plist">10.7. Platform specific
+ and differing PLISTs</a></span></dt>
<dt><span class="sect1"><a href=
- "#faq.common-dirs">9.8. Sharing directories between
+ "#faq.common-dirs">10.8. Sharing directories between
packages</a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#buildlink">10.
+ <dt><span class="chapter"><a href="#buildlink">11.
Buildlink methodology</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#converting-to-buildlink3">10.1. Converting packages
+ "#converting-to-buildlink3">11.1. Converting packages
to use buildlink3</a></span></dt>
<dt><span class="sect1"><a href=
- "#creating-buildlink3.mk">10.2. Writing <code class=
+ "#creating-buildlink3.mk">11.2. Writing <code class=
"filename">buildlink3.mk</code> files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#anatomy-of-bl3">10.2.1. Anatomy of a
+ "#anatomy-of-bl3">11.2.1. Anatomy of a
buildlink3.mk file</a></span></dt>
<dt><span class="sect2"><a href=
- "#updating-buildlink-depends">10.2.2. Updating
+ "#updating-buildlink-depends">11.2.2. Updating
<code class=
"varname">BUILDLINK_DEPENDS.<em class="replaceable">
<code>pkg</code></em></code> in <code class=
@@ -5051,18 +5193,18 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
</dd>
<dt><span class="sect1"><a href=
- "#writing-builtin.mk">10.3. Writing <code class=
+ "#writing-builtin.mk">11.3. Writing <code class=
"filename">builtin.mk</code> files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#anatomy-of-builtin.mk">10.3.1. Anatomy of a
+ "#anatomy-of-builtin.mk">11.3.1. Anatomy of a
<code class="filename">builtin.mk</code>
file</a></span></dt>
<dt><span class="sect2"><a href=
- "#native-or-pkgsrc-preference">10.3.2. Global
+ "#native-or-pkgsrc-preference">11.3.2. Global
preferences for native or pkgsrc
software</a></span></dt>
</dl>
@@ -5070,323 +5212,323 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
</dl>
</dd>
- <dt><span class="chapter"><a href="#pkginstall">11. The
+ <dt><span class="chapter"><a href="#pkginstall">12. The
pkginstall framework</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#files-and-dirs-outside-prefix">11.1. Files and
+ "#files-and-dirs-outside-prefix">12.1. Files and
directories outside the installation
prefix</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#dirs-outside-prefix">11.1.1. Directory
+ "#dirs-outside-prefix">12.1.1. Directory
manipulation</a></span></dt>
<dt><span class="sect2"><a href=
- "#files-outside-prefix">11.1.2. File
+ "#files-outside-prefix">12.1.2. File
manipulation</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#conf-files">11.2.
+ <dt><span class="sect1"><a href="#conf-files">12.2.
Configuration files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#conf-files-sysconfdir">11.2.1. How <code class=
+ "#conf-files-sysconfdir">12.2.1. How <code class=
"varname">PKG_SYSCONFDIR</code> is
set</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-configure">11.2.2. Telling the
+ "#conf-files-configure">12.2.2. Telling the
software were configuration files
are</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-patching">11.2.3. Patching
+ "#conf-files-patching">12.2.3. Patching
installations</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-disable">11.2.4. Disabling handling
+ "#conf-files-disable">12.2.4. Disabling handling
of configuration files</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#rcd-scripts">11.3.
+ <dt><span class="sect1"><a href="#rcd-scripts">12.3.
System startup scripts</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#rcd-scripts-disable">11.3.1. Disabling handling
+ "#rcd-scripts-disable">12.3.1. Disabling handling
of system startup scripts</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#users-and-groups">11.4. System users and
+ "#users-and-groups">12.4. System users and
groups</a></span></dt>
- <dt><span class="sect1"><a href="#shells">11.5.
+ <dt><span class="sect1"><a href="#shells">12.5.
System shells</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#shells-disable">11.5.1. Disabling handling of
+ "#shells-disable">12.5.1. Disabling handling of
configuration files</a></span></dt>
</dl>
</dd>
</dl>
</dd>
- <dt><span class="chapter"><a href="#options">12. Options
+ <dt><span class="chapter"><a href="#options">13. Options
handling</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#global-default-options">12.1. Global default
+ "#global-default-options">13.1. Global default
options</a></span></dt>
<dt><span class="sect1"><a href=
- "#converting-to-options">12.2. Converting packages to
+ "#converting-to-options">13.2. Converting packages to
use <code class=
"filename">bsd.options.mk</code></a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#build">13. The build
+ <dt><span class="chapter"><a href="#build">14. The build
process</a></span></dt>
<dd>
<dl>
- <dt><span class="sect1"><a href="#build.prefix">13.1.
+ <dt><span class="sect1"><a href="#build.prefix">14.1.
Program location</a></span></dt>
- <dt><span class="sect1"><a href="#main-targets">13.2.
+ <dt><span class="sect1"><a href="#main-targets">14.2.
Main targets</a></span></dt>
<dt><span class="sect1"><a href=
- "#build.helpful-targets">13.3. Other helpful
+ "#build.helpful-targets">14.3. Other helpful
targets</a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#fixes">14. Notes on
+ <dt><span class="chapter"><a href="#fixes">15. Notes on
fixes for packages</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#general-operation">14.1. General
+ "#general-operation">15.1. General
operation</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#pulling-vars-from-etc-mk.conf">14.1.1. How to
+ "#pulling-vars-from-etc-mk.conf">15.1.1. How to
pull in variables from
/etc/mk.conf</a></span></dt>
<dt><span class="sect2"><a href=
- "#where-to-install-documentation">14.1.2. Where
+ "#where-to-install-documentation">15.1.2. Where
to install documentation</a></span></dt>
<dt><span class="sect2"><a href=
- "#restricted-packages">14.1.3. Restricted
+ "#restricted-packages">15.1.3. Restricted
packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#dependencies">14.1.4. Handling
+ "#dependencies">15.1.4. Handling
dependencies</a></span></dt>
<dt><span class="sect2"><a href=
- "#conflicts">14.1.5. Handling conflicts with
+ "#conflicts">15.1.5. Handling conflicts with
other packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#not-building-packages">14.1.6. Packages that
+ "#not-building-packages">15.1.6. Packages that
cannot or should not be built</a></span></dt>
<dt><span class="sect2"><a href=
- "#undeletable-packages">14.1.7. Packages which
+ "#undeletable-packages">15.1.7. Packages which
should not be deleted, once
installed</a></span></dt>
<dt><span class="sect2"><a href=
- "#security-handling">14.1.8. Handling packages
+ "#security-handling">15.1.8. Handling packages
with security problems</a></span></dt>
<dt><span class="sect2"><a href=
- "#compiler-bugs">14.1.9. How to handle compiler
+ "#compiler-bugs">15.1.9. How to handle compiler
bugs</a></span></dt>
<dt><span class="sect2"><a href=
- "#bumping-pkgrevision">14.1.10. How to handle
+ "#bumping-pkgrevision">15.1.10. How to handle
incrementing versions when fixing an existing
package</a></span></dt>
<dt><span class="sect2"><a href=
- "#portability-of-packages">14.1.11. Portability
+ "#portability-of-packages">15.1.11. Portability
of packages</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#downloading-issues">14.2. Possible downloading
+ "#downloading-issues">15.2. Possible downloading
issues</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#no-plain-download">14.2.1. Packages whose
+ "#no-plain-download">15.2.1. Packages whose
distfiles aren't available for plain
downloading</a></span></dt>
<dt><span class="sect2"><a href=
- "#modified-distfiles-same-name">14.2.2. How to
+ "#modified-distfiles-same-name">15.2.2. How to
handle modified distfiles with the 'old'
name</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#configuration-gotchas">14.3. Configuration
+ "#configuration-gotchas">15.3. Configuration
gotchas</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#fixes.libtool">14.3.1. Shared libraries -
+ "#fixes.libtool">15.3.1. Shared libraries -
libtool</a></span></dt>
<dt><span class="sect2"><a href=
- "#using-libtool">14.3.2. Using libtool on GNU
+ "#using-libtool">15.3.2. Using libtool on GNU
packages that already support
libtool</a></span></dt>
<dt><span class="sect2"><a href=
- "#autoconf-automake">14.3.3. GNU
+ "#autoconf-automake">15.3.3. GNU
Autoconf/Automake</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#building-considerations">14.4. Building
+ "#building-considerations">15.4. Building
considerations</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#cpp-defines">14.4.1. CPP
+ "#cpp-defines">15.4.1. CPP
defines</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#package-specific-actions">14.5. Package specific
+ "#package-specific-actions">15.5. Package specific
actions</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#user-interaction">14.5.1. User
+ "#user-interaction">15.5.1. User
interaction</a></span></dt>
<dt><span class="sect2"><a href=
- "#handling-licenses">14.5.2. Handling
+ "#handling-licenses">15.5.2. Handling
licenses</a></span></dt>
<dt><span class="sect2"><a href=
- "#installing-score-files">14.5.3. Installing
+ "#installing-score-files">15.5.3. Installing
score files</a></span></dt>
<dt><span class="sect2"><a href=
- "#perl-scripts">14.5.4. Packages containing perl
+ "#perl-scripts">15.5.4. Packages containing perl
scripts</a></span></dt>
<dt><span class="sect2"><a href=
- "#hardcoded-paths">14.5.5. Packages with
+ "#hardcoded-paths">15.5.5. Packages with
hardcoded paths to other
interpreters</a></span></dt>
<dt><span class="sect2"><a href=
- "#perl-modules">14.5.6. Packages installing perl
+ "#perl-modules">15.5.6. Packages installing perl
modules</a></span></dt>
<dt><span class="sect2"><a href=
- "#faq.info-files">14.5.7. Packages installing
+ "#faq.info-files">15.5.7. Packages installing
info files</a></span></dt>
<dt><span class="sect2"><a href=
- "#gconf2-data-files">14.5.8. Packages installing
+ "#gconf2-data-files">15.5.8. Packages installing
GConf2 data files</a></span></dt>
<dt><span class="sect2"><a href=
- "#scrollkeeper-data-files">14.5.9. Packages
+ "#scrollkeeper-data-files">15.5.9. Packages
installing scrollkeeper data
files</a></span></dt>
<dt><span class="sect2"><a href=
- "#x11-fonts">14.5.10. Packages installing X11
+ "#x11-fonts">15.5.10. Packages installing X11
fonts</a></span></dt>
<dt><span class="sect2"><a href=
- "#gtk2-modules">14.5.11. Packages installing GTK2
+ "#gtk2-modules">15.5.11. Packages installing GTK2
modules</a></span></dt>
<dt><span class="sect2"><a href=
- "#sgml-xml-data">14.5.12. Packages installing
+ "#sgml-xml-data">15.5.12. Packages installing
SGML or XML data</a></span></dt>
<dt><span class="sect2"><a href=
- "#mime-database">14.5.13. Packages installing
+ "#mime-database">15.5.13. Packages installing
extensions to the MIME database</a></span></dt>
<dt><span class="sect2"><a href=
- "#intltool">14.5.14. Packages using
+ "#intltool">15.5.14. Packages using
intltool</a></span></dt>
<dt><span class="sect2"><a href=
- "#startup-scripts">14.5.15. Packages installing
+ "#startup-scripts">15.5.15. Packages installing
startup scripts</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#feedback-to-author">14.6. Feedback to the
+ "#feedback-to-author">15.6. Feedback to the
author</a></span></dt>
</dl>
</dd>
- <dt><span class="chapter"><a href="#debug">15.
+ <dt><span class="chapter"><a href="#debug">16.
Debugging</a></span></dt>
- <dt><span class="chapter"><a href="#submit">16.
+ <dt><span class="chapter"><a href="#submit">17.
Submitting and Committing</a></span></dt>
<dd>
<dl>
<dt><span class="sect1"><a href=
- "#submitting-your-package">16.1. Submitting your
+ "#submitting-your-package">17.1. Submitting your
packages</a></span></dt>
<dt><span class="sect1"><a href=
- "#committing-importing">16.2. Committing: Importing a
+ "#committing-importing">17.2. Committing: Importing a
package into CVS</a></span></dt>
<dt><span class="sect1"><a href=
- "#updating-package">16.3. Updating a package to a
+ "#updating-package">17.3. Updating a package to a
newer version</a></span></dt>
<dt><span class="sect1"><a href=
- "#moving-package">16.4. Moving a package in
+ "#moving-package">17.4. Moving a package in
pkgsrc</a></span></dt>
</dl>
</dd>
@@ -5398,7 +5540,7 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
<div>
<div>
<h2 class="title"><a name="components" id=
- "components"></a>Chapter&nbsp;7.&nbsp;Package
+ "components"></a>Chapter&nbsp;8.&nbsp;Package
components - files, directories and contents</h2>
</div>
</div>
@@ -5409,28 +5551,28 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
<dl>
<dt><span class="sect1"><a href=
- "#components.Makefile">7.1. <code class=
+ "#components.Makefile">8.1. <code class=
"filename">Makefile</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#components.distinfo">7.2. <code class=
+ "#components.distinfo">8.2. <code class=
"filename">distinfo</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#components.patches">7.3. patches/*</a></span></dt>
+ "#components.patches">8.3. patches/*</a></span></dt>
<dt><span class="sect1"><a href=
- "#other-mandatory-files">7.4. Other mandatory
+ "#other-mandatory-files">8.4. Other mandatory
files</a></span></dt>
<dt><span class="sect1"><a href=
- "#components.optional">7.5. Optional
+ "#components.optional">8.5. Optional
files</a></span></dt>
- <dt><span class="sect1"><a href="#work-dir">7.6.
+ <dt><span class="sect1"><a href="#work-dir">8.6.
<code class="filename">work*</code></a></span></dt>
- <dt><span class="sect1"><a href="#files-dir">7.7.
+ <dt><span class="sect1"><a href="#files-dir">8.7.
<code class="filename">files/*</code></a></span></dt>
</dl>
</div>
@@ -5445,7 +5587,7 @@ SU_CMD=${LOCALBASE}/bin/sudo /bin/sh -c
<div>
<h2 class="title" style="clear: both"><a name=
"components.Makefile" id=
- "components.Makefile"></a>7.1.&nbsp;<code class=
+ "components.Makefile"></a>8.1.&nbsp;<code class=
"filename">Makefile</code></h2>
</div>
</div>
@@ -5630,8 +5772,8 @@ converters games mbone print x11
<li>
<p>If the package installs any info files, see
<a href="#faq.info-files" title=
- "14.5.7.&nbsp;Packages installing info files">Section
- 14.5.7, &#8220;Packages installing info
+ "15.5.7.&nbsp;Packages installing info files">Section
+ 15.5.7, &#8220;Packages installing info
files&#8221;</a>.</p>
</li>
@@ -5667,7 +5809,7 @@ converters games mbone print x11
<div>
<h2 class="title" style="clear: both"><a name=
"components.distinfo" id=
- "components.distinfo"></a>7.2.&nbsp;<code class=
+ "components.distinfo"></a>8.2.&nbsp;<code class=
"filename">distinfo</code></h2>
</div>
</div>
@@ -5712,7 +5854,7 @@ converters games mbone print x11
patches found in the <code class=
"filename">patches/</code> directory (see <a href=
"#components.patches" title=
- "7.3.&nbsp;patches/*">Section&nbsp;7.3,
+ "8.3.&nbsp;patches/*">Section&nbsp;8.3,
&#8220;patches/*&#8221;</a>) for the package is also
stored in the <code class="filename">distinfo</code>
file. This is a message digest/checksum of all lines in
@@ -5729,7 +5871,7 @@ converters games mbone print x11
<div>
<h2 class="title" style="clear: both"><a name=
"components.patches" id=
- "components.patches"></a>7.3.&nbsp;patches/*</h2>
+ "components.patches"></a>8.3.&nbsp;patches/*</h2>
</div>
</div>
</div>
@@ -5790,7 +5932,7 @@ converters games mbone print x11
<span><strong class="command">make
makepatchsum</strong></span> command, see <a href=
"#components.distinfo" title=
- "7.2.&nbsp;distinfo">Section&nbsp;7.2,
+ "8.2.&nbsp;distinfo">Section&nbsp;8.2,
&#8220;<code class="filename">distinfo</code>&#8221;</a>.</p>
<p>Patch files that are distributed by the author or
@@ -5821,7 +5963,7 @@ converters games mbone print x11
<div>
<h2 class="title" style="clear: both"><a name=
"other-mandatory-files" id=
- "other-mandatory-files"></a>7.4.&nbsp;Other
+ "other-mandatory-files"></a>8.4.&nbsp;Other
mandatory files</h2>
</div>
</div>
@@ -5851,7 +5993,7 @@ converters games mbone print x11
entered in this file, to control the creation and
deletion of directories, and the location of
inserted files. See <a href="#plist" title=
- "Chapter&nbsp;9.&nbsp;PLIST issues">Chapter&nbsp;9,
+ "Chapter&nbsp;10.&nbsp;PLIST issues">Chapter&nbsp;10,
<i>PLIST issues</i></a> for more information.</p>
</dd>
</dl>
@@ -5864,7 +6006,7 @@ converters games mbone print x11
<div>
<h2 class="title" style="clear: both"><a name=
"components.optional" id=
- "components.optional"></a>7.5.&nbsp;Optional
+ "components.optional"></a>8.5.&nbsp;Optional
files</h2>
</div>
</div>
@@ -5945,7 +6087,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "work-dir" id="work-dir"></a>7.6.&nbsp;<code class=
+ "work-dir" id="work-dir"></a>8.6.&nbsp;<code class=
"filename">work*</code></h2>
</div>
</div>
@@ -6006,7 +6148,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<div>
<h2 class="title" style="clear: both"><a name=
"files-dir" id=
- "files-dir"></a>7.7.&nbsp;<code class=
+ "files-dir"></a>8.7.&nbsp;<code class=
"filename">files/*</code></h2>
</div>
</div>
@@ -6029,7 +6171,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<div>
<div>
<h2 class="title"><a name="makefile" id=
- "makefile"></a>Chapter&nbsp;8.&nbsp;Programming in
+ "makefile"></a>Chapter&nbsp;9.&nbsp;Programming in
<code class="filename">Makefile</code>s</h2>
</div>
</div>
@@ -6040,41 +6182,41 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<dl>
<dt><span class="sect1"><a href=
- "#makefile.variables">8.1. <code class=
+ "#makefile.variables">9.1. <code class=
"filename">Makefile</code> variables</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#makefile.variables.names">8.1.1. Naming
+ "#makefile.variables.names">9.1.1. Naming
conventions</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#makefile.code">8.2.
+ <dt><span class="sect1"><a href="#makefile.code">9.2.
Code snippets</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#adding-to-list">8.2.1. Adding things to a
+ "#adding-to-list">9.2.1. Adding things to a
list</a></span></dt>
<dt><span class="sect2"><a href=
- "#converting-internal-to-external">8.2.2.
+ "#converting-internal-to-external">9.2.2.
Converting an internal list into an external
list</a></span></dt>
<dt><span class="sect2"><a href=
- "#passing-variable-to-shell">8.2.3. Passing
+ "#passing-variable-to-shell">9.2.3. Passing
variables to a shell command</a></span></dt>
<dt><span class="sect2"><a href=
- "#quoting-guideline">8.2.4. Quoting
+ "#quoting-guideline">9.2.4. Quoting
guideline</a></span></dt>
<dt><span class="sect2"><a href=
- "#bsd-make-bug-workaround">8.2.5. Workaround for a
+ "#bsd-make-bug-workaround">9.2.5. Workaround for a
bug in BSD Make</a></span></dt>
</dl>
</dd>
@@ -6112,7 +6254,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<div>
<h2 class="title" style="clear: both"><a name=
"makefile.variables" id=
- "makefile.variables"></a>8.1.&nbsp;<code class=
+ "makefile.variables"></a>9.1.&nbsp;<code class=
"filename">Makefile</code> variables</h2>
</div>
</div>
@@ -6218,7 +6360,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<div>
<h3 class="title"><a name=
"makefile.variables.names" id=
- "makefile.variables.names"></a>8.1.1.&nbsp;Naming
+ "makefile.variables.names"></a>9.1.1.&nbsp;Naming
conventions</h3>
</div>
</div>
@@ -6257,7 +6399,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<div>
<h2 class="title" style="clear: both"><a name=
"makefile.code" id=
- "makefile.code"></a>8.2.&nbsp;Code snippets</h2>
+ "makefile.code"></a>9.2.&nbsp;Code snippets</h2>
</div>
</div>
</div>
@@ -6272,7 +6414,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
<div>
<div>
<h3 class="title"><a name="adding-to-list" id=
- "adding-to-list"></a>8.2.1.&nbsp;Adding things to
+ "adding-to-list"></a>9.2.1.&nbsp;Adding things to
a list</h3>
</div>
</div>
@@ -6304,7 +6446,7 @@ EXT_LIST+= ${ANOTHER_EXT_LIST} # 4
<div>
<h3 class="title"><a name=
"converting-internal-to-external" id=
- "converting-internal-to-external"></a>8.2.2.&nbsp;Converting
+ "converting-internal-to-external"></a>9.2.2.&nbsp;Converting
an internal list into an external list</h3>
</div>
</div>
@@ -6331,7 +6473,7 @@ EXT_LIST+= ${i:Q}""
<div>
<h3 class="title"><a name=
"passing-variable-to-shell" id=
- "passing-variable-to-shell"></a>8.2.3.&nbsp;Passing
+ "passing-variable-to-shell"></a>9.2.3.&nbsp;Passing
variables to a shell command</h3>
</div>
</div>
@@ -6394,7 +6536,7 @@ all:
<div>
<div>
<h3 class="title"><a name="quoting-guideline" id=
- "quoting-guideline"></a>8.2.4.&nbsp;Quoting
+ "quoting-guideline"></a>9.2.4.&nbsp;Quoting
guideline</h3>
</div>
</div>
@@ -6522,7 +6664,7 @@ for_test:
<div>
<h3 class="title"><a name=
"bsd-make-bug-workaround" id=
- "bsd-make-bug-workaround"></a>8.2.5.&nbsp;Workaround
+ "bsd-make-bug-workaround"></a>9.2.5.&nbsp;Workaround
for a bug in BSD Make</h3>
</div>
</div>
@@ -6553,7 +6695,7 @@ for_test:
<div>
<div>
<h2 class="title"><a name="plist" id=
- "plist"></a>Chapter&nbsp;9.&nbsp;PLIST issues</h2>
+ "plist"></a>Chapter&nbsp;10.&nbsp;PLIST issues</h2>
</div>
</div>
</div>
@@ -6562,35 +6704,36 @@ for_test:
<p><b>Table of Contents</b></p>
<dl>
- <dt><span class="sect1"><a href="#rcs-id">9.1. RCS
+ <dt><span class="sect1"><a href="#rcs-id">10.1. RCS
ID</a></span></dt>
<dt><span class="sect1"><a href=
- "#automatic-plist-generation">9.2. Semi-automatic
+ "#automatic-plist-generation">10.2. Semi-automatic
<code class="filename">PLIST</code>
generation</a></span></dt>
- <dt><span class="sect1"><a href="#print-PLIST">9.3.
+ <dt><span class="sect1"><a href="#print-PLIST">10.3.
Tweaking output of <span><strong class="command">make
print-PLIST</strong></span></a></span></dt>
- <dt><span class="sect1"><a href="#plist.misc">9.4.
+ <dt><span class="sect1"><a href="#plist.misc">10.4.
Variable substitution in PLIST</a></span></dt>
<dt><span class="sect1"><a href=
- "#manpage-compression">9.5.
+ "#manpage-compression">10.5.
Manpage-compression</a></span></dt>
- <dt><span class="sect1"><a href="#using-PLIST_SRC">9.6.
- Changing PLIST source with <code class=
- "varname">PLIST_SRC</code></a></span></dt>
+ <dt><span class="sect1"><a href=
+ "#using-PLIST_SRC">10.6. Changing PLIST source with
+ <code class="varname">PLIST_SRC</code></a></span></dt>
<dt><span class="sect1"><a href=
- "#platform-specific-plist">9.7. Platform specific and
+ "#platform-specific-plist">10.7. Platform specific and
differing PLISTs</a></span></dt>
- <dt><span class="sect1"><a href="#faq.common-dirs">9.8.
- Sharing directories between packages</a></span></dt>
+ <dt><span class="sect1"><a href=
+ "#faq.common-dirs">10.8. Sharing directories between
+ packages</a></span></dt>
</dl>
</div>
@@ -6612,7 +6755,7 @@ for_test:
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "rcs-id" id="rcs-id"></a>9.1.&nbsp;RCS ID</h2>
+ "rcs-id" id="rcs-id"></a>10.1.&nbsp;RCS ID</h2>
</div>
</div>
</div>
@@ -6630,7 +6773,7 @@ for_test:
<div>
<h2 class="title" style="clear: both"><a name=
"automatic-plist-generation" id=
- "automatic-plist-generation"></a>9.2.&nbsp;Semi-automatic
+ "automatic-plist-generation"></a>10.2.&nbsp;Semi-automatic
<code class="filename">PLIST</code> generation</h2>
</div>
</div>
@@ -6640,7 +6783,7 @@ for_test:
print-PLIST</strong></span> command to output a PLIST
that matches any new files since the package was
extracted. See <a href="#build.helpful-targets" title=
- "13.3.&nbsp;Other helpful targets">Section&nbsp;13.3,
+ "14.3.&nbsp;Other helpful targets">Section&nbsp;14.3,
&#8220;Other helpful targets&#8221;</a> for more
information on this target.</p>
</div>
@@ -6651,7 +6794,7 @@ for_test:
<div>
<h2 class="title" style="clear: both"><a name=
"print-PLIST" id=
- "print-PLIST"></a>9.3.&nbsp;Tweaking output of
+ "print-PLIST"></a>10.3.&nbsp;Tweaking output of
<span><strong class="command">make
print-PLIST</strong></span></h2>
</div>
@@ -6660,7 +6803,7 @@ for_test:
<p>If you have used any of the *-dirs packages, as
explained in <a href="#faq.common-dirs" title=
- "9.8.&nbsp;Sharing directories between packages">Section&nbsp;9.8,
+ "10.8.&nbsp;Sharing directories between packages">Section&nbsp;10.8,
&#8220;Sharing directories between packages&#8221;</a>,
you may have noticed that <span><strong class=
"command">make print-PLIST</strong></span> outputs a set
@@ -6700,8 +6843,9 @@ for_test:
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "plist.misc" id="plist.misc"></a>9.4.&nbsp;Variable
- substitution in PLIST</h2>
+ "plist.misc" id=
+ "plist.misc"></a>10.4.&nbsp;Variable substitution
+ in PLIST</h2>
</div>
</div>
</div>
@@ -6808,7 +6952,7 @@ for_test:
variable in the following way, similar to <code class=
"varname">MESSAGE_SUBST</code> (see <a href=
"#components.optional" title=
- "7.5.&nbsp;Optional files">Section&nbsp;7.5,
+ "8.5.&nbsp;Optional files">Section&nbsp;8.5,
&#8220;Optional files&#8221;</a>):</p>
<pre class="programlisting">
PLIST_SUBST+= SOMEVAR="somevalue"
@@ -6825,7 +6969,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<div>
<h2 class="title" style="clear: both"><a name=
"manpage-compression" id=
- "manpage-compression"></a>9.5.&nbsp;Manpage-compression</h2>
+ "manpage-compression"></a>10.5.&nbsp;Manpage-compression</h2>
</div>
</div>
</div>
@@ -6850,7 +6994,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<div>
<h2 class="title" style="clear: both"><a name=
"using-PLIST_SRC" id=
- "using-PLIST_SRC"></a>9.6.&nbsp;Changing PLIST
+ "using-PLIST_SRC"></a>10.6.&nbsp;Changing PLIST
source with <code class=
"varname">PLIST_SRC</code></h2>
</div>
@@ -6874,7 +7018,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<div>
<h2 class="title" style="clear: both"><a name=
"platform-specific-plist" id=
- "platform-specific-plist"></a>9.7.&nbsp;Platform
+ "platform-specific-plist"></a>10.7.&nbsp;Platform
specific and differing PLISTs</h2>
</div>
</div>
@@ -6919,8 +7063,8 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<div>
<h2 class="title" style="clear: both"><a name=
"faq.common-dirs" id=
- "faq.common-dirs"></a>9.8.&nbsp;Sharing directories
- between packages</h2>
+ "faq.common-dirs"></a>10.8.&nbsp;Sharing
+ directories between packages</h2>
</div>
</div>
</div>
@@ -7009,7 +7153,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<div>
<div>
<h2 class="title"><a name="buildlink" id=
- "buildlink"></a>Chapter&nbsp;10.&nbsp;Buildlink
+ "buildlink"></a>Chapter&nbsp;11.&nbsp;Buildlink
methodology</h2>
</div>
</div>
@@ -7020,21 +7164,21 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<dl>
<dt><span class="sect1"><a href=
- "#converting-to-buildlink3">10.1. Converting packages
+ "#converting-to-buildlink3">11.1. Converting packages
to use buildlink3</a></span></dt>
<dt><span class="sect1"><a href=
- "#creating-buildlink3.mk">10.2. Writing <code class=
+ "#creating-buildlink3.mk">11.2. Writing <code class=
"filename">buildlink3.mk</code> files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#anatomy-of-bl3">10.2.1. Anatomy of a
+ "#anatomy-of-bl3">11.2.1. Anatomy of a
buildlink3.mk file</a></span></dt>
<dt><span class="sect2"><a href=
- "#updating-buildlink-depends">10.2.2. Updating
+ "#updating-buildlink-depends">11.2.2. Updating
<code class="varname">BUILDLINK_DEPENDS.<em class=
"replaceable"><code>pkg</code></em></code> in
<code class="filename">buildlink3.mk</code>
@@ -7043,18 +7187,18 @@ PLIST_SUBST+= SOMEVAR="somevalue"
</dd>
<dt><span class="sect1"><a href=
- "#writing-builtin.mk">10.3. Writing <code class=
+ "#writing-builtin.mk">11.3. Writing <code class=
"filename">builtin.mk</code> files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#anatomy-of-builtin.mk">10.3.1. Anatomy of a
+ "#anatomy-of-builtin.mk">11.3.1. Anatomy of a
<code class="filename">builtin.mk</code>
file</a></span></dt>
<dt><span class="sect2"><a href=
- "#native-or-pkgsrc-preference">10.3.2. Global
+ "#native-or-pkgsrc-preference">11.3.2. Global
preferences for native or pkgsrc
software</a></span></dt>
</dl>
@@ -7106,7 +7250,7 @@ PLIST_SUBST+= SOMEVAR="somevalue"
<div>
<h2 class="title" style="clear: both"><a name=
"converting-to-buildlink3" id=
- "converting-to-buildlink3"></a>10.1.&nbsp;Converting
+ "converting-to-buildlink3"></a>11.1.&nbsp;Converting
packages to use buildlink3</h2>
</div>
</div>
@@ -7252,7 +7396,7 @@ DEPENDS+= foo&gt;=1.1.0:../../category/foo
<div>
<h2 class="title" style="clear: both"><a name=
"creating-buildlink3.mk" id=
- "creating-buildlink3.mk"></a>10.2.&nbsp;Writing
+ "creating-buildlink3.mk"></a>11.2.&nbsp;Writing
<code class="filename">buildlink3.mk</code>
files</h2>
</div>
@@ -7293,7 +7437,7 @@ DEPENDS+= foo&gt;=1.1.0:../../category/foo
<div>
<div>
<h3 class="title"><a name="anatomy-of-bl3" id=
- "anatomy-of-bl3"></a>10.2.1. Anatomy of a
+ "anatomy-of-bl3"></a>11.2.1. Anatomy of a
buildlink3.mk file</h3>
</div>
</div>
@@ -7525,7 +7669,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
<div>
<h3 class="title"><a name=
"updating-buildlink-depends" id=
- "updating-buildlink-depends"></a>10.2.2. Updating
+ "updating-buildlink-depends"></a>11.2.2. Updating
<code class=
"varname">BUILDLINK_DEPENDS.<em class="replaceable">
<code>pkg</code></em></code> in <code class=
@@ -7577,8 +7721,8 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
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="14.1.4.&nbsp;Handling dependencies">Section
- 14.1.4, &#8220;Handling dependencies&#8221;</a> for
+ 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=
@@ -7592,7 +7736,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
<div>
<h2 class="title" style="clear: both"><a name=
"writing-builtin.mk" id=
- "writing-builtin.mk"></a>10.3.&nbsp;Writing
+ "writing-builtin.mk"></a>11.3.&nbsp;Writing
<code class="filename">builtin.mk</code> files</h2>
</div>
</div>
@@ -7646,7 +7790,7 @@ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
<div>
<h3 class="title"><a name="anatomy-of-builtin.mk"
id=
- "anatomy-of-builtin.mk"></a>10.3.1.&nbsp;Anatomy
+ "anatomy-of-builtin.mk"></a>11.3.1.&nbsp;Anatomy
of a <code class="filename">builtin.mk</code>
file</h3>
</div>
@@ -7773,7 +7917,7 @@ CHECK_BUILTIN.foo?= no
<div>
<h3 class="title"><a name=
"native-or-pkgsrc-preference" id=
- "native-or-pkgsrc-preference"></a>10.3.2.&nbsp;Global
+ "native-or-pkgsrc-preference"></a>11.3.2.&nbsp;Global
preferences for native or pkgsrc software</h3>
</div>
</div>
@@ -7821,7 +7965,7 @@ CHECK_BUILTIN.foo?= no
<div>
<div>
<h2 class="title"><a name="pkginstall" id=
- "pkginstall"></a>Chapter&nbsp;11.&nbsp;The pkginstall
+ "pkginstall"></a>Chapter&nbsp;12.&nbsp;The pkginstall
framework</h2>
</div>
</div>
@@ -7832,69 +7976,69 @@ CHECK_BUILTIN.foo?= no
<dl>
<dt><span class="sect1"><a href=
- "#files-and-dirs-outside-prefix">11.1. Files and
+ "#files-and-dirs-outside-prefix">12.1. Files and
directories outside the installation
prefix</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#dirs-outside-prefix">11.1.1. Directory
+ "#dirs-outside-prefix">12.1.1. Directory
manipulation</a></span></dt>
<dt><span class="sect2"><a href=
- "#files-outside-prefix">11.1.2. File
+ "#files-outside-prefix">12.1.2. File
manipulation</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#conf-files">11.2.
+ <dt><span class="sect1"><a href="#conf-files">12.2.
Configuration files</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#conf-files-sysconfdir">11.2.1. How <code class=
+ "#conf-files-sysconfdir">12.2.1. How <code class=
"varname">PKG_SYSCONFDIR</code> is
set</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-configure">11.2.2. Telling the
+ "#conf-files-configure">12.2.2. Telling the
software were configuration files
are</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-patching">11.2.3. Patching
+ "#conf-files-patching">12.2.3. Patching
installations</a></span></dt>
<dt><span class="sect2"><a href=
- "#conf-files-disable">11.2.4. Disabling handling of
+ "#conf-files-disable">12.2.4. Disabling handling of
configuration files</a></span></dt>
</dl>
</dd>
- <dt><span class="sect1"><a href="#rcd-scripts">11.3.
+ <dt><span class="sect1"><a href="#rcd-scripts">12.3.
System startup scripts</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#rcd-scripts-disable">11.3.1. Disabling handling
+ "#rcd-scripts-disable">12.3.1. Disabling handling
of system startup scripts</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#users-and-groups">11.4. System users and
+ "#users-and-groups">12.4. System users and
groups</a></span></dt>
- <dt><span class="sect1"><a href="#shells">11.5. System
+ <dt><span class="sect1"><a href="#shells">12.5. System
shells</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#shells-disable">11.5.1. Disabling handling of
+ "#shells-disable">12.5.1. Disabling handling of
configuration files</a></span></dt>
</dl>
</dd>
@@ -7960,7 +8104,7 @@ USE_PKGINSTALL=YES
<div>
<h2 class="title" style="clear: both"><a name=
"files-and-dirs-outside-prefix" id=
- "files-and-dirs-outside-prefix"></a>11.1. Files and
+ "files-and-dirs-outside-prefix"></a>12.1. Files and
directories outside the installation prefix</h2>
</div>
</div>
@@ -7993,7 +8137,7 @@ USE_PKGINSTALL=YES
<div>
<div>
<h3 class="title"><a name="dirs-outside-prefix"
- id="dirs-outside-prefix"></a>11.1.1. Directory
+ id="dirs-outside-prefix"></a>12.1.1. Directory
manipulation</h3>
</div>
</div>
@@ -8042,7 +8186,7 @@ MAKE_DIRS_PERMS+= ${VARBASE}/foo/private ${ROOT_USER} ${ROOT_GROUP} 0700
<div>
<div>
<h3 class="title"><a name="files-outside-prefix"
- id="files-outside-prefix"></a>11.1.2. File
+ id="files-outside-prefix"></a>12.1.2. File
manipulation</h3>
</div>
</div>
@@ -8108,7 +8252,7 @@ SUPPORT_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile ${ROOT_USER}
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "conf-files" id="conf-files"></a>11.2.
+ "conf-files" id="conf-files"></a>12.2.
Configuration files</h2>
</div>
</div>
@@ -8133,7 +8277,7 @@ SUPPORT_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile ${ROOT_USER}
<div>
<div>
<h3 class="title"><a name="conf-files-sysconfdir"
- id="conf-files-sysconfdir"></a>11.2.1. How
+ id="conf-files-sysconfdir"></a>12.2.1. How
<code class="varname">PKG_SYSCONFDIR</code> is
set</h3>
</div>
@@ -8239,7 +8383,7 @@ SUPPORT_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile ${ROOT_USER}
"filename">${PKG_SYSCONFDIR}</code> is automatically
added to <code class="filename">OWN_DIRS</code>. See
<a href="#dirs-outside-prefix" title=
- "11.1.1.&nbsp;Directory manipulation">Section 11.1.1,
+ "12.1.1.&nbsp;Directory manipulation">Section 12.1.1,
&#8220;Directory manipulation&#8221;</a> what this
means.</p>
</div>
@@ -8249,7 +8393,7 @@ SUPPORT_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile ${ROOT_USER}
<div>
<div>
<h3 class="title"><a name="conf-files-configure"
- id="conf-files-configure"></a>11.2.2. Telling the
+ id="conf-files-configure"></a>12.2.2. Telling the
software were configuration files are</h3>
</div>
</div>
@@ -8278,7 +8422,7 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
<div>
<div>
<h3 class="title"><a name="conf-files-patching"
- id="conf-files-patching"></a>11.2.3. Patching
+ id="conf-files-patching"></a>12.2.3. Patching
installations</h3>
</div>
</div>
@@ -8310,7 +8454,7 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
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=
- "11.1.2.&nbsp;File manipulation">Section 11.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=
@@ -8332,7 +8476,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
<div>
<div>
<h3 class="title"><a name="conf-files-disable"
- id="conf-files-disable"></a>11.2.4. Disabling
+ id="conf-files-disable"></a>12.2.4. Disabling
handling of configuration files</h3>
</div>
</div>
@@ -8350,7 +8494,7 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "rcd-scripts" id="rcd-scripts"></a>11.3. System
+ "rcd-scripts" id="rcd-scripts"></a>12.3. System
startup scripts</h2>
</div>
</div>
@@ -8361,8 +8505,8 @@ CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc
usually outside the installation prefix. Therefore, the
same rules described in <a href=
"#files-and-dirs-outside-prefix" title=
- "11.1.&nbsp;Files and directories outside the installation prefix">
- Section 11.1, &#8220;Files and directories outside the
+ "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
solutions can be used. However, pkginstall provides a
special mechanism to handle these files.</p>
@@ -8431,7 +8575,7 @@ RCD_SCRIPTS+= cupsd
<div>
<div>
<h3 class="title"><a name="rcd-scripts-disable"
- id="rcd-scripts-disable"></a>11.3.1. Disabling
+ id="rcd-scripts-disable"></a>12.3.1. Disabling
handling of system startup scripts</h3>
</div>
</div>
@@ -8452,7 +8596,7 @@ RCD_SCRIPTS+= cupsd
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "users-and-groups" id="users-and-groups"></a>11.4.
+ "users-and-groups" id="users-and-groups"></a>12.4.
System users and groups</h2>
</div>
</div>
@@ -8499,7 +8643,7 @@ group[:groupid]
<div>
<div>
<h2 class="title" style="clear: both"><a name=
- "shells" id="shells"></a>11.5. System shells</h2>
+ "shells" id="shells"></a>12.5. System shells</h2>
</div>
</div>
</div>
@@ -8530,7 +8674,7 @@ PKG_SHELL= ${PREFIX}/bin/zsh
<div>
<div>
<h3 class="title"><a name="shells-disable" id=
- "shells-disable"></a>11.5.1. Disabling handling
+ "shells-disable"></a>12.5.1. Disabling handling
of configuration files</h3>
</div>
</div>
@@ -8550,7 +8694,7 @@ PKG_SHELL= ${PREFIX}/bin/zsh
<div>
<div>
<h2 class="title"><a name="options" id=
- "options"></a>Chapter&nbsp;12.&nbsp;Options
+ "options"></a>Chapter&nbsp;13.&nbsp;Options
handling</h2>
</div>
</div>
@@ -8561,11 +8705,11 @@ PKG_SHELL= ${PREFIX}/bin/zsh
<dl>
<dt><span class="sect1"><a href=
- "#global-default-options">12.1. Global default
+ "#global-default-options">13.1. Global default
options</a></span></dt>
<dt><span class="sect1"><a href=
- "#converting-to-options">12.2. Converting packages to
+ "#converting-to-options">13.2. Converting packages to
use <code class=
"filename">bsd.options.mk</code></a></span></dt>
</dl>
@@ -8586,7 +8730,7 @@ PKG_SHELL= ${PREFIX}/bin/zsh
<div>
<h2 class="title" style="clear: both"><a name=
"global-default-options" id=
- "global-default-options"></a>12.1.&nbsp;Global
+ "global-default-options"></a>13.1.&nbsp;Global
default options</h2>
</div>
</div>
@@ -8605,7 +8749,7 @@ PKG_SHELL= ${PREFIX}/bin/zsh
<div>
<h2 class="title" style="clear: both"><a name=
"converting-to-options" id=
- "converting-to-options"></a>12.2.&nbsp;Converting
+ "converting-to-options"></a>13.2.&nbsp;Converting
packages to use <code class=
"filename">bsd.options.mk</code></h2>
</div>
@@ -8681,7 +8825,7 @@ CONFIGURE_ARGS+= --enable-ldap=${BUILDLINK_PREFIX.openldap}
that the user can set to override the default
options. It should be set to &#8220;<span class=
"quote">PKG_OPTIONS.<em class=
- "replaceable"><code>pkgname</code></em></span>&#8221;.</p>
+ "replaceable"><code>pkgbase</code></em></span>&#8221;.</p>
</li>
<li>
@@ -8816,7 +8960,7 @@ CONFIGURE_ARGS+= --enable-ldap=${BUILDLINK_PREFIX.openldap}
<div>
<div>
<h2 class="title"><a name="build" id=
- "build"></a>Chapter&nbsp;13.&nbsp;The build
+ "build"></a>Chapter&nbsp;14.&nbsp;The build
process</h2>
</div>
</div>
@@ -8826,14 +8970,14 @@ CONFIGURE_ARGS+= --enable-ldap=${BUILDLINK_PREFIX.openldap}
<p><b>Table of Contents</b></p>
<dl>
- <dt><span class="sect1"><a href="#build.prefix">13.1.
+ <dt><span class="sect1"><a href="#build.prefix">14.1.
Program location</a></span></dt>
- <dt><span class="sect1"><a href="#main-targets">13.2.
+ <dt><span class="sect1"><a href="#main-targets">14.2.
Main targets</a></span></dt>
<dt><span class="sect1"><a href=
- "#build.helpful-targets">13.3. Other helpful
+ "#build.helpful-targets">14.3. Other helpful
targets</a></span></dt>
</dl>
</div>
@@ -8856,7 +9000,7 @@ CONFIGURE_ARGS+= --enable-ldap=${BUILDLINK_PREFIX.openldap}
<div>
<h2 class="title" style="clear: both"><a name=
"build.prefix" id=
- "build.prefix"></a>13.1.&nbsp;Program location</h2>
+ "build.prefix"></a>14.1.&nbsp;Program location</h2>
</div>
</div>
</div>
@@ -8877,10 +9021,10 @@ CONFIGURE_ARGS+= --enable-ldap=${BUILDLINK_PREFIX.openldap}
be put into the various places in the program's source
where paths to these files are encoded. See <a href=
"#components.patches" title=
- "7.3.&nbsp;patches/*">Section&nbsp;7.3,
+ "8.3.&nbsp;patches/*">Section&nbsp;8.3,
&#8220;patches/*&#8221;</a> and <a href="#fixes.libtool"
title=
- "14.3.1.&nbsp;Shared libraries - libtool">Section&nbsp;14.3.1,
+ "15.3.1.&nbsp;Shared libraries - libtool">Section&nbsp;15.3.1,
&#8220;Shared libraries - libtool&#8221;</a> for more
details.</p>
@@ -9031,7 +9175,7 @@ GTKDIR_DEFAULT= ${LOCALBASE}
<div>
<h2 class="title" style="clear: both"><a name=
"main-targets" id=
- "main-targets"></a>13.2.&nbsp;Main targets</h2>
+ "main-targets"></a>14.2.&nbsp;Main targets</h2>
</div>
</div>
</div>
@@ -9157,7 +9301,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}
handed in <code class=
"varname">PATCH_DIST_ARGS</code>. See <a href=
"#components.patches" title=
- "7.3.&nbsp;patches/*">Section&nbsp;7.3,
+ "8.3.&nbsp;patches/*">Section&nbsp;8.3,
&#8220;patches/*&#8221;</a> for more details.</p>
<p>By default <a href=
@@ -9281,7 +9425,7 @@ make build
<div>
<h2 class="title" style="clear: both"><a name=
"build.helpful-targets" id=
- "build.helpful-targets"></a>13.3.&nbsp;Other
+ "build.helpful-targets"></a>14.3.&nbsp;Other
helpful targets</h2>
</div>
</div>
@@ -9721,7 +9865,7 @@ make build
won't catch them!</p>
<p>See <a href="#print-PLIST" title=
- "9.3.&nbsp;Tweaking output of make print-PLIST">Section&nbsp;9.3,
+ "10.3.&nbsp;Tweaking output of make print-PLIST">Section&nbsp;10.3,
&#8220;Tweaking output of <span><strong class=
"command">make
print-PLIST</strong></span>&#8221;</a> for more
@@ -9737,7 +9881,7 @@ make build
(and it's depends, if <code class=
"varname">PKG_DEPENDS</code> is set properly. See
<a href="#binary.configuration" title=
- "5.3.1.&nbsp;Configuration">Section&nbsp;5.3.1,
+ "6.3.1.&nbsp;Configuration">Section&nbsp;6.3.1,
&#8220;Configuration&#8221;</a>. After creating the
binary package, the sources, the just-installed
package and it's required packages are removed,
@@ -9799,7 +9943,7 @@ make build
<div>
<div>
<h2 class="title"><a name="fixes" id=
- "fixes"></a>Chapter&nbsp;14.&nbsp;Notes on fixes for
+ "fixes"></a>Chapter&nbsp;15.&nbsp;Notes on fixes for
packages</h2>
</div>
</div>
@@ -9810,179 +9954,179 @@ make build
<dl>
<dt><span class="sect1"><a href=
- "#general-operation">14.1. General
+ "#general-operation">15.1. General
operation</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#pulling-vars-from-etc-mk.conf">14.1.1. How to
+ "#pulling-vars-from-etc-mk.conf">15.1.1. How to
pull in variables from /etc/mk.conf</a></span></dt>
<dt><span class="sect2"><a href=
- "#where-to-install-documentation">14.1.2. Where to
+ "#where-to-install-documentation">15.1.2. Where to
install documentation</a></span></dt>
<dt><span class="sect2"><a href=
- "#restricted-packages">14.1.3. Restricted
+ "#restricted-packages">15.1.3. Restricted
packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#dependencies">14.1.4. Handling
+ "#dependencies">15.1.4. Handling
dependencies</a></span></dt>
<dt><span class="sect2"><a href=
- "#conflicts">14.1.5. Handling conflicts with other
+ "#conflicts">15.1.5. Handling conflicts with other
packages</a></span></dt>
<dt><span class="sect2"><a href=
- "#not-building-packages">14.1.6. Packages that
+ "#not-building-packages">15.1.6. Packages that
cannot or should not be built</a></span></dt>
<dt><span class="sect2"><a href=
- "#undeletable-packages">14.1.7. Packages which
+ "#undeletable-packages">15.1.7. Packages which
should not be deleted, once
installed</a></span></dt>
<dt><span class="sect2"><a href=
- "#security-handling">14.1.8. Handling packages with
+ "#security-handling">15.1.8. Handling packages with
security problems</a></span></dt>
<dt><span class="sect2"><a href=
- "#compiler-bugs">14.1.9. How to handle compiler
+ "#compiler-bugs">15.1.9. How to handle compiler
bugs</a></span></dt>
<dt><span class="sect2"><a href=
- "#bumping-pkgrevision">14.1.10. How to handle
+ "#bumping-pkgrevision">15.1.10. How to handle
incrementing versions when fixing an existing
package</a></span></dt>
<dt><span class="sect2"><a href=
- "#portability-of-packages">14.1.11. Portability of
+ "#portability-of-packages">15.1.11. Portability of
packages</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#downloading-issues">14.2. Possible downloading
+ "#downloading-issues">15.2. Possible downloading
issues</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#no-plain-download">14.2.1. Packages whose
+ "#no-plain-download">15.2.1. Packages whose
distfiles aren't available for plain
downloading</a></span></dt>
<dt><span class="sect2"><a href=
- "#modified-distfiles-same-name">14.2.2. How to
+ "#modified-distfiles-same-name">15.2.2. How to
handle modified distfiles with the 'old'
name</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#configuration-gotchas">14.3. Configuration
+ "#configuration-gotchas">15.3. Configuration
gotchas</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#fixes.libtool">14.3.1. Shared libraries -
+ "#fixes.libtool">15.3.1. Shared libraries -
libtool</a></span></dt>
<dt><span class="sect2"><a href=
- "#using-libtool">14.3.2. Using libtool on GNU
+ "#using-libtool">15.3.2. Using libtool on GNU
packages that already support
libtool</a></span></dt>
<dt><span class="sect2"><a href=
- "#autoconf-automake">14.3.3. GNU
+ "#autoconf-automake">15.3.3. GNU
Autoconf/Automake</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#building-considerations">14.4. Building
+ "#building-considerations">15.4. Building
considerations</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#cpp-defines">14.4.1. CPP defines</a></span></dt>
+ "#cpp-defines">15.4.1. CPP defines</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#package-specific-actions">14.5. Package specific
+ "#package-specific-actions">15.5. Package specific
actions</a></span></dt>
<dd>
<dl>
<dt><span class="sect2"><a href=
- "#user-interaction">14.5.1. User
+ "#user-interaction">15.5.1. User
interaction</a></span></dt>
<dt><span class="sect2"><a href=
- "#handling-licenses">14.5.2. Handling
+ "#handling-licenses">15.5.2. Handling
licenses</a></span></dt>
<dt><span class="sect2"><a href=
- "#installing-score-files">14.5.3. Installing score
+ "#installing-score-files">15.5.3. Installing score
files</a></span></dt>
<dt><span class="sect2"><a href=
- "#perl-scripts">14.5.4. Packages containing perl
+ "#perl-scripts">15.5.4. Packages containing perl
scripts</a></span></dt>
<dt><span class="sect2"><a href=
- "#hardcoded-paths">14.5.5. Packages with hardcoded
+ "#hardcoded-paths">15.5.5. Packages with hardcoded
paths to other interpreters</a></span></dt>
<dt><span class="sect2"><a href=
- "#perl-modules">14.5.6. Packages installing perl
+ "#perl-modules">15.5.6. Packages installing perl
modules</a></span></dt>
<dt><span class="sect2"><a href=
- "#faq.info-files">14.5.7. Packages installing info
+ "#faq.info-files">15.5.7. Packages installing info
files</a></span></dt>
<dt><span class="sect2"><a href=
- "#gconf2-data-files">14.5.8. Packages installing
+ "#gconf2-data-files">15.5.8. Packages installing
GConf2 data files</a></span></dt>
<dt><span class="sect2"><a href=
- "#scrollkeeper-data-files">14.5.9. Packages
+ "#scrollkeeper-data-files">15.5.9. Packages
installing scrollkeeper data files</a></span></dt>
<dt><span class="sect2"><a href=
- "#x11-fonts">14.5.10. Packages installing X11
+ "#x11-fonts">15.5.10. Packages installing X11
fonts</a></span></dt>
<dt><span class="sect2"><a href=
- "#gtk2-modules">14.5.11. Packages installing GTK2
+ "#gtk2-modules">15.5.11. Packages installing GTK2
modules</a></span></dt>
<dt><span class="sect2"><a href=
- "#sgml-xml-data">14.5.12. Packages installing SGML
+ "#sgml-xml-data">15.5.12. Packages installing SGML
or XML data</a></span></dt>
<dt><span class="sect2"><a href=
- "#mime-database">14.5.13. Packages installing
+ "#mime-database">15.5.13. Packages installing
extensions to the MIME database</a></span></dt>
<dt><span class="sect2"><a href=
- "#intltool">14.5.14. Packages using
+ "#intltool">15.5.14. Packages using
intltool</a></span></dt>
<dt><span class="sect2"><a href=
- "#startup-scripts">14.5.15. Packages installing
+ "#startup-scripts">15.5.15. Packages installing
startup scripts</a></span></dt>
</dl>
</dd>
<dt><span class="sect1"><a href=
- "#feedback-to-author">14.6. Feedback to the
+ "#feedback-to-author">15.6. Feedback to the
author</a></span></dt>
</dl>
</div>
@@ -9993,7 +10137,7 @@ make build
<div>
<h2 class="title" style="clear: both"><a name=
"general-operation" id=
- "general-operation"></a>14.1.&nbsp;General
+ "general-operation"></a>15.1.&nbsp;General
operation</h2>
</div>
</div>
@@ -10005,7 +10149,7 @@ make build
<div>
<h3 class="title"><a name=
"pulling-vars-from-etc-mk.conf" id=
- "pulling-vars-from-etc-mk.conf"></a>14.1.1.&nbsp;How
+ "pulling-vars-from-etc-mk.conf"></a>15.1.1.&nbsp;How
to pull in variables from /etc/mk.conf</h3>
</div>
</div>
@@ -10067,7 +10211,7 @@ CFLAGS+= -your -flags
<div>
<h3 class="title"><a name=
"where-to-install-documentation" id=
- "where-to-install-documentation"></a>14.1.2.&nbsp;Where
+ "where-to-install-documentation"></a>15.1.2.&nbsp;Where
to install documentation</h3>
</div>
</div>
@@ -10086,7 +10230,7 @@ CFLAGS+= -your -flags
<div>
<h3 class="title"><a name="restricted-packages"
id=
- "restricted-packages"></a>14.1.3.&nbsp;Restricted
+ "restricted-packages"></a>15.1.3.&nbsp;Restricted
packages</h3>
</div>
</div>
@@ -10165,7 +10309,7 @@ CFLAGS+= -your -flags
<div>
<div>
<h3 class="title"><a name="dependencies" id=
- "dependencies"></a>14.1.4.&nbsp;Handling
+ "dependencies"></a>15.1.4.&nbsp;Handling
dependencies</h3>
</div>
</div>
@@ -10180,7 +10324,7 @@ CFLAGS+= -your -flags
"filename">buildlink3.mk</code>, which is the preferred
way to handle dependencies, and which uses the
variables named above. See <a href="#buildlink" title=
- "Chapter&nbsp;10.&nbsp;Buildlink methodology">Chapter&nbsp;10,
+ "Chapter&nbsp;11.&nbsp;Buildlink methodology">Chapter&nbsp;11,
<i>Buildlink methodology</i></a> for more
information.</p>
@@ -10332,8 +10476,8 @@ RECOMMENDED+= tiff&gt;=3.6.1:../../graphics/tiff
vulnerabilities file as well as setting
<code class="varname">RECOMMENDED</code>, see
<a href="#security-handling" title=
- "14.1.8.&nbsp;Handling packages with security problems">
- Section 14.1.8, &#8220;Handling packages with
+ "15.1.8.&nbsp;Handling packages with security problems">
+ Section 15.1.8, &#8220;Handling packages with
security problems&#8221;</a> for more
information.</p>
</li>
@@ -10408,7 +10552,7 @@ pre-clean:
<div>
<div>
<h3 class="title"><a name="conflicts" id=
- "conflicts"></a>14.1.5.&nbsp;Handling conflicts
+ "conflicts"></a>15.1.5.&nbsp;Handling conflicts
with other packages</h3>
</div>
</div>
@@ -10457,7 +10601,7 @@ CONFLICTS= Xaw3d-[0-9]*
<div>
<h3 class="title"><a name="not-building-packages"
id=
- "not-building-packages"></a>14.1.6.&nbsp;Packages
+ "not-building-packages"></a>15.1.6.&nbsp;Packages
that cannot or should not be built</h3>
</div>
</div>
@@ -10490,7 +10634,7 @@ CONFLICTS= Xaw3d-[0-9]*
<div>
<h3 class="title"><a name="undeletable-packages"
id=
- "undeletable-packages"></a>14.1.7.&nbsp;Packages
+ "undeletable-packages"></a>15.1.7.&nbsp;Packages
which should not be deleted, once installed</h3>
</div>
</div>
@@ -10515,7 +10659,7 @@ CONFLICTS= Xaw3d-[0-9]*
<div>
<div>
<h3 class="title"><a name="security-handling" id=
- "security-handling"></a>14.1.8.&nbsp;Handling
+ "security-handling"></a>15.1.8.&nbsp;Handling
packages with security problems</h3>
</div>
</div>
@@ -10539,7 +10683,7 @@ CONFLICTS= Xaw3d-[0-9]*
"varname">BUILDLINK_RECOMMENDED.<em class=
"replaceable"><code>pkg</code></em></code> entry should
be considered. See <a href="#buildlink" title=
- "Chapter&nbsp;10.&nbsp;Buildlink methodology">Chapter&nbsp;10,
+ "Chapter&nbsp;11.&nbsp;Buildlink methodology">Chapter&nbsp;11,
<i>Buildlink methodology</i></a> for more information
about writing <code class=
"filename">buildlink3.mk</code> files and <code class=
@@ -10554,7 +10698,7 @@ CONFLICTS= Xaw3d-[0-9]*
<div>
<div>
<h3 class="title"><a name="compiler-bugs" id=
- "compiler-bugs"></a>14.1.9.&nbsp;How to handle
+ "compiler-bugs"></a>15.1.9.&nbsp;How to handle
compiler bugs</h3>
</div>
</div>
@@ -10580,7 +10724,7 @@ CONFLICTS= Xaw3d-[0-9]*
<div>
<div>
<h3 class="title"><a name="bumping-pkgrevision"
- id="bumping-pkgrevision"></a>14.1.10.&nbsp;How to
+ id="bumping-pkgrevision"></a>15.1.10.&nbsp;How to
handle incrementing versions when fixing an
existing package</h3>
</div>
@@ -10622,7 +10766,7 @@ DISTNAME= foo-17.43
<div>
<h3 class="title"><a name=
"portability-of-packages" id=
- "portability-of-packages"></a>14.1.11.&nbsp;Portability
+ "portability-of-packages"></a>15.1.11.&nbsp;Portability
of packages</h3>
</div>
</div>
@@ -10639,7 +10783,7 @@ DISTNAME= foo-17.43
<div>
<div>
<h4 class="title"><a name="install-scripts" id=
- "install-scripts"></a>14.1.11.1.&nbsp;${INSTALL},
+ "install-scripts"></a>15.1.11.1.&nbsp;${INSTALL},
${INSTALL_DATA_DIR}, ...</h4>
</div>
</div>
@@ -10665,7 +10809,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
<div>
<h2 class="title" style="clear: both"><a name=
"downloading-issues" id=
- "downloading-issues"></a>14.2.&nbsp;Possible
+ "downloading-issues"></a>15.2.&nbsp;Possible
downloading issues</h2>
</div>
</div>
@@ -10676,7 +10820,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
<div>
<div>
<h3 class="title"><a name="no-plain-download" id=
- "no-plain-download"></a>14.2.1.&nbsp;Packages
+ "no-plain-download"></a>15.2.1.&nbsp;Packages
whose distfiles aren't available for plain
downloading</h3>
</div>
@@ -10739,7 +10883,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
<div>
<h3 class="title"><a name=
"modified-distfiles-same-name" id=
- "modified-distfiles-same-name"></a>14.2.2.&nbsp;How
+ "modified-distfiles-same-name"></a>15.2.2.&nbsp;How
to handle modified distfiles with the 'old'
name</h3>
</div>
@@ -10780,7 +10924,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
<div>
<h2 class="title" style="clear: both"><a name=
"configuration-gotchas" id=
- "configuration-gotchas"></a>14.3.&nbsp;Configuration
+ "configuration-gotchas"></a>15.3.&nbsp;Configuration
gotchas</h2>
</div>
</div>
@@ -10791,7 +10935,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2
<div>
<div>
<h3 class="title"><a name="fixes.libtool" id=
- "fixes.libtool"></a>14.3.1.&nbsp;Shared libraries
+ "fixes.libtool"></a>15.3.1.&nbsp;Shared libraries
- libtool</h3>
</div>
</div>
@@ -11000,7 +11144,7 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib
<div>
<div>
<h3 class="title"><a name="using-libtool" id=
- "using-libtool"></a>14.3.2.&nbsp;Using libtool on
+ "using-libtool"></a>15.3.2.&nbsp;Using libtool on
GNU packages that already support libtool</h3>
</div>
</div>
@@ -11079,7 +11223,7 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_DATA} ${SOMELIB:.a=.la} ${PREFIX}/lib
<div>
<div>
<h3 class="title"><a name="autoconf-automake" id=
- "autoconf-automake"></a>14.3.3.&nbsp;GNU
+ "autoconf-automake"></a>15.3.3.&nbsp;GNU
Autoconf/Automake</h3>
</div>
</div>
@@ -11137,7 +11281,7 @@ pre-configure:
<div>
<h2 class="title" style="clear: both"><a name=
"building-considerations" id=
- "building-considerations"></a>14.4.&nbsp;Building
+ "building-considerations"></a>15.4.&nbsp;Building
considerations</h2>
</div>
</div>
@@ -11148,7 +11292,7 @@ pre-configure:
<div>
<div>
<h3 class="title"><a name="cpp-defines" id=
- "cpp-defines"></a>14.4.1.&nbsp;CPP defines</h3>
+ "cpp-defines"></a>15.4.1.&nbsp;CPP defines</h3>
</div>
</div>
</div>
@@ -11188,7 +11332,7 @@ pre-configure:
<div>
<h2 class="title" style="clear: both"><a name=
"package-specific-actions" id=
- "package-specific-actions"></a>14.5.&nbsp;Package
+ "package-specific-actions"></a>15.5.&nbsp;Package
specific actions</h2>
</div>
</div>
@@ -11199,7 +11343,7 @@ pre-configure:
<div>
<div>
<h3 class="title"><a name="user-interaction" id=
- "user-interaction"></a>14.5.1.&nbsp;User
+ "user-interaction"></a>15.5.1.&nbsp;User
interaction</h3>
</div>
</div>
@@ -11249,7 +11393,7 @@ INTERACTIVE_STAGE= configure install
<div>
<div>
<h3 class="title"><a name="handling-licenses" id=
- "handling-licenses"></a>14.5.2.&nbsp;Handling
+ "handling-licenses"></a>15.5.2.&nbsp;Handling
licenses</h3>
</div>
</div>
@@ -11325,7 +11469,7 @@ ACCEPTABLE_LICENSES+=graphviz-license
<div>
<h3 class="title"><a name=
"installing-score-files" id=
- "installing-score-files"></a>14.5.3.&nbsp;Installing
+ "installing-score-files"></a>15.5.3.&nbsp;Installing
score files</h3>
</div>
</div>
@@ -11363,7 +11507,7 @@ ACCEPTABLE_LICENSES+=graphviz-license
<div>
<div>
<h3 class="title"><a name="perl-scripts" id=
- "perl-scripts"></a>14.5.4.&nbsp;Packages
+ "perl-scripts"></a>15.5.4.&nbsp;Packages
containing perl scripts</h3>
</div>
</div>
@@ -11382,7 +11526,7 @@ ACCEPTABLE_LICENSES+=graphviz-license
<div>
<div>
<h3 class="title"><a name="hardcoded-paths" id=
- "hardcoded-paths"></a>14.5.5.&nbsp;Packages with
+ "hardcoded-paths"></a>15.5.5.&nbsp;Packages with
hardcoded paths to other interpreters</h3>
</div>
</div>
@@ -11409,7 +11553,7 @@ ACCEPTABLE_LICENSES+=graphviz-license
<div>
<div>
<h3 class="title"><a name="perl-modules" id=
- "perl-modules"></a>14.5.6.&nbsp;Packages
+ "perl-modules"></a>15.5.6.&nbsp;Packages
installing perl modules</h3>
</div>
</div>
@@ -11452,7 +11596,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="faq.info-files" id=
- "faq.info-files"></a>14.5.7.&nbsp;Packages
+ "faq.info-files"></a>15.5.7.&nbsp;Packages
installing info files</h3>
</div>
</div>
@@ -11549,7 +11693,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="gconf2-data-files" id=
- "gconf2-data-files"></a>14.5.8.&nbsp;Packages
+ "gconf2-data-files"></a>15.5.8.&nbsp;Packages
installing GConf2 data files</h3>
</div>
</div>
@@ -11590,8 +11734,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<p>Check the PLIST and remove any entries under
the etc/gconf directory, as they will be handled
automatically. See <a href="#faq.conf" title=
- "6.14.&nbsp;How do I change the location of configuration files?">
- Section&nbsp;6.14, &#8220;How do I change the
+ "7.14.&nbsp;How do I change the location of configuration files?">
+ Section&nbsp;7.14, &#8220;How do I change the
location of configuration files?&#8221;</a> for
more information.</p>
</li>
@@ -11625,7 +11769,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<h3 class="title"><a name=
"scrollkeeper-data-files" id=
- "scrollkeeper-data-files"></a>14.5.9.&nbsp;Packages
+ "scrollkeeper-data-files"></a>15.5.9.&nbsp;Packages
installing scrollkeeper data files</h3>
</div>
</div>
@@ -11670,7 +11814,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="x11-fonts" id=
- "x11-fonts"></a>14.5.10.&nbsp;Packages installing
+ "x11-fonts"></a>15.5.10.&nbsp;Packages installing
X11 fonts</h3>
</div>
</div>
@@ -11708,7 +11852,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="gtk2-modules" id=
- "gtk2-modules"></a>14.5.11.&nbsp;Packages
+ "gtk2-modules"></a>15.5.11.&nbsp;Packages
installing GTK2 modules</h3>
</div>
</div>
@@ -11775,7 +11919,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="sgml-xml-data" id=
- "sgml-xml-data"></a>14.5.12.&nbsp;Packages
+ "sgml-xml-data"></a>15.5.12.&nbsp;Packages
installing SGML or XML data</h3>
</div>
</div>
@@ -11837,7 +11981,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="mime-database" id=
- "mime-database"></a>14.5.13.&nbsp;Packages
+ "mime-database"></a>15.5.13.&nbsp;Packages
installing extensions to the MIME database</h3>
</div>
</div>
@@ -11896,7 +12040,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="intltool" id=
- "intltool"></a>14.5.14.&nbsp;Packages using
+ "intltool"></a>15.5.14.&nbsp;Packages using
intltool</h3>
</div>
</div>
@@ -11920,7 +12064,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h3 class="title"><a name="startup-scripts" id=
- "startup-scripts"></a>14.5.15.&nbsp;Packages
+ "startup-scripts"></a>15.5.15.&nbsp;Packages
installing startup scripts</h3>
</div>
</div>
@@ -11944,7 +12088,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<h2 class="title" style="clear: both"><a name=
"feedback-to-author" id=
- "feedback-to-author"></a>14.6.&nbsp;Feedback to the
+ "feedback-to-author"></a>15.6.&nbsp;Feedback to the
author</h2>
</div>
</div>
@@ -11968,7 +12112,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h2 class="title"><a name="debug" id=
- "debug"></a>Chapter&nbsp;15.&nbsp;Debugging</h2>
+ "debug"></a>Chapter&nbsp;16.&nbsp;Debugging</h2>
</div>
</div>
</div>
@@ -12067,7 +12211,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<p>Look at the <code class=
"filename">Makefile</code>, fix if necessary; see
<a href="#components.Makefile" title=
- "7.1.&nbsp;Makefile">Section&nbsp;7.1,
+ "8.1.&nbsp;Makefile">Section&nbsp;8.1,
&#8220;<code class=
"filename">Makefile</code>&#8221;</a>.</p>
</li>
@@ -12158,7 +12302,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<li>
<p>Submit (or commit, if you have cvs access); see
<a href="#submit" title=
- "Chapter&nbsp;16.&nbsp;Submitting and Committing">Chapter&nbsp;16,
+ "Chapter&nbsp;17.&nbsp;Submitting and Committing">Chapter&nbsp;17,
<i>Submitting and Committing</i></a>.</p>
</li>
</ul>
@@ -12170,7 +12314,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<div>
<h2 class="title"><a name="submit" id=
- "submit"></a>Chapter&nbsp;16.&nbsp;Submitting and
+ "submit"></a>Chapter&nbsp;17.&nbsp;Submitting and
Committing</h2>
</div>
</div>
@@ -12181,18 +12325,18 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<dl>
<dt><span class="sect1"><a href=
- "#submitting-your-package">16.1. Submitting your
+ "#submitting-your-package">17.1. Submitting your
packages</a></span></dt>
<dt><span class="sect1"><a href=
- "#committing-importing">16.2. Committing: Importing a
+ "#committing-importing">17.2. Committing: Importing a
package into CVS</a></span></dt>
<dt><span class="sect1"><a href=
- "#updating-package">16.3. Updating a package to a newer
+ "#updating-package">17.3. Updating a package to a newer
version</a></span></dt>
- <dt><span class="sect1"><a href="#moving-package">16.4.
+ <dt><span class="sect1"><a href="#moving-package">17.4.
Moving a package in pkgsrc</a></span></dt>
</dl>
</div>
@@ -12203,7 +12347,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<h2 class="title" style="clear: both"><a name=
"submitting-your-package" id=
- "submitting-your-package"></a>16.1.&nbsp;Submitting
+ "submitting-your-package"></a>17.1.&nbsp;Submitting
your packages</h2>
</div>
</div>
@@ -12226,8 +12370,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
packages and tell the world where to get them.
NetBSD developers doing bulk builds and wanting to
upload them please see <a href="#bulk-upload"
- title="5.3.8.&nbsp;Uploading results of a bulk build">
- Section&nbsp;5.3.8, &#8220;Uploading results of a
+ title="6.3.8.&nbsp;Uploading results of a bulk build">
+ Section&nbsp;6.3.8, &#8220;Uploading results of a
bulk build&#8221;</a>.</p>
</li>
@@ -12236,7 +12380,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<p>First, check that your package is complete,
compiles and runs well; see <a href="#debug" title=
- "Chapter&nbsp;15.&nbsp;Debugging">Chapter&nbsp;15,
+ "Chapter&nbsp;16.&nbsp;Debugging">Chapter&nbsp;16,
<i>Debugging</i></a> and the rest of this document.
Next, generate an uuencoded gzipped <a href=
"http://netbsd.gw.com/cgi-bin/man-cgi?tar+1+NetBSD-current">
@@ -12273,7 +12417,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<h2 class="title" style="clear: both"><a name=
"committing-importing" id=
- "committing-importing"></a>16.2.&nbsp;Committing:
+ "committing-importing"></a>17.2.&nbsp;Committing:
Importing a package into CVS</h2>
</div>
</div>
@@ -12330,7 +12474,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<h2 class="title" style="clear: both"><a name=
"updating-package" id=
- "updating-package"></a>16.3.&nbsp;Updating a
+ "updating-package"></a>17.3.&nbsp;Updating a
package to a newer version</h2>
</div>
</div>
@@ -12382,7 +12526,7 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
<div>
<h2 class="title" style="clear: both"><a name=
"moving-package" id=
- "moving-package"></a>16.4.&nbsp;Moving a package in
+ "moving-package"></a>17.4.&nbsp;Moving a package in
pkgsrc</h2>
</div>
</div>
@@ -12654,8 +12798,8 @@ looks fine.
<p>Create <code class="filename">Makefile</code>,
<code class="filename">DESCR</code> and <code class=
"filename">PLIST</code> (see <a href="#components" title=
- "Chapter&nbsp;7.&nbsp;Package components - files, directories and contents">
- Chapter 7, <i>Package components - files, directories and
+ "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
distfile:</p>
<pre class="screen">
@@ -13010,8 +13154,8 @@ Registering depends:.
<ol type="1">
<li>
<p>Run bulk build, see <a href="#bulkbuild" title=
- "5.3.&nbsp;Doing a bulk build of all packages">Section
- 5.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>