From 11ecc803873687b05d13707f9d8d06cf0a2484f7 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 28 Apr 2019 15:22:38 +0000 Subject: doc/pkgsrc.*: regen --- doc/pkgsrc.html | 3751 ++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 2578 insertions(+), 1173 deletions(-) (limited to 'doc/pkgsrc.html') diff --git a/doc/pkgsrc.html b/doc/pkgsrc.html index 0aab89a84dd..0084cf8816e 100644 --- a/doc/pkgsrc.html +++ b/doc/pkgsrc.html @@ -31,7 +31,7 @@
-

$NetBSD: pkgsrc.xml,v 1.33 2019/01/01 02:50:23 jnemeth Exp $

+

$NetBSD: pkgsrc.xml,v 1.34 2019/04/28 13:41:18 rillig Exp $

Abstract

pkgsrc is a centralized package management system for @@ -60,359 +60,361 @@

I. The pkgsrc user's guide
-
2. Where to get pkgsrc and how to keep it up-to-date
+
2. Getting help
+
3. Where to get pkgsrc and how to keep it up-to-date
-
2.1. Getting pkgsrc for the first time
+
3.1. Getting pkgsrc for the first time
-
2.1.1. As tar archive
-
2.1.2. Via anonymous CVS
+
3.1.1. As tar archive
+
3.1.2. Via anonymous CVS
-
2.2. Keeping pkgsrc up-to-date
+
3.2. Keeping pkgsrc up-to-date
-
2.2.1. Via tar files
-
2.2.2. Via CVS
+
3.2.1. Via tar files
+
3.2.2. Via CVS
-
3. Using pkgsrc on systems other than NetBSD
+
4. Using pkgsrc on systems other than NetBSD
-
3.1. Binary distribution
-
3.2. Bootstrapping pkgsrc
+
4.1. Binary distribution
+
4.2. Bootstrapping pkgsrc
-
4. Using pkgsrc
+
5. Using pkgsrc
-
4.1. Using binary packages
+
5.1. Using binary packages
-
4.1.1. Finding binary packages
-
4.1.2. Installing binary packages
-
4.1.3. Deinstalling packages
-
4.1.4. Getting information about installed packages
-
4.1.5. Checking for security vulnerabilities in installed packages
-
4.1.6. Finding if newer versions of your installed packages are in pkgsrc
-
4.1.7. Other administrative functions
+
5.1.1. Finding binary packages
+
5.1.2. Installing binary packages
+
5.1.3. Deinstalling packages
+
5.1.4. Getting information about installed packages
+
5.1.5. Checking for security vulnerabilities in installed packages
+
5.1.6. Finding if newer versions of your installed packages are in pkgsrc
+
5.1.7. Other administrative functions
-
4.2. Building packages from source
+
5.2. Building packages from source
-
4.2.1. Requirements
-
4.2.2. Fetching distfiles
-
4.2.3. How to build and install
+
5.2.1. Requirements
+
5.2.2. Fetching distfiles
+
5.2.3. How to build and install
-
5. Configuring pkgsrc
+
6. Configuring pkgsrc
-
5.1. General configuration
-
5.2. Variables affecting the build process
-
5.3. Variables affecting the installation process
-
5.4. Selecting and configuring the compiler
+
6.1. General configuration
+
6.2. Variables affecting the build process
+
6.3. Variables affecting the installation process
+
6.4. Selecting and configuring the compiler
-
5.4.1. Selecting the compiler
-
5.4.2. Additional flags to the compiler (CFLAGS)
-
5.4.3. Additional flags to the linker (LDFLAGS)
+
6.4.1. Selecting the compiler
+
6.4.2. Additional flags to the compiler (CFLAGS)
+
6.4.3. Additional flags to the linker (LDFLAGS)
-
5.5. Developer/advanced settings
-
5.6. Selecting Build Options
+
6.5. Developer/advanced settings
+
6.6. Selecting Build Options
-
6. Creating binary packages
+
7. Creating binary packages
-
6.1. Building a single binary package
-
6.2. Settings for creation of binary packages
+
7.1. Building a single binary package
+
7.2. Settings for creation of binary packages
-
7. Creating binary packages for everything in pkgsrc (bulk +
8. Creating binary packages for everything in pkgsrc (bulk builds)
-
7.1. Preparations
-
7.2. Running a pbulk-style bulk build
-
7.2.1. Configuration
-
7.3. Requirements of a full bulk build
-
7.4. Creating a multiple CD-ROM packages collection
-
7.4.1. Example of cdpack
-
-
8. Directory layout of the installed files
-
-
8.1. File system layout in ${LOCALBASE}
-
8.2. File system layout in ${VARBASE}
-
-
9. Frequently Asked Questions
-
-
9.1. Are there any mailing lists for pkg-related discussion?
-
9.2. Utilities for package management (pkgtools)
-
9.3. How to use pkgsrc as non-root
-
9.4. How to resume transfers when fetching distfiles?
-
9.5. How can I install/use modular X.org from pkgsrc?
-
9.6. How to fetch files from behind a firewall
-
9.7. How to fetch files from HTTPS sites
-
9.8. How do I tell make fetch to do passive FTP?
-
9.9. How to fetch all distfiles at once
-
9.10. What does Don't know how to make +
8.1. Preparations
+
8.2. Running a pbulk-style bulk build
+
8.2.1. Configuration
+
8.3. Requirements of a full bulk build
+
8.4. Creating a multiple CD-ROM packages collection
+
8.4.1. Example of cdpack
+
+
9. Directory layout of the installed files
+
+
9.1. File system layout in ${LOCALBASE}
+
9.2. File system layout in ${VARBASE}
+
+
10. Frequently Asked Questions
+
+
10.1. Are there any mailing lists for pkg-related discussion?
+
10.2. Utilities for package management (pkgtools)
+
10.3. How to use pkgsrc as non-root
+
10.4. How to resume transfers when fetching distfiles?
+
10.5. How can I install/use modular X.org from pkgsrc?
+
10.6. How to fetch files from behind a firewall
+
10.7. How to fetch files from HTTPS sites
+
10.8. How do I tell make fetch to do passive FTP?
+
10.9. How to fetch all distfiles at once
+
10.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?
-
9.11. What does Could not find bsd.own.mk mean?
-
9.12. Using 'sudo' with pkgsrc
-
9.13. How do I change the location of configuration files?
-
9.14. Automated security checks
-
9.15. Why do some packages ignore my CFLAGS?
-
9.16. A package does not build. What shall I do?
-
9.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?
+
10.11. What does Could not find bsd.own.mk mean?
+
10.12. Using 'sudo' with pkgsrc
+
10.13. How do I change the location of configuration files?
+
10.14. Automated security checks
+
10.15. Why do some packages ignore my CFLAGS?
+
10.16. A package does not build. What shall I do?
+
10.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?
II. The pkgsrc developer's guide
-
10. Creating a new pkgsrc package from scratch
+
11. Getting help
+
12. Creating a new pkgsrc package from scratch
-
10.1. Common types of packages
+
12.1. Common types of packages
-
10.1.1. Perl modules
-
10.1.2. Python modules and programs
+
12.1.1. Perl modules
+
12.1.2. Python modules and programs
-
10.2. Examples
-
10.2.1. How the www/nvu package came into pkgsrc
+
12.2. Examples
+
12.2.1. How the www/nvu package came into pkgsrc
-
11. Package components - files, directories and contents
+
13. Package components - files, directories and contents
-
11.1. Makefile
-
11.2. distinfo
-
11.3. patches/*
+
13.1. Makefile
+
13.2. distinfo
+
13.3. patches/*
-
11.3.1. Structure of a single patch file
-
11.3.2. Creating patch files
-
11.3.3. Sources where the patch files come from
-
11.3.4. Patching guidelines
-
11.3.5. Feedback to the author
+
13.3.1. Structure of a single patch file
+
13.3.2. Creating patch files
+
13.3.3. Sources where the patch files come from
+
13.3.4. Patching guidelines
+
13.3.5. Feedback to the author
-
11.4. Other mandatory files
-
11.5. Optional files
+
13.4. Other mandatory files
+
13.5. Optional files
-
11.5.1. Files affecting the binary package
-
11.5.2. Files affecting the build process
-
11.5.3. Files affecting nothing at all
+
13.5.1. Files affecting the binary package
+
13.5.2. Files affecting the build process
+
13.5.3. Files affecting nothing at all
-
11.6. work*
-
11.7. files/*
+
13.6. work*
+
13.7. files/*
-
12. Programming in Makefiles
+
14. Programming in Makefiles
-
12.1. Caveats
-
12.2. Makefile variables
-
12.2.1. Naming conventions
-
12.3. Code snippets
+
14.1. Caveats
+
14.2. Makefile variables
+
14.2.1. Naming conventions
+
14.3. Code snippets
-
12.3.1. Adding things to a list
-
12.3.2. Echoing a string exactly as-is
-
12.3.3. Passing CFLAGS to GNU configure scripts
-
12.3.4. Handling possibly empty variables
+
14.3.1. Adding things to a list
+
14.3.2. Echoing a string exactly as-is
+
14.3.3. Passing CFLAGS to GNU configure scripts
+
14.3.4. Handling possibly empty variables
-
13. PLIST issues
+
15. PLIST issues
-
13.1. RCS ID
-
13.2. Semi-automatic PLIST generation
-
13.3. Tweaking output of make print-PLIST
-
13.4. Variable substitution in PLIST
-
13.5. Man page compression
-
13.6. Changing PLIST source with PLIST_SRC
-
13.7. Platform-specific and differing PLISTs
-
13.8. Build-specific PLISTs
-
13.9. Sharing directories between packages
+
15.1. RCS ID
+
15.2. Semi-automatic PLIST generation
+
15.3. Tweaking output of make print-PLIST
+
15.4. Variable substitution in PLIST
+
15.5. Man page compression
+
15.6. Changing PLIST source with PLIST_SRC
+
15.7. Platform-specific and differing PLISTs
+
15.8. Build-specific PLISTs
+
15.9. Sharing directories between packages
-
14. Buildlink methodology
+
16. Buildlink methodology
-
14.1. Converting packages to use buildlink3
-
14.2. Writing buildlink3.mk files
+
16.1. Converting packages to use buildlink3
+
16.2. Writing buildlink3.mk files
-
14.2.1. Anatomy of a buildlink3.mk file
-
14.2.2. Updating +
16.2.1. Anatomy of a buildlink3.mk file
+
16.2.2. Updating BUILDLINK_API_DEPENDS.pkg and BUILDLINK_ABI_DEPENDS.pkg in buildlink3.mk files
-
14.3. Writing builtin.mk files
+
16.3. Writing builtin.mk files
-
14.3.1. Anatomy of a builtin.mk file
-
14.3.2. Global preferences for native or pkgsrc software
+
16.3.1. Anatomy of a builtin.mk file
+
16.3.2. Global preferences for native or pkgsrc software
-
15. The pkginstall framework
+
17. The pkginstall framework
-
15.1. Files and directories outside the installation prefix
+
17.1. Files and directories outside the installation prefix
-
15.1.1. Directory manipulation
-
15.1.2. File manipulation
+
17.1.1. Directory manipulation
+
17.1.2. File manipulation
-
15.2. Configuration files
+
17.2. Configuration files
-
15.2.1. How PKG_SYSCONFDIR is set
-
15.2.2. Telling the software where configuration files are
-
15.2.3. Patching installations
-
15.2.4. Disabling handling of configuration files
+
17.2.1. How PKG_SYSCONFDIR is set
+
17.2.2. Telling the software where configuration files are
+
17.2.3. Patching installations
+
17.2.4. Disabling handling of configuration files
-
15.3. System startup scripts
-
15.3.1. Disabling handling of system startup scripts
-
15.4. System users and groups
-
15.5. System shells
-
15.5.1. Disabling shell registration
-
15.6. Fonts
-
15.6.1. Disabling automatic update of the fonts databases
-
-
16. Options handling
-
-
16.1. Global default options
-
16.2. Converting packages to use bsd.options.mk
-
16.3. Option Names
-
16.4. Determining the options of dependencies
-
-
17. The build process
-
-
17.1. Introduction
-
17.2. Program location
-
17.3. Directories used during the build process
-
17.4. Running a phase
-
17.5. The fetch phase
-
-
17.5.1. What to fetch and where to get it from
-
17.5.2. How are the files fetched?
-
-
17.6. The checksum phase
-
17.7. The extract phase
-
17.8. The patch phase
-
17.9. The tools phase
-
17.10. The wrapper phase
-
17.11. The configure phase
-
17.12. The build phase
-
17.13. The test phase
-
17.14. The install phase
-
17.15. The package phase
-
17.16. Cleaning up
-
17.17. Other helpful targets
-
-
18. Tools needed for building or running
-
-
18.1. Tools for pkgsrc builds
-
18.2. Tools needed by packages
-
18.3. Tools provided by platforms
-
-
19. Making your package work
-
-
19.1. General operation
-
-
19.1.1. How to pull in user-settable variables from mk.conf
-
19.1.2. User interaction
-
19.1.3. Handling licenses
-
19.1.4. Restricted packages
-
19.1.5. Handling dependencies
-
19.1.6. Handling conflicts with other packages
-
19.1.7. Packages that cannot or should not be built
-
19.1.8. Packages which should not be deleted, once installed
-
19.1.9. Handling packages with security problems
-
19.1.10. How to handle incrementing versions when fixing an existing package
-
19.1.11. Substituting variable text in the package files (the SUBST framework)
-
-
19.2. The fetch phase
-
-
19.2.1. Packages whose distfiles aren't available for plain downloading
-
19.2.2. How to handle modified distfiles with the 'old' name
-
19.2.3. Packages hosted on github.com
-
-
19.3. The configure phase
-
-
19.3.1. Shared libraries - libtool
-
19.3.2. Using libtool on GNU packages that already support libtool
-
19.3.3. GNU Autoconf/Automake
-
-
19.4. Programming languages
-
-
19.4.1. C, C++, and Fortran
-
19.4.2. Java
-
19.4.3. Packages containing perl scripts
-
19.4.4. Packages containing shell scripts
-
19.4.5. Other programming languages
-
-
19.5. The build phase
-
-
19.5.1. Compiling C and C++ code conditionally
-
19.5.2. How to handle compiler bugs
-
19.5.3. Undefined reference to ...
-
19.5.4. Running out of memory
-
-
19.6. The install phase
-
-
19.6.1. Creating needed directories
-
19.6.2. Where to install documentation
-
19.6.3. Installing highscore files
-
19.6.4. Adding DESTDIR support to packages
-
19.6.5. Packages with hardcoded paths to other interpreters
-
19.6.6. Packages installing perl modules
-
19.6.7. Packages installing info files
-
19.6.8. Packages installing man pages
-
19.6.9. Packages installing GConf data files
-
19.6.10. Packages installing scrollkeeper/rarian data files
-
19.6.11. Packages installing X11 fonts
-
19.6.12. Packages installing GTK2 modules
-
19.6.13. Packages installing SGML or XML data
-
19.6.14. Packages installing extensions to the MIME database
-
19.6.15. Packages using intltool
-
19.6.16. Packages installing startup scripts
-
19.6.17. Packages installing TeX modules
-
19.6.18. Packages supporting running binaries in +
17.3. System startup scripts
+
17.3.1. Disabling handling of system startup scripts
+
17.4. System users and groups
+
17.5. System shells
+
17.5.1. Disabling shell registration
+
17.6. Fonts
+
17.6.1. Disabling automatic update of the fonts databases
+
+
18. Options handling
+
+
18.1. Global default options
+
18.2. Converting packages to use bsd.options.mk
+
18.3. Option Names
+
18.4. Determining the options of dependencies
+
+
19. The build process
+
+
19.1. Introduction
+
19.2. Program location
+
19.3. Directories used during the build process
+
19.4. Running a phase
+
19.5. The fetch phase
+
+
19.5.1. What to fetch and where to get it from
+
19.5.2. How are the files fetched?
+
+
19.6. The checksum phase
+
19.7. The extract phase
+
19.8. The patch phase
+
19.9. The tools phase
+
19.10. The wrapper phase
+
19.11. The configure phase
+
19.12. The build phase
+
19.13. The test phase
+
19.14. The install phase
+
19.15. The package phase
+
19.16. Cleaning up
+
19.17. Other helpful targets
+
+
20. Tools needed for building or running
+
+
20.1. Tools for pkgsrc builds
+
20.2. Tools needed by packages
+
20.3. Tools provided by platforms
+
+
21. Making your package work
+
+
21.1. General operation
+
+
21.1.1. How to pull in user-settable variables from mk.conf
+
21.1.2. User interaction
+
21.1.3. Handling licenses
+
21.1.4. Restricted packages
+
21.1.5. Handling dependencies
+
21.1.6. Handling conflicts with other packages
+
21.1.7. Packages that cannot or should not be built
+
21.1.8. Packages which should not be deleted, once installed
+
21.1.9. Handling packages with security problems
+
21.1.10. How to handle incrementing versions when fixing an existing package
+
21.1.11. Substituting variable text in the package files (the SUBST framework)
+
+
21.2. The fetch phase
+
+
21.2.1. Packages whose distfiles aren't available for plain downloading
+
21.2.2. How to handle modified distfiles with the 'old' name
+
21.2.3. Packages hosted on github.com
+
+
21.3. The configure phase
+
+
21.3.1. Shared libraries - libtool
+
21.3.2. Using libtool on GNU packages that already support libtool
+
21.3.3. GNU Autoconf/Automake
+
+
21.4. Programming languages
+
+
21.4.1. C, C++, and Fortran
+
21.4.2. Java
+
21.4.3. Packages containing perl scripts
+
21.4.4. Packages containing shell scripts
+
21.4.5. Other programming languages
+
+
21.5. The build phase
+
+
21.5.1. Compiling C and C++ code conditionally
+
21.5.2. How to handle compiler bugs
+
21.5.3. Undefined reference to ...
+
21.5.4. Running out of memory
+
+
21.6. The install phase
+
+
21.6.1. Creating needed directories
+
21.6.2. Where to install documentation
+
21.6.3. Installing highscore files
+
21.6.4. Adding DESTDIR support to packages
+
21.6.5. Packages with hardcoded paths to other interpreters
+
21.6.6. Packages installing perl modules
+
21.6.7. Packages installing info files
+
21.6.8. Packages installing man pages
+
21.6.9. Packages installing GConf data files
+
21.6.10. Packages installing scrollkeeper/rarian data files
+
21.6.11. Packages installing X11 fonts
+
21.6.12. Packages installing GTK2 modules
+
21.6.13. Packages installing SGML or XML data
+
21.6.14. Packages installing extensions to the MIME database
+
21.6.15. Packages using intltool
+
21.6.16. Packages installing startup scripts
+
21.6.17. Packages installing TeX modules
+
21.6.18. Packages supporting running binaries in emulation
-
19.6.19. Packages installing hicolor theme icons
-
19.6.20. Packages installing desktop files
+
21.6.19. Packages installing hicolor theme icons
+
21.6.20. Packages installing desktop files
-
19.7. Marking packages as having problems
+
21.7. Marking packages as having problems
-
20. Debugging
-
21. Submitting and Committing
+
22. Debugging
+
23. Submitting and Committing
-
21.1. Submitting binary packages
-
21.2. Submitting source packages (for non-NetBSD-developers)
-
21.3. General notes when adding, updating, or removing packages
-
21.4. Commit Messages
-
21.5. Committing: Adding a package to CVS
-
21.6. Updating a package to a newer version
-
21.7. Renaming a package in pkgsrc
-
21.8. Moving a package in pkgsrc
+
23.1. Submitting binary packages
+
23.2. Submitting source packages (for non-NetBSD-developers)
+
23.3. General notes when adding, updating, or removing packages
+
23.4. Commit Messages
+
23.5. Committing: Adding a package to CVS
+
23.6. Updating a package to a newer version
+
23.7. Renaming a package in pkgsrc
+
23.8. Moving a package in pkgsrc
-
22. Frequently Asked Questions
-
23. GNOME packaging and porting
+
24. Frequently Asked Questions
+
25. GNOME packaging and porting
-
23.1. Meta packages
-
23.2. Packaging a GNOME application
-
23.3. Updating GNOME to a newer version
-
23.4. Patching guidelines
+
25.1. Meta packages
+
25.2. Packaging a GNOME application
+
25.3. Updating GNOME to a newer version
+
25.4. Patching guidelines
III. The pkgsrc infrastructure internals
-
24. Design of the pkgsrc infrastructure
+
26. Design of the pkgsrc infrastructure
-
24.1. The meaning of variable definitions
-
24.2. Avoiding problems before they arise
-
24.3. Variable evaluation
+
26.1. The meaning of variable definitions
+
26.2. Avoiding problems before they arise
+
26.3. Variable evaluation
-
24.3.1. At load time
-
24.3.2. At runtime
+
26.3.1. At load time
+
26.3.2. At runtime
-
24.4. How can variables be specified?
-
24.5. Designing interfaces for Makefile fragments
+
26.4. How can variables be specified?
+
26.5. Designing interfaces for Makefile fragments
-
24.5.1. Procedures with parameters
-
24.5.2. Actions taken on behalf of parameters
+
26.5.1. Procedures with parameters
+
26.5.2. Actions taken on behalf of parameters
-
24.6. The order in which files are loaded
+
26.6. The order in which files are loaded
-
24.6.1. The order in bsd.prefs.mk
-
24.6.2. The order in bsd.pkg.mk
+
26.6.1. The order in bsd.prefs.mk
+
26.6.2. The order in bsd.pkg.mk
-
25. Regression tests
+
27. Regression tests
-
25.1. Running the regression tests
-
25.2. Adding a new regression test
+
27.1. Running the regression tests
+
27.2. Adding a new regression test
-
25.2.1. Overridable functions
-
25.2.2. Helper functions
+
27.2.1. Overridable functions
+
27.2.2. Helper functions
-
26. Porting pkgsrc
-
26.1. Porting pkgsrc to a new operating system
+
28. Porting pkgsrc
+
28.1. Porting pkgsrc to a new operating system
A. A simple example package: bison
@@ -441,10 +443,11 @@ builds) pkgsrc-20xxQy: source packages
-
D. Editing guidelines for the pkgsrc guide
+
D. Help topics
+
E. Editing guidelines for the pkgsrc guide
-
D.1. Make targets
-
D.2. Procedure
+
E.1. Make targets
+
E.2. Procedure
@@ -453,9 +456,9 @@ source packages
1.1. Platforms supported by pkgsrc
-
11.1. Patching examples +
13.1. Patching examples
-
23.1. PLIST handling for GNOME packages +
25.1. PLIST handling for GNOME packages
@@ -799,115 +802,147 @@ minutes!

Table of Contents

-
2. Where to get pkgsrc and how to keep it up-to-date
+
2. Getting help
+
3. Where to get pkgsrc and how to keep it up-to-date
-
2.1. Getting pkgsrc for the first time
+
3.1. Getting pkgsrc for the first time
-
2.1.1. As tar archive
-
2.1.2. Via anonymous CVS
+
3.1.1. As tar archive
+
3.1.2. Via anonymous CVS
-
2.2. Keeping pkgsrc up-to-date
+
3.2. Keeping pkgsrc up-to-date
-
2.2.1. Via tar files
-
2.2.2. Via CVS
+
3.2.1. Via tar files
+
3.2.2. Via CVS
-
3. Using pkgsrc on systems other than NetBSD
+
4. Using pkgsrc on systems other than NetBSD
-
3.1. Binary distribution
-
3.2. Bootstrapping pkgsrc
+
4.1. Binary distribution
+
4.2. Bootstrapping pkgsrc
-
4. Using pkgsrc
+
5. Using pkgsrc
-
4.1. Using binary packages
+
5.1. Using binary packages
-
4.1.1. Finding binary packages
-
4.1.2. Installing binary packages
-
4.1.3. Deinstalling packages
-
4.1.4. Getting information about installed packages
-
4.1.5. Checking for security vulnerabilities in installed packages
-
4.1.6. Finding if newer versions of your installed packages are in pkgsrc
-
4.1.7. Other administrative functions
+
5.1.1. Finding binary packages
+
5.1.2. Installing binary packages
+
5.1.3. Deinstalling packages
+
5.1.4. Getting information about installed packages
+
5.1.5. Checking for security vulnerabilities in installed packages
+
5.1.6. Finding if newer versions of your installed packages are in pkgsrc
+
5.1.7. Other administrative functions
-
4.2. Building packages from source
+
5.2. Building packages from source
-
4.2.1. Requirements
-
4.2.2. Fetching distfiles
-
4.2.3. How to build and install
+
5.2.1. Requirements
+
5.2.2. Fetching distfiles
+
5.2.3. How to build and install
-
5. Configuring pkgsrc
+
6. Configuring pkgsrc
-
5.1. General configuration
-
5.2. Variables affecting the build process
-
5.3. Variables affecting the installation process
-
5.4. Selecting and configuring the compiler
+
6.1. General configuration
+
6.2. Variables affecting the build process
+
6.3. Variables affecting the installation process
+
6.4. Selecting and configuring the compiler
-
5.4.1. Selecting the compiler
-
5.4.2. Additional flags to the compiler (CFLAGS)
-
5.4.3. Additional flags to the linker (LDFLAGS)
+
6.4.1. Selecting the compiler
+
6.4.2. Additional flags to the compiler (CFLAGS)
+
6.4.3. Additional flags to the linker (LDFLAGS)
-
5.5. Developer/advanced settings
-
5.6. Selecting Build Options
+
6.5. Developer/advanced settings
+
6.6. Selecting Build Options
-
6. Creating binary packages
+
7. Creating binary packages
-
6.1. Building a single binary package
-
6.2. Settings for creation of binary packages
+
7.1. Building a single binary package
+
7.2. Settings for creation of binary packages
-
7. Creating binary packages for everything in pkgsrc (bulk +
8. Creating binary packages for everything in pkgsrc (bulk builds)
-
7.1. Preparations
-
7.2. Running a pbulk-style bulk build
-
7.2.1. Configuration
-
7.3. Requirements of a full bulk build
-
7.4. Creating a multiple CD-ROM packages collection
-
7.4.1. Example of cdpack
-
-
8. Directory layout of the installed files
-
-
8.1. File system layout in ${LOCALBASE}
-
8.2. File system layout in ${VARBASE}
-
-
9. Frequently Asked Questions
-
-
9.1. Are there any mailing lists for pkg-related discussion?
-
9.2. Utilities for package management (pkgtools)
-
9.3. How to use pkgsrc as non-root
-
9.4. How to resume transfers when fetching distfiles?
-
9.5. How can I install/use modular X.org from pkgsrc?
-
9.6. How to fetch files from behind a firewall
-
9.7. How to fetch files from HTTPS sites
-
9.8. How do I tell make fetch to do passive FTP?
-
9.9. How to fetch all distfiles at once
-
9.10. What does Don't know how to make +
8.1. Preparations
+
8.2. Running a pbulk-style bulk build
+
8.2.1. Configuration
+
8.3. Requirements of a full bulk build
+
8.4. Creating a multiple CD-ROM packages collection
+
8.4.1. Example of cdpack
+
+
9. Directory layout of the installed files
+
+
9.1. File system layout in ${LOCALBASE}
+
9.2. File system layout in ${VARBASE}
+
+
10. Frequently Asked Questions
+
+
10.1. Are there any mailing lists for pkg-related discussion?
+
10.2. Utilities for package management (pkgtools)
+
10.3. How to use pkgsrc as non-root
+
10.4. How to resume transfers when fetching distfiles?
+
10.5. How can I install/use modular X.org from pkgsrc?
+
10.6. How to fetch files from behind a firewall
+
10.7. How to fetch files from HTTPS sites
+
10.8. How do I tell make fetch to do passive FTP?
+
10.9. How to fetch all distfiles at once
+
10.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?
-
9.11. What does Could not find bsd.own.mk mean?
-
9.12. Using 'sudo' with pkgsrc
-
9.13. How do I change the location of configuration files?
-
9.14. Automated security checks
-
9.15. Why do some packages ignore my CFLAGS?
-
9.16. A package does not build. What shall I do?
-
9.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?
+
10.11. What does Could not find bsd.own.mk mean?
+
10.12. Using 'sudo' with pkgsrc
+
10.13. How do I change the location of configuration files?
+
10.14. Automated security checks
+
10.15. Why do some packages ignore my CFLAGS?
+
10.16. A package does not build. What shall I do?
+
10.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?

-Chapter 2. Where to get pkgsrc and how to keep it up-to-date

+Chapter 2. Getting help
+

+ To get help when using pkgsrc, the definitive source is this + document, the pkgsrc guide. If you don't find anything here, + there are alternatives: +

+
+ +
+

+Chapter 3. Where to get pkgsrc and how to keep it up-to-date

@@ -921,7 +956,7 @@ other programs. A safe bet is to use only letters, digits, underscores and dashes.

-2.1. Getting pkgsrc for the first time

+3.1. Getting pkgsrc for the first time

Before you download any pkgsrc files, you should decide whether you want the current branch or the stable branch. The latter is forked on a @@ -936,7 +971,7 @@ and dashes.

Thus you can switch to using CVS at any later time.

-2.1.1. As tar archive

+3.1.1. As tar archive

The primary download location for all pkgsrc files is https://cdn.NetBSD.org/pub/pkgsrc/ or ftp://ftp.NetBSD.org/pub/pkgsrc/ @@ -971,7 +1006,7 @@ and dashes.

-2.1.2. Via anonymous CVS

+3.1.2. Via anonymous CVS

To fetch a specific pkgsrc stable branch, run:

$ cd /usr && cvs -q -z2 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -r pkgsrc-2019Q1 -P pkgsrc
 
@@ -1011,14 +1046,14 @@ release -d

-2.2. Keeping pkgsrc up-to-date

+3.2. Keeping pkgsrc up-to-date

The preferred way to keep pkgsrc up-to-date is via CVS (which also works if you have first installed it via a tar file). It saves bandwidth and hard disk activity, compared to downloading the tar file again.

-2.2.1. Via tar files

+3.2.1. Via tar files

Warning

When updating from a tar file, you first need to @@ -1034,7 +1069,7 @@ release -d before updating. You can also configure pkgsrc to store distfiles and packages in directories outside the pkgsrc tree by setting the DISTDIR and PACKAGES - variables. See Chapter 5, Configuring pkgsrc for the details.

+ variables. See Chapter 6, Configuring pkgsrc for the details.

To update pkgsrc from a tar file, download the tar file as explained above. Then, make sure that you have not made any changes to the files in the pkgsrc directory. Remove the pkgsrc @@ -1042,7 +1077,7 @@ release -d

-2.2.2. Via CVS

+3.2.2. Via CVS

To update pkgsrc via CVS, change to the pkgsrc directory and run cvs:

$ cd /usr/pkgsrc && cvs update -dP
 
@@ -1051,7 +1086,7 @@ release -d

-2.2.2.1. Switching between different pkgsrc branches

+3.2.2.1. Switching between different pkgsrc branches

When updating pkgsrc, the CVS program keeps track of the branch you selected. But if you, for whatever reason, want to switch from the stable branch to the current one, you can do it @@ -1062,7 +1097,7 @@ release -d

-2.2.2.2. What happens to my changes when updating?

+3.2.2.2. What happens to my changes when updating?

When you update pkgsrc, the CVS program will only touch those files that are registered in the CVS repository. That means that any packages that you created on your own will stay @@ -1076,22 +1111,22 @@ release -d

-Chapter 3. Using pkgsrc on systems other than NetBSD

+Chapter 4. Using pkgsrc on systems other than NetBSD

Table of Contents

-
3.1. Binary distribution
-
3.2. Bootstrapping pkgsrc
+
4.1. Binary distribution
+
4.2. Bootstrapping pkgsrc

-3.1. Binary distribution

-

See Section 4.1, “Using binary packages”.

+4.1. Binary distribution
+

See Section 5.1, “Using binary packages”.

-3.2. Bootstrapping pkgsrc

+4.2. Bootstrapping pkgsrc

pkgsrc can be bootstrapped for use in two different modes: privileged and unprivileged one. In unprivileged mode in contrast to privileged one all programs are installed under one particular user @@ -1139,25 +1174,25 @@ release -d

-Chapter 4. Using pkgsrc

+Chapter 5. Using pkgsrc

Table of Contents

-
4.1. Using binary packages
+
5.1. Using binary packages
-
4.1.1. Finding binary packages
-
4.1.2. Installing binary packages
-
4.1.3. Deinstalling packages
-
4.1.4. Getting information about installed packages
-
4.1.5. Checking for security vulnerabilities in installed packages
-
4.1.6. Finding if newer versions of your installed packages are in pkgsrc
-
4.1.7. Other administrative functions
+
5.1.1. Finding binary packages
+
5.1.2. Installing binary packages
+
5.1.3. Deinstalling packages
+
5.1.4. Getting information about installed packages
+
5.1.5. Checking for security vulnerabilities in installed packages
+
5.1.6. Finding if newer versions of your installed packages are in pkgsrc
+
5.1.7. Other administrative functions
-
4.2. Building packages from source
+
5.2. Building packages from source
-
4.2.1. Requirements
-
4.2.2. Fetching distfiles
-
4.2.3. How to build and install
+
5.2.1. Requirements
+
5.2.2. Fetching distfiles
+
5.2.3. How to build and install
@@ -1169,7 +1204,7 @@ of pkgsrc, too. Then you are able to build your own packages, and you can still use binary packages from someone else.

-4.1. Using binary packages

+5.1. Using binary packages

On the cdn.NetBSD.org site and mirrors, there are collections of binary packages, ready to be installed. These binary packages have been built using the @@ -1181,10 +1216,10 @@ and you can still use binary packages from someone else.

If you cannot use these directories for whatever reasons (maybe because you're not root), you cannot use these binary packages, but - have to build the packages yourself, which is explained in Section 3.2, “Bootstrapping pkgsrc”.

+ have to build the packages yourself, which is explained in Section 4.2, “Bootstrapping pkgsrc”.

-4.1.1. Finding binary packages

+5.1.1. Finding binary packages

To install binary packages, you first need to know from where to get them. The first place where you should look is on the main pkgsrc FTP server in the directory /pub/pkgsrc/packages.

@@ -1203,7 +1238,7 @@ and you can still use binary packages from someone else.

-4.1.2. Installing binary packages

+5.1.2. Installing binary packages

In the directory from the last section, there is a subdirectory called All/, which contains all the binary packages that are available for the platform, excluding those @@ -1242,7 +1277,7 @@ and you can still use binary packages from someone else.

-4.1.3. Deinstalling packages

+5.1.3. Deinstalling packages

To deinstall a package, it does not matter whether it was installed from source code or from a binary package. The pkg_delete command does not know it anyway. @@ -1268,13 +1303,13 @@ and you can still use binary packages from someone else.

-4.1.4. Getting information about installed packages

+5.1.4. Getting information about installed packages

The pkg_info shows information about installed packages or binary package files.

-4.1.5. Checking for security vulnerabilities in installed packages

+5.1.5. Checking for security vulnerabilities in installed packages

The NetBSD Security-Officer and Packages Groups maintain a list of known security vulnerabilities to packages which are (or have been) @@ -1337,7 +1372,7 @@ check_pkg_vulnerabilities=YES

-4.1.6. Finding if newer versions of your installed packages are in pkgsrc

+5.1.6. Finding if newer versions of your installed packages are in pkgsrc

Install pkgtools/lintpkgsrc and run lintpkgsrc with the -i @@ -1354,14 +1389,14 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00

-4.1.7. Other administrative functions

+5.1.7. Other administrative functions

The pkg_admin executes various administrative functions on the package system.

-4.2. Building packages from source

+5.2. Building packages from source

After obtaining pkgsrc, the pkgsrc directory now contains a set of packages, organized into categories. You can browse the online index of packages, or run @@ -1379,7 +1414,7 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00 instructions how to create your own packages.

-4.2.1. Requirements

+5.2.1. Requirements

To build packages from source, you need a working C compiler. On NetBSD, you need to install the comp and the text distribution @@ -1389,7 +1424,7 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00

-4.2.2. Fetching distfiles

+5.2.2. Fetching distfiles

The first step for building a package is downloading the distfiles (i.e. the unmodified source). If they have not yet been downloaded, pkgsrc will fetch them automatically.

@@ -1439,7 +1474,7 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00

-4.2.3. How to build and install

+5.2.3. How to build and install

Once the software has downloaded, any patches will be applied, then it will be compiled for you. This may take some time depending on your @@ -1570,21 +1605,21 @@ Version mismatch: 'tcsh' 6.09.00 vs 6.10.00

-Chapter 5. Configuring pkgsrc

+Chapter 6. Configuring pkgsrc

Table of Contents

-
5.1. General configuration
-
5.2. Variables affecting the build process
-
5.3. Variables affecting the installation process
-
5.4. Selecting and configuring the compiler
+
6.1. General configuration
+
6.2. Variables affecting the build process
+
6.3. Variables affecting the installation process
+
6.4. Selecting and configuring the compiler
-
5.4.1. Selecting the compiler
-
5.4.2. Additional flags to the compiler (CFLAGS)
-
5.4.3. Additional flags to the linker (LDFLAGS)
+
6.4.1. Selecting the compiler
+
6.4.2. Additional flags to the compiler (CFLAGS)
+
6.4.3. Additional flags to the linker (LDFLAGS)
-
5.5. Developer/advanced settings
-
5.6. Selecting Build Options
+
6.5. Developer/advanced settings
+
6.6. Selecting Build Options

The whole pkgsrc system is configured in a single file, usually @@ -1601,7 +1636,7 @@ kinds of variables, and no special error checking (for example for spelling mistakes) takes place.

-5.1. General configuration

+6.1. General configuration

The following variables apply to all pkgsrc packages. A complete list of the variables that can be configured by the user is available in @@ -1651,7 +1686,7 @@ spelling mistakes) takes place.

-5.2. Variables affecting the build process

+6.2. Variables affecting the build process

-5.3. Variables affecting the installation process

+6.3. Variables affecting the installation process

-5.4. Selecting and configuring the compiler

+6.4. Selecting and configuring the compiler

-5.4.1. Selecting the compiler

+6.4.1. Selecting the compiler

By default, pkgsrc will use GCC to build packages. This may be overridden by setting the following variables in /etc/mk.conf:

@@ -1823,7 +1858,7 @@ uid=1000(myusername) gid=100(users) groups=100(users),0(wheel)

-5.4.2. Additional flags to the compiler (CFLAGS)

+6.4.2. Additional flags to the compiler (CFLAGS)

If you wish to set the CFLAGS variable, please make sure to use the += operator instead of the = operator:

@@ -1839,7 +1874,7 @@ CFLAGS+= -your -flags

-5.4.3. Additional flags to the linker (LDFLAGS)

+6.4.3. Additional flags to the linker (LDFLAGS)

If you want to pass flags to the linker, both in the configure step and the build step, you can do this in two ways. Either set LDFLAGS or LIBS. The difference @@ -1857,7 +1892,7 @@ LDFLAGS+= -your -linkerflags

-5.5. Developer/advanced settings

+6.5. Developer/advanced settings

-5.6. Selecting Build Options

+6.6. Selecting Build Options

Some packages have build time options, usually to select between different dependencies, enable optional support for big dependencies or enable experimental features.

@@ -1960,17 +1995,17 @@ PKG_OPTIONS.apache= suexec

-Chapter 6. Creating binary packages

+Chapter 7. Creating binary packages

Table of Contents

-
6.1. Building a single binary package
-
6.2. Settings for creation of binary packages
+
7.1. Building a single binary package
+
7.2. Settings for creation of binary packages

-6.1. Building a single binary package

+7.1. Building a single binary package

Once you have built and installed a package, you can create a binary package which can be installed on another system with pkg_add(1). This saves having to build @@ -1991,28 +2026,28 @@ PKG_OPTIONS.apache= suexec /usr/pkgsrc/packages, in the form of a gzipped tar file. See Section B.2, “Packaging figlet” for a continuation of the above misc/figlet example.

-

See Chapter 21, Submitting and Committing for information on how to submit +

See Chapter 23, Submitting and Committing for information on how to submit such a binary package.

-6.2. Settings for creation of binary packages

-

See Section 17.17, “Other helpful targets”.

+7.2. Settings for creation of binary packages
+

See Section 19.17, “Other helpful targets”.

-Chapter 7. Creating binary packages for everything in pkgsrc (bulk +Chapter 8. Creating binary packages for everything in pkgsrc (bulk builds)

For a number of reasons you may want to build binary packages @@ -2026,7 +2061,7 @@ The bulk build system, or pbulk ("p" stands for "parallel"). This chapter describes how to set it up.

-7.1. Preparations

+8.1. Preparations

First of all, you have to decide whether you build all packages or a limited set of them. Full bulk builds usually consume a lot more resources, both space and time, than builds for some practical sets of packages. @@ -2051,7 +2086,7 @@ certain packages tried to install files outside the

-7.2. Running a pbulk-style bulk build

+8.2. Running a pbulk-style bulk build

Running a pbulk-style bulk build works roughly as follows:

-7.2.1. Configuration

+8.2.1. Configuration

To simplify configuration, we provide the helper script mk/pbulk/pbulk.sh.

In order to use it, prepare a clear system (real one, chroot environment, jail, zone, virtual machine). Configure network access to fetch distribution files. @@ -2120,7 +2155,7 @@ unprivileged bulk build and helps configuring distributed bulk builds.

-7.3. Requirements of a full bulk build

+8.3. Requirements of a full bulk build

A complete bulk build requires lots of disk space. Some of the disk space can be read-only, some other must be writable. Some can be on remote filesystems (such as NFS) and some should be local. Some can be @@ -2136,7 +2171,7 @@ temporary filesystems, others must survive a sudden reboot.

-7.4. Creating a multiple CD-ROM packages collection

+8.4. Creating a multiple CD-ROM packages collection

After your pkgsrc bulk-build has completed, you may wish to create a CD-ROM set of the resulting binary packages to assist in installing packages on other machines. The @@ -2147,7 +2182,7 @@ temporary filesystems, others must survive a sudden reboot.

CD as that package.

-7.4.1. Example of cdpack

+8.4.1. Example of cdpack

Complete documentation for cdpack is found in the cdpack(1) man page. The following short example assumes that the binary packages are left in @@ -2182,12 +2217,12 @@ temporary filesystems, others must survive a sudden reboot.

-Chapter 8. Directory layout of the installed files

+Chapter 9. Directory layout of the installed files

Table of Contents

-
8.1. File system layout in ${LOCALBASE}
-
8.2. File system layout in ${VARBASE}
+
9.1. File system layout in ${LOCALBASE}
+
9.2. File system layout in ${VARBASE}

The files that are installed by pkgsrc are organized in a way that @@ -2236,7 +2271,7 @@ itself.

-8.1. File system layout in ${LOCALBASE} +9.1. File system layout in ${LOCALBASE}

The following directories exist in a typical pkgsrc installation in ${LOCALBASE}.

@@ -2302,7 +2337,7 @@ installation.

-8.2. File system layout in ${VARBASE} +9.2. File system layout in ${VARBASE}

db/pkg (the usual location of @@ -2323,28 +2358,28 @@ currently running.

-Chapter 9. Frequently Asked Questions

+Chapter 10. Frequently Asked Questions

Table of Contents

-
9.1. Are there any mailing lists for pkg-related discussion?
-
9.2. Utilities for package management (pkgtools)
-
9.3. How to use pkgsrc as non-root
-
9.4. How to resume transfers when fetching distfiles?
-
9.5. How can I install/use modular X.org from pkgsrc?
-
9.6. How to fetch files from behind a firewall
-
9.7. How to fetch files from HTTPS sites
-
9.8. How do I tell make fetch to do passive FTP?
-
9.9. How to fetch all distfiles at once
-
9.10. What does Don't know how to make +
10.1. Are there any mailing lists for pkg-related discussion?
+
10.2. Utilities for package management (pkgtools)
+
10.3. How to use pkgsrc as non-root
+
10.4. How to resume transfers when fetching distfiles?
+
10.5. How can I install/use modular X.org from pkgsrc?
+
10.6. How to fetch files from behind a firewall
+
10.7. How to fetch files from HTTPS sites
+
10.8. How do I tell make fetch to do passive FTP?
+
10.9. How to fetch all distfiles at once
+
10.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?
-
9.11. What does Could not find bsd.own.mk mean?
-
9.12. Using 'sudo' with pkgsrc
-
9.13. How do I change the location of configuration files?
-
9.14. Automated security checks
-
9.15. Why do some packages ignore my CFLAGS?
-
9.16. A package does not build. What shall I do?
-
9.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?
+
10.11. What does Could not find bsd.own.mk mean?
+
10.12. Using 'sudo' with pkgsrc
+
10.13. How do I change the location of configuration files?
+
10.14. Automated security checks
+
10.15. Why do some packages ignore my CFLAGS?
+
10.16. A package does not build. What shall I do?
+
10.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?

This section contains hints, tips & tricks on special things in @@ -2352,7 +2387,7 @@ pkgsrc that we didn't find a better place for in the previous chapters, and it contains items for both pkgsrc users and developers.

-9.1. Are there any mailing lists for pkg-related discussion?

+10.1. Are there any mailing lists for pkg-related discussion?

The following mailing lists may be of interest to pkgsrc users:

-9.2. Utilities for package management (pkgtools)

+10.2. Utilities for package management (pkgtools)

The directory pkgsrc/pkgtools contains a number of useful utilities for both users and developers of pkgsrc. This section attempts only to make the reader aware of some of the utilities and when @@ -2459,9 +2494,9 @@ utilities)

-9.3. How to use pkgsrc as non-root

+10.3. How to use pkgsrc as non-root

To install packages from source as a non-root user, download -pkgsrc as described in Chapter 2, Where to get pkgsrc and how to keep it up-to-date, cd into that +pkgsrc as described in Chapter 3, Where to get pkgsrc and how to keep it up-to-date, cd into that directory and run the command ./bootstrap/bootstrap --unprivileged.

This will install the binary part of pkgsrc to @@ -2471,7 +2506,7 @@ into ~/pkg/etc.

-9.4. How to resume transfers when fetching distfiles?

+10.4. How to resume transfers when fetching distfiles?

By default, resuming transfers in pkgsrc is disabled, but you can enable this feature by adding the option PKG_RESUME_TRANSFERS=YES into @@ -2495,7 +2530,7 @@ FETCH_USING= wget

-9.5. How can I install/use modular X.org from pkgsrc?

+10.5. How can I install/use modular X.org from pkgsrc?

If you want to use modular X.org from pkgsrc instead of your system's own X11 (/usr/X11R6, /usr/openwin, ...) you will have to add the following line into @@ -2506,7 +2541,7 @@ X11_TYPE=modular

-9.6. How to fetch files from behind a firewall

+10.6. How to fetch files from behind a firewall

If you are sitting behind a firewall which does not allow direct connections to Internet hosts (i.e. non-NAT), you may specify the relevant proxy hosts. This is done using an environment variable in the @@ -2521,7 +2556,7 @@ http_proxy=http://orpheus.amdahl.com:80/

-9.7. How to fetch files from HTTPS sites

+10.7. How to fetch files from HTTPS sites

Some fetch tools are not prepared to support HTTPS by default (for example, the one in NetBSD 6.0), or the one installed by the pkgsrc bootstrap (to avoid an openssl dependency that low in the @@ -2536,7 +2571,7 @@ installed before you can use them this way.

-9.8. How do I tell make fetch to do passive FTP?

+10.8. How do I tell make fetch to do passive FTP?

This depends on which utility is used to retrieve distfiles. From bsd.pkg.mk, FETCH_CMD is assigned the first available command from the following list:

@@ -2556,7 +2591,7 @@ transfers.

-9.9. How to fetch all distfiles at once

+10.9. How to fetch all distfiles at once

You would like to download all the distfiles in a single batch from work or university, where you can't run a make fetch. There is an archive of distfiles on ftp.NetBSD.org, @@ -2588,7 +2623,7 @@ by running:

-9.10. What does Don't know how to make +10.10. What does Don't know how to make /usr/share/tmac/tmac.andoc mean?

When compiling the pkgtools/pkg_install package, you get the error from make that it doesn't know how to make @@ -2602,7 +2637,7 @@ environment or in mk.conf

-9.11. What does Could not find bsd.own.mk mean?

+10.11. What does Could not find bsd.own.mk mean?

You didn't install the compiler set, comp.tgz, when you installed your NetBSD machine. Please get and install it, by extracting it in /:

@@ -2614,7 +2649,7 @@ the one that corresponds to your release (determine via

-9.12. Using 'sudo' with pkgsrc

+10.12. Using 'sudo' with pkgsrc

When installing packages as non-root user and using the just-in-time su(1) feature of pkgsrc, it can become annoying to type in the root password for each required package installed. To avoid this, the sudo @@ -2632,7 +2667,7 @@ SU_CMD= ${LOCALBASE}/bin/sudo /bin/sh -c

-9.13. How do I change the location of configuration files?

+10.13. How do I change the location of configuration files?

As the system administrator, you can choose where configuration files are installed. The default settings make all these files go into ${PREFIX}/etc or some of its subdirectories; this may @@ -2654,7 +2689,7 @@ reinstall any affected packages.

-9.14. Automated security checks

+10.14. Automated security checks

Please be aware that there can often be bugs in third-party software, and some of these bugs can leave a machine vulnerable to exploitation by attackers. In an effort to lessen the exposure, the NetBSD packages team @@ -2678,14 +2713,14 @@ do this, refer to the following two tools (installed as part of the containing more information.

Use of these tools is strongly recommended! -See Section 4.1.5, “Checking for security vulnerabilities in installed packages” for instructions on how to automate checking and +See Section 5.1.5, “Checking for security vulnerabilities in installed packages” for instructions on how to automate checking and reporting.

If this database is installed, pkgsrc builds will use it to perform a security check before building any package.

-9.15. Why do some packages ignore my CFLAGS?

+10.15. Why do some packages ignore my CFLAGS?

When you add your own preferences to the CFLAGS variable in your mk.conf, these flags are passed in @@ -2707,7 +2742,7 @@ perform a security check before building any package.

-9.16. A package does not build. What shall I do?

+10.16. A package does not build. What shall I do?
  1. Make sure that your copy of pkgsrc is consistent. A case that occurs often is that people only update pkgsrc in @@ -2723,14 +2758,14 @@ perform a security check before building any package.

    extracted. Run make clean clean-depends to verify this.

  2. If you are a package developer who wants to invest - some work, have a look at Chapter 19, Making your package work.

  3. + some work, have a look at Chapter 21, Making your package work.

  4. If the problem still exists, write a mail to the pkgsrc-users mailing list.

-9.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?

+10.17. What does Makefile appears to contain unresolved cvs/rcs/??? merge conflicts mean?

You have modified a file from pkgsrc, and someone else has modified that same file afterwards in the CVS repository. Both changes are in the same region of the file, so when you updated pkgsrc, the @@ -2755,245 +2790,277 @@ anymore, you can remove that file and run cvs -q u

Table of Contents

-
10. Creating a new pkgsrc package from scratch
+
11. Getting help
+
12. Creating a new pkgsrc package from scratch
-
10.1. Common types of packages
+
12.1. Common types of packages
-
10.1.1. Perl modules
-
10.1.2. Python modules and programs
+
12.1.1. Perl modules
+
12.1.2. Python modules and programs
-
10.2. Examples
-
10.2.1. How the www/nvu package came into pkgsrc
+
12.2. Examples
+
12.2.1. How the www/nvu package came into pkgsrc
-
11. Package components - files, directories and contents
+
13. Package components - files, directories and contents
-
11.1. Makefile
-
11.2. distinfo
-
11.3. patches/*
+
13.1. Makefile
+
13.2. distinfo
+
13.3. patches/*
-
11.3.1. Structure of a single patch file
-
11.3.2. Creating patch files
-
11.3.3. Sources where the patch files come from
-
11.3.4. Patching guidelines
-
11.3.5. Feedback to the author
+
13.3.1. Structure of a single patch file
+
13.3.2. Creating patch files
+
13.3.3. Sources where the patch files come from
+
13.3.4. Patching guidelines
+
13.3.5. Feedback to the author
-
11.4. Other mandatory files
-
11.5. Optional files
+
13.4. Other mandatory files
+
13.5. Optional files
-
11.5.1. Files affecting the binary package
-
11.5.2. Files affecting the build process
-
11.5.3. Files affecting nothing at all
+
13.5.1. Files affecting the binary package
+
13.5.2. Files affecting the build process
+
13.5.3. Files affecting nothing at all
-
11.6. work*
-
11.7. files/*
+
13.6. work*
+
13.7. files/*
-
12. Programming in Makefiles
+
14. Programming in Makefiles
-
12.1. Caveats
-
12.2. Makefile variables
-
12.2.1. Naming conventions
-
12.3. Code snippets
+
14.1. Caveats
+
14.2. Makefile variables
+
14.2.1. Naming conventions
+
14.3. Code snippets
-
12.3.1. Adding things to a list
-
12.3.2. Echoing a string exactly as-is
-
12.3.3. Passing CFLAGS to GNU configure scripts
-
12.3.4. Handling possibly empty variables
+
14.3.1. Adding things to a list
+
14.3.2. Echoing a string exactly as-is
+
14.3.3. Passing CFLAGS to GNU configure scripts
+
14.3.4. Handling possibly empty variables
-
13. PLIST issues
+
15. PLIST issues
-
13.1. RCS ID
-
13.2. Semi-automatic PLIST generation
-
13.3. Tweaking output of make print-PLIST
-
13.4. Variable substitution in PLIST
-
13.5. Man page compression
-
13.6. Changing PLIST source with PLIST_SRC
-
13.7. Platform-specific and differing PLISTs
-
13.8. Build-specific PLISTs
-
13.9. Sharing directories between packages
+
15.1. RCS ID
+
15.2. Semi-automatic PLIST generation
+
15.3. Tweaking output of make print-PLIST
+
15.4. Variable substitution in PLIST
+
15.5. Man page compression
+
15.6. Changing PLIST source with PLIST_SRC
+
15.7. Platform-specific and differing PLISTs
+
15.8. Build-specific PLISTs
+
15.9. Sharing directories between packages
-
14. Buildlink methodology
+
16. Buildlink methodology
-
14.1. Converting packages to use buildlink3
-
14.2. Writing buildlink3.mk files
+
16.1. Converting packages to use buildlink3
+
16.2. Writing buildlink3.mk files
-
14.2.1. Anatomy of a buildlink3.mk file
-
14.2.2. Updating +
16.2.1. Anatomy of a buildlink3.mk file
+
16.2.2. Updating BUILDLINK_API_DEPENDS.pkg and BUILDLINK_ABI_DEPENDS.pkg in buildlink3.mk files
-
14.3. Writing builtin.mk files
+
16.3. Writing builtin.mk files
-
14.3.1. Anatomy of a builtin.mk file
-
14.3.2. Global preferences for native or pkgsrc software
+
16.3.1. Anatomy of a builtin.mk file
+
16.3.2. Global preferences for native or pkgsrc software
-
15. The pkginstall framework
+
17. The pkginstall framework
-
15.1. Files and directories outside the installation prefix
+
17.1. Files and directories outside the installation prefix
-
15.1.1. Directory manipulation
-
15.1.2. File manipulation
+
17.1.1. Directory manipulation
+
17.1.2. File manipulation
-
15.2. Configuration files
+
17.2. Configuration files
-
15.2.1. How PKG_SYSCONFDIR is set
-
15.2.2. Telling the software where configuration files are
-
15.2.3. Patching installations
-
15.2.4. Disabling handling of configuration files
+
17.2.1. How PKG_SYSCONFDIR is set
+
17.2.2. Telling the software where configuration files are
+
17.2.3. Patching installations
+
17.2.4. Disabling handling of configuration files
-
15.3. System startup scripts
-
15.3.1. Disabling handling of system startup scripts
-
15.4. System users and groups
-
15.5. System shells
-
15.5.1. Disabling shell registration
-
15.6. Fonts
-
15.6.1. Disabling automatic update of the fonts databases
-
-
16. Options handling
-
-
16.1. Global default options
-
16.2. Converting packages to use bsd.options.mk
-
16.3. Option Names
-
16.4. Determining the options of dependencies
-
-
17. The build process
-
-
17.1. Introduction
-
17.2. Program location
-
17.3. Directories used during the build process
-
17.4. Running a phase
-
17.5. The fetch phase
-
-
17.5.1. What to fetch and where to get it from
-
17.5.2. How are the files fetched?
-
-
17.6. The checksum phase
-
17.7. The extract phase
-
17.8. The patch phase
-
17.9. The tools phase
-
17.10. The wrapper phase
-
17.11. The configure phase
-
17.12. The build phase
-
17.13. The test phase
-
17.14. The install phase
-
17.15. The package phase
-
17.16. Cleaning up
-
17.17. Other helpful targets
-
-
18. Tools needed for building or running
-
-
18.1. Tools for pkgsrc builds
-
18.2. Tools needed by packages
-
18.3. Tools provided by platforms
-
-
19. Making your package work
-
-
19.1. General operation
-
-
19.1.1. How to pull in user-settable variables from mk.conf
-
19.1.2. User interaction
-
19.1.3. Handling licenses
-
19.1.4. Restricted packages
-
19.1.5. Handling dependencies
-
19.1.6. Handling conflicts with other packages
-
19.1.7. Packages that cannot or should not be built
-
19.1.8. Packages which should not be deleted, once installed
-
19.1.9. Handling packages with security problems
-
19.1.10. How to handle incrementing versions when fixing an existing package
-
19.1.11. Substituting variable text in the package files (the SUBST framework)
-
-
19.2. The fetch phase
-
-
19.2.1. Packages whose distfiles aren't available for plain downloading
-
19.2.2. How to handle modified distfiles with the 'old' name
-
19.2.3. Packages hosted on github.com
-
-
19.3. The configure phase
-
-
19.3.1. Shared libraries - libtool
-
19.3.2. Using libtool on GNU packages that already support libtool
-
19.3.3. GNU Autoconf/Automake
-
-
19.4. Programming languages
-
-
19.4.1. C, C++, and Fortran
-
19.4.2. Java
-
19.4.3. Packages containing perl scripts
-
19.4.4. Packages containing shell scripts
-
19.4.5. Other programming languages
-
-
19.5. The build phase
-
-
19.5.1. Compiling C and C++ code conditionally
-
19.5.2. How to handle compiler bugs
-
19.5.3. Undefined reference to ...
-
19.5.4. Running out of memory
-
-
19.6. The install phase
-
-
19.6.1. Creating needed directories
-
19.6.2. Where to install documentation
-
19.6.3. Installing highscore files
-
19.6.4. Adding DESTDIR support to packages
-
19.6.5. Packages with hardcoded paths to other interpreters
-
19.6.6. Packages installing perl modules
-
19.6.7. Packages installing info files
-
19.6.8. Packages installing man pages
-
19.6.9. Packages installing GConf data files
-
19.6.10. Packages installing scrollkeeper/rarian data files
-
19.6.11. Packages installing X11 fonts
-
19.6.12. Packages installing GTK2 modules
-
19.6.13. Packages installing SGML or XML data
-
19.6.14. Packages installing extensions to the MIME database
-
19.6.15. Packages using intltool
-
19.6.16. Packages installing startup scripts
-
19.6.17. Packages installing TeX modules
-
19.6.18. Packages supporting running binaries in +
17.3. System startup scripts
+
17.3.1. Disabling handling of system startup scripts
+
17.4. System users and groups
+
17.5. System shells
+
17.5.1. Disabling shell registration
+
17.6. Fonts
+
17.6.1. Disabling automatic update of the fonts databases
+
+
18. Options handling
+
+
18.1. Global default options
+
18.2. Converting packages to use bsd.options.mk
+
18.3. Option Names
+
18.4. Determining the options of dependencies
+
+
19. The build process
+
+
19.1. Introduction
+
19.2. Program location
+
19.3. Directories used during the build process
+
19.4. Running a phase
+
19.5. The fetch phase
+
+
19.5.1. What to fetch and where to get it from
+
19.5.2. How are the files fetched?
+
+
19.6. The checksum phase
+
19.7. The extract phase
+
19.8. The patch phase
+
19.9. The tools phase
+
19.10. The wrapper phase
+
19.11. The configure phase
+
19.12. The build phase
+
19.13. The test phase
+
19.14. The install phase
+
19.15. The package phase
+
19.16. Cleaning up
+
19.17. Other helpful targets
+
+
20. Tools needed for building or running
+
+
20.1. Tools for pkgsrc builds
+
20.2. Tools needed by packages
+
20.3. Tools provided by platforms
+
+
21. Making your package work
+
+
21.1. General operation
+
+
21.1.1. How to pull in user-settable variables from mk.conf
+
21.1.2. User interaction
+
21.1.3. Handling licenses
+
21.1.4. Restricted packages
+
21.1.5. Handling dependencies
+
21.1.6. Handling conflicts with other packages
+
21.1.7. Packages that cannot or should not be built
+
21.1.8. Packages which should not be deleted, once installed
+
21.1.9. Handling packages with security problems
+
21.1.10. How to handle incrementing versions when fixing an existing package
+
21.1.11. Substituting variable text in the package files (the SUBST framework)
+
+
21.2. The fetch phase
+
+
21.2.1. Packages whose distfiles aren't available for plain downloading
+
21.2.2. How to handle modified distfiles with the 'old' name
+
21.2.3. Packages hosted on github.com
+
+
21.3. The configure phase
+
+
21.3.1. Shared libraries - libtool
+
21.3.2. Using libtool on GNU packages that already support libtool
+
21.3.3. GNU Autoconf/Automake
+
+
21.4. Programming languages
+
+
21.4.1. C, C++, and Fortran
+
21.4.2. Java
+
21.4.3. Packages containing perl scripts
+
21.4.4. Packages containing shell scripts
+
21.4.5. Other programming languages
+
+
21.5. The build phase
+
+
21.5.1. Compiling C and C++ code conditionally
+
21.5.2. How to handle compiler bugs
+
21.5.3. Undefined reference to ...
+
21.5.4. Running out of memory
+
+
21.6. The install phase
+
+
21.6.1. Creating needed directories
+
21.6.2. Where to install documentation
+
21.6.3. Installing highscore files
+
21.6.4. Adding DESTDIR support to packages
+
21.6.5. Packages with hardcoded paths to other interpreters
+
21.6.6. Packages installing perl modules
+
21.6.7. Packages installing info files
+
21.6.8. Packages installing man pages
+
21.6.9. Packages installing GConf data files
+
21.6.10. Packages installing scrollkeeper/rarian data files
+
21.6.11. Packages installing X11 fonts
+
21.6.12. Packages installing GTK2 modules
+
21.6.13. Packages installing SGML or XML data
+
21.6.14. Packages installing extensions to the MIME database
+
21.6.15. Packages using intltool
+
21.6.16. Packages installing startup scripts
+
21.6.17. Packages installing TeX modules
+
21.6.18. Packages supporting running binaries in emulation
-
19.6.19. Packages installing hicolor theme icons
-
19.6.20. Packages installing desktop files
+
21.6.19. Packages installing hicolor theme icons
+
21.6.20. Packages installing desktop files
-
19.7. Marking packages as having problems
+
21.7. Marking packages as having problems
-
20. Debugging
-
21. Submitting and Committing
+
22. Debugging
+
23. Submitting and Committing
-
21.1. Submitting binary packages
-
21.2. Submitting source packages (for non-NetBSD-developers)
-
21.3. General notes when adding, updating, or removing packages
-
21.4. Commit Messages
-
21.5. Committing: Adding a package to CVS
-
21.6. Updating a package to a newer version
-
21.7. Renaming a package in pkgsrc
-
21.8. Moving a package in pkgsrc
+
23.1. Submitting binary packages
+
23.2. Submitting source packages (for non-NetBSD-developers)
+
23.3. General notes when adding, updating, or removing packages
+
23.4. Commit Messages
+
23.5. Committing: Adding a package to CVS
+
23.6. Updating a package to a newer version
+
23.7. Renaming a package in pkgsrc
+
23.8. Moving a package in pkgsrc
-
22. Frequently Asked Questions
-
23. GNOME packaging and porting
+
24. Frequently Asked Questions
+
25. GNOME packaging and porting
-
23.1. Meta packages
-
23.2. Packaging a GNOME application
-
23.3. Updating GNOME to a newer version
-
23.4. Patching guidelines
+
25.1. Meta packages
+
25.2. Packaging a GNOME application
+
25.3. Updating GNOME to a newer version
+
25.4. Patching guidelines

-Chapter 10. Creating a new pkgsrc package from scratch

+Chapter 11. Getting help
+

+ To get help when developing pkgsrc, the definitive source is this + document, the pkgsrc guide. If you don't find anything here, + there are alternatives: +

+
    +
  • +

    + The built-in pkgsrc help, which is available after bootstrapping + pkgsrc. Run bmake help topic=… to get + help for any topic, such as a variable name like + BUILD_DEFS, a make target like + do-build, a missing C or C++ function like + strcasecmp or any other topic.

    +

    The available help topics are listed in Appendix D, Help topics.

    +
  • +
  • + The tech-pkg mailing list, to which + you + can subscribe and then ask your + questions.

  • +
  • The #pkgsrc IRC channel, which is accessible + via a web browser + or by using a specialized chat program such as + XChat. + Pick any user name and join the channel #pkgsrc.

  • +
+ +
+

+Chapter 12. Creating a new pkgsrc package from scratch

When you find a package that is not yet in pkgsrc, you @@ -3052,7 +3119,7 @@ know what pkglint's warnings want to tell you, try , which outputs additional explanations.

  • In many cases the package is not yet ready to build. You can -find instructions for the most common cases in the next section, Section 10.1, “Common types of packages”. After you have followed the instructions +find instructions for the most common cases in the next section, Section 12.1, “Common types of packages”. After you have followed the instructions over there, you can hopefully continue here.

  • Run bmake clean to clean the working directory from the extracted files. Besides these files, a lot of cache @@ -3060,7 +3127,7 @@ files and other system information has been saved in the working directory, which may become wrong after you edited the Makefile.

  • Now, run bmake to build the package. For -the various things that can go wrong in this phase, consult Chapter 19, Making your package work.

  • +the various things that can go wrong in this phase, consult Chapter 21, Making your package work.

  • When the package builds fine, the next step is to install the package. Run bmake install and hope that everything works.

  • @@ -3083,16 +3150,16 @@ package from the set of installed files.

    -10.1. Common types of packages

    +12.1. Common types of packages

    -10.1.1. Perl modules

    +12.1.1. Perl modules

    Simple Perl modules are handled automatically by url2pkg, including dependencies.

    -10.1.2. Python modules and programs

    +12.1.2. Python modules and programs

    Python modules and programs packages are easily created using a set of predefined variables.

    @@ -3156,13 +3223,13 @@ of supported packages.

    -10.2. Examples

    +12.2. Examples

    -10.2.1. How the www/nvu package came into pkgsrc

    +12.2.1. How the www/nvu package came into pkgsrc

    -10.2.1.1. The initial package

    +12.2.1.1. The initial package

    Looking at the file pkgsrc/doc/TODO, I saw that the nvu package has not yet been imported into pkgsrc. As the description says it has to do with the web, the obvious @@ -3228,7 +3295,7 @@ Good luck! (See pkgsrc/doc/pkgsrc.txt for some more help :-)

    -10.2.1.2. Fixing all kinds of problems to make the package work

    +12.2.1.2. Fixing all kinds of problems to make the package work

    Now that the package has been extracted, let's see what's inside it. The package has a README.txt, but that only says something about mozilla, so it's probably useless for seeing what @@ -3364,7 +3431,7 @@ everything worked.

    -10.2.1.3. Installing the package

    +12.2.1.3. Installing the package
     $ bmake CHECK_FILES=no install
     [...]
    @@ -3378,29 +3445,29 @@ everything worked.

    -Chapter 11. Package components - files, directories and contents

    +Chapter 13. Package components - files, directories and contents

    Whenever you're preparing a package, there are a number of @@ -3408,7 +3475,7 @@ files involved which are described in the following sections.

    -11.1. Makefile +13.1. Makefile

    Building, installation and creation of a binary package are all controlled by the package's Makefile. @@ -3457,7 +3524,7 @@ converters games mbone print x11 DYNAMIC_MASTER_SITES, DIST_SUBDIR, EXTRACT_SUFX and DISTFILES are discussed in detail in - Section 17.5, “The fetch phase”.

    + Section 19.5, “The fetch phase”.

    The second section contains information about separately downloaded patches, if any. @@ -3503,7 +3570,7 @@ converters games mbone print x11 description of the package (should not include the package name).

  • LICENSE indicates the license(s) - applicable for the package. See Section 19.1.3, “Handling licenses” for further details.

  • + applicable for the package. See Section 21.1.3, “Handling licenses” for further details.

    Other variables that affect the build:

    @@ -3547,12 +3614,12 @@ converters games mbone print x11
  • Replace /usr/local with ${PREFIX} in all files (see patches, below).

  • -
  • If the package installs any info files, see Section 19.6.7, “Packages installing info files”.

  • +
  • If the package installs any info files, see Section 21.6.7, “Packages installing info files”.

  • -11.2. distinfo +13.2. distinfo

    The distinfo file contains the message digest, or checksum, of each distfile needed for the package. This @@ -3563,7 +3630,7 @@ converters games mbone print x11 RMD160, SHA512), as well as the file size.

    The distinfo file also contains the checksums for all the patches found in the - patches directory (see Section 11.3, “patches/*). These checksums ensure that patches + patches directory (see Section 13.3, “patches/*). These checksums ensure that patches are only applied intentionally and that they don't accidentally change, e.g. when merging different changes together. They also make sure that new patches are actually added to CVS and old ones are removed. @@ -3579,7 +3646,7 @@ converters games mbone print x11

    -11.3. patches/* +13.3. patches/*

    Some packages don't work out-of-the box on the various platforms that are supported by pkgsrc. These packages need @@ -3590,7 +3657,7 @@ converters games mbone print x11 extracting them, in alphabetic order.

    -11.3.1. Structure of a single patch file

    +13.3.1. Structure of a single patch file

    The patch-* files should be in diff -bu format, and apply without a fuzz to avoid problems. (To force patches to apply with fuzz you can set @@ -3618,7 +3685,7 @@ converters games mbone print x11

    -11.3.2. Creating patch files

    +13.3.2. Creating patch files

    One important thing to mention is to pay attention that no RCS IDs get stored in the patch files, as these will cause problems when later checked into the NetBSD CVS tree. Use the @@ -3637,7 +3704,7 @@ converters games mbone print x11 the changes.

    When you have finished a package, remember to generate the checksums for the patch files by using the make - makepatchsum command, see Section 11.2, “distinfo.

    + makepatchsum
    command, see Section 13.2, “distinfo.

    When adding a patch that corrects a problem in the distfile (rather than e.g. enforcing pkgsrc's view of where man pages should go), send the patch as a bug report to the @@ -3654,7 +3721,7 @@ converters games mbone print x11

    -11.3.3. Sources where the patch files come from

    +13.3.3. Sources where the patch files come from

    If you want to share patches between multiple packages in pkgsrc, e.g. because they use the same distfiles, set PATCHDIR to the path where the patch files @@ -3681,7 +3748,7 @@ PATCHDIR= ${.CURDIR}/../xemacs/patches

    -11.3.4. Patching guidelines

    +13.3.4. Patching guidelines

    When fixing a portability issue in the code do not use preprocessor magic to check for the current operating system nor platform. Doing so hurts portability to other platforms because @@ -3705,7 +3772,7 @@ PATCHDIR= ${.CURDIR}/../xemacs/patches It doesn't work unless it is right!

    Some typical examples:

    -

    Table 11.1. Patching examples

    +

    Table 13.1. Patching examples

    @@ -3789,7 +3856,7 @@ monitor_file(...)

    -11.3.5. Feedback to the author

    +13.3.5. Feedback to the author

    Always, always, always feed back any portability fixes or improvements you do to a package to the mainstream developers. @@ -3812,7 +3879,7 @@ monitor_file(...)

    -11.4. Other mandatory files

    +13.4. Other mandatory files
    DESCR

    A multi-line description of the piece of software. This should include @@ -3824,16 +3891,16 @@ monitor_file(...) system: all the binaries, manual pages, etc. There are other directives which may be entered in this file, to control the creation and deletion of directories, and the location of - inserted files. See Chapter 13, PLIST issues for more + inserted files. See Chapter 15, PLIST issues for more information.

    -11.5. Optional files

    +13.5. Optional files

    -11.5.1. Files affecting the binary package

    +13.5.1. Files affecting the binary package
    INSTALL
    @@ -3843,7 +3910,7 @@ monitor_file(...) are moved in place. This can be used to do any custom procedures not possible with @exec commands in PLIST. See pkg_add(1) and - pkg_create(1) for more information. See also Section 15.1, “Files and directories outside the installation prefix”. + pkg_create(1) for more information. See also Section 17.1, “Files and directories outside the installation prefix”. Please note that you can modify variables in it easily by using FILES_SUBST in the package's Makefile:

    @@ -3907,7 +3974,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"

    -11.5.2. Files affecting the build process

    +13.5.2. Files affecting the build process
    Makefile.common

    This file contains arbitrary things that could @@ -3919,7 +3986,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue" describes what it does.

    buildlink3.mk

    This file contains the dependency information - for the buildlink3 framework (see Chapter 14, Buildlink methodology).

    + for the buildlink3 framework (see Chapter 16, Buildlink methodology).

    hacks.mk

    This file contains workarounds for compiler bugs and similar things. It is included automatically by the pkgsrc @@ -3928,7 +3995,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue" it.

    options.mk

    This file contains the code for the - package-specific options (see Chapter 16, Options handling) that can be + package-specific options (see Chapter 18, Options handling) that can be selected by the user. If a package has only one or two options, it is equally acceptable to put the code directly into the Makefile.

    @@ -3936,7 +4003,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"

    -11.5.3. Files affecting nothing at all

    +13.5.3. Files affecting nothing at all
    README*

    These files do not take place in the creation of @@ -3951,7 +4018,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"

    -11.6. work* +13.6. work*

    When you type make, the distribution files are unpacked into the directory denoted by @@ -3965,7 +4032,7 @@ MESSAGE_SUBST+= SOMEVAR="somevalue"

    -11.7. files/* +13.7. files/*

    If you have any files that you wish to be placed in the package prior to configuration or building, you could place these files here and use @@ -3985,19 +4052,19 @@ FILESDIR=${.CURDIR}/../xemacs/files

    -Chapter 12. Programming in Makefiles

    +Chapter 14. Programming in Makefiles
    @@ -4007,17 +4074,17 @@ FILESDIR=${.CURDIR}/../xemacs/files like pkgsrc requires some discipline to keep the code correct and understandable.

    The basic ingredients for Makefile - programming are variables (which are actually macros) and shell + programming are variables and shell commands. Among these shell commands may even be more complex ones like awk(1) programs. To make sure that every shell command runs as intended it is necessary to quote all variables correctly when they are used.

    -

    This chapter describes some patterns, that appear quite often in +

    This chapter describes some patterns that appear quite often in Makefiles, including the pitfalls that come along with them.

    -12.1. Caveats

    +14.1. Caveats
    • When you are creating a file as a target of a rule, always write the data to a temporary file first @@ -4044,81 +4111,57 @@ correct:

      You might remember that make(1) sometimes removes ${.TARGET} in case of error, but this only happens when it is interrupted, for example by pressing - ^C. This does not happen + Ctrl+C. This does not happen when one of the commands fails (like false(1) above).

    -12.2. Makefile variables

    +14.2. Makefile variables

    Makefile variables contain strings that - can be processed using the five operators ``='', ``+='', ``?='', - ``:='', and ``!='', which are described in the make(1) man + can be processed using the five operators =, + +=, ?=, := and + !=, which are described in the make(1) man page.

    When a variable's value is parsed from a - Makefile, the hash character ``#'' and the - backslash character ``\'' are handled specially. If a backslash is - followed by a newline, any whitespace immediately in front of the - backslash, the backslash, the newline, and any whitespace - immediately behind the newline are replaced with a single space. A - backslash character and an immediately following hash character are - replaced with a single hash character. Otherwise, the backslash is - passed as is. In a variable assignment, any hash character that is - not preceded by a backslash starts a comment that continues up to the - end of the logical line.

    + Makefile, the hash character # and + the backslash character \ are handled specially. If a + backslash is the last character in a line, that backslash is removed + from the line and the line continues with the next line of the file.

    +

    The # character starts a comment that reaches + until the end of the line. To get an actual # character, + such as in a URL, write \# instead.

    The evaluation of variables either happens immediately or lazy. - It happens immediately when the variable occurs - on the right-hand side of the ``:='' or the ``!='' operator, in a + It happens immediately when the variable occurs on the right-hand + side of the := or the != operator, in a .if condition or a .for loop. In the other cases, it is evaluated lazily.

    Some of the modifiers split the string into words and then - operate on the words, others operate on the string as a whole. When - a string is split into words, it is split like in sh(1).

    -

    There are several types of variables that should be handled - differently. Strings and two types of lists.

    -
      -
    • Strings can contain arbitrary - characters. Nevertheless, you should restrict yourself to only - using printable characters. Examples are - PREFIX and - COMMENT.

    • -
    • Internal lists are lists that - are never exported to any shell command. Their elements are - separated by whitespace. Therefore, the elements themselves cannot - have embedded whitespace. Any other characters are allowed. - Internal lists can be used in .for loops. - Examples are DEPENDS and - BUILD_DEPENDS.

    • -
    • External lists are lists that - may be exported to a shell command. Their elements can contain any - characters, including whitespace. That's why they cannot be used - in .for loops. Examples are - DISTFILES and - MASTER_SITES.

    • -
    + operate on the words, others operate on the string as a whole. When a + string is split into words, double quotes and single quotes are + interpreted as delimiters, just like in sh(1).

    -12.2.1. Naming conventions

    +14.2.1. Naming conventions
    • All variable names starting with an underscore are reserved for use by the pkgsrc infrastructure. They shall - not be used by package - Makefiles.

    • + not be used by packages.

    • In .for loops you should use lowercase variable names for the iteration variables.

    • -
    • All list variables should have a ``plural'' - name, e.g. PKG_OPTIONS or +

    • All list variables should have a plural name, + such as PKG_OPTIONS or DISTFILES.

    -12.3. Code snippets

    +14.3. Code snippets

    -12.3.1. Adding things to a list

    +14.3.1. Adding things to a list

    When adding a string that possibly contains whitespace or quotes to a list (example 1), it must be quoted using the :Q modifier.

    @@ -4135,7 +4178,7 @@ LIST+= ${ANOTHER_LIST} # 2

    -12.3.2. Echoing a string exactly as-is

    +14.3.2. Echoing a string exactly as-is

    Echoing a string containing special characters needs special work.

    @@ -4165,7 +4208,7 @@ when adding elements to the list.

    -12.3.3. Passing CFLAGS to GNU configure scripts

    +14.3.3. Passing CFLAGS to GNU configure scripts

    When passing CFLAGS or similar variables to a GNU-style configure script (especially those that call other configure scripts), it must not have leading or trailing whitespace, since @@ -4189,7 +4232,7 @@ space.

    -12.3.4. Handling possibly empty variables

    +14.3.4. Handling possibly empty variables

    When a possibly empty variable is used in a shell program, it may lead to a syntax error.

    @@ -4222,9 +4265,8 @@ install-examples:
             echo "Installing ${egfile}"
     .endfor
     
    -

    This variant only works when EGFILES does not -contain filenames with spaces, since the .for loop splits on -simple whitespace.

    +

    If one of the filenames contains special characters, it should be +enclosed in single or double quotes.

    To have a shell command test whether a make variable is empty, use the following code: ${TEST} -z ${POSSIBLY_EMPTY:Q}"".

    @@ -4232,19 +4274,19 @@ the following code: ${TEST} -z ${POSSIBLY_EMPTY:Q}"".<

    -Chapter 13. PLIST issues

    +Chapter 15. PLIST issues

    The PLIST file contains a package's @@ -4257,7 +4299,7 @@ the following code: ${TEST} -z ${POSSIBLY_EMPTY:Q}"".< below!).

    -13.1. RCS ID

    +15.1. RCS ID

    Be sure to add a RCS ID line as the first thing in any PLIST file you write:

    @@ -4269,15 +4311,15 @@ adding the RCS ID the space should be omitted.

    -13.2. Semi-automatic PLIST generation

    +15.2. Semi-automatic PLIST generation

    You can use the make print-PLIST command to output a PLIST that matches any new files since the package - was extracted. See Section 17.17, “Other helpful targets” for + was extracted. See Section 19.17, “Other helpful targets” for more information on this target.

    -13.3. Tweaking output of make print-PLIST +15.3. Tweaking output of make print-PLIST

    The PRINT_PLIST_AWK variable takes a set of AWK patterns and actions that are used to filter the output of @@ -4292,7 +4334,7 @@ PRINT_PLIST_AWK+= /^libdata\/foo/ { next; }

    -13.4. Variable substitution in PLIST

    +15.4. Variable substitution in PLIST

    A number of variables are substituted automatically in PLISTs when a package is installed on a system. This includes the following variables:

    @@ -4338,7 +4380,7 @@ well as searching the pkgsrc/mk directory with PLIST_SUBST should help.

    If you want to change other variables not listed above, you can add variables and their expansions to this variable in the - following way, similar to MESSAGE_SUBST (see Section 11.5, “Optional files”):

    + following way, similar to MESSAGE_SUBST (see Section 13.5, “Optional files”):

     PLIST_SUBST+=   SOMEVAR="somevalue"
     
    @@ -4377,7 +4419,7 @@ adding the RCS ID the space should be ommited.

    -13.5. Man page compression

    +15.5. Man page compression

    Man pages should be installed in compressed form if MANZ is set (in bsd.own.mk), and uncompressed otherwise. To handle this in the @@ -4390,7 +4432,7 @@ adding the RCS ID the space should be ommited.

    -13.6. Changing PLIST source with PLIST_SRC +15.6. Changing PLIST source with PLIST_SRC

    To use one or more files as source for the PLIST used in generating the binary package, set the variable @@ -4401,7 +4443,7 @@ adding the RCS ID the space should be ommited.

    -13.7. Platform-specific and differing PLISTs

    +15.7. Platform-specific and differing PLISTs

    Some packages decide to install a different set of files based on the operating system being used. These differences can be automatically handled by using the following files:

    @@ -4415,7 +4457,7 @@ adding the RCS ID the space should be ommited.

    -13.8. Build-specific PLISTs

    +15.8. Build-specific PLISTs

    Some packages decide to generate hard-to-guess file names during installation that are hard to wire down.

    In such cases, you can set the @@ -4433,7 +4475,7 @@ GENERATE_PLIST+= ${ECHO} bin/${DISTNAME}-`${WRKSRC}/src/xemacs -sd`.dmp ;

    -13.9. Sharing directories between packages

    +15.9. Sharing directories between packages

    A shared directory is a directory where multiple (and unrelated) packages install files. These directories were problematic because you had to add special @@ -4460,24 +4502,24 @@ GENERATE_PLIST+= ${ECHO} bin/${DISTNAME}-`${WRKSRC}/src/xemacs -sd`.dmp ;

    -Chapter 14. Buildlink methodology

    +Chapter 16. Buildlink methodology
    @@ -4505,7 +4547,7 @@ GENERATE_PLIST+= ${ECHO} bin/${DISTNAME}-`${WRKSRC}/src/xemacs -sd`.dmp ; software.

    -14.1. Converting packages to use buildlink3

    +16.1. Converting packages to use buildlink3

    The process of converting packages to use the buildlink3 framework (bl3ifying) is fairly straightforward. The things to keep in mind are:

    @@ -4592,7 +4634,7 @@ BUILDLINK_API_DEPENDS.foo+= foo>=1.1.0

    -14.2. Writing buildlink3.mk files

    +16.2. Writing buildlink3.mk files

    A package's buildlink3.mk file is included by Makefiles to indicate the need to compile and link against header files and libraries provided by the package. A @@ -4612,7 +4654,7 @@ BUILDLINK_API_DEPENDS.foo+= foo>=1.1.0

    -14.2.1. Anatomy of a buildlink3.mk file

    +16.2.1. Anatomy of a buildlink3.mk file

    The following real-life example buildlink3.mk is taken from pkgsrc/graphics/tiff:

    @@ -4756,7 +4798,7 @@ BUILDLINK_TREE+= -tiff

    -14.2.2. Updating +16.2.2. Updating BUILDLINK_API_DEPENDS.pkg and BUILDLINK_ABI_DEPENDS.pkg @@ -4783,7 +4825,7 @@ BUILDLINK_TREE+= -tiff adjusted, too. This is needed so pkgsrc will require the correct package dependency and not settle for an older one when building the source.

    -

    See Section 19.1.5, “Handling dependencies” for +

    See Section 21.1.5, “Handling dependencies” for more information about dependencies on other packages, including the BUILDLINK_ABI_DEPENDS and ABI_DEPENDS definitions.

    @@ -4802,7 +4844,7 @@ BUILDLINK_TREE+= -tiff

    -14.3. Writing builtin.mk files

    +16.3. Writing builtin.mk files

    Some packages in pkgsrc install headers and libraries that coincide with headers and libraries present in the base system. Aside from a buildlink3.mk file, these @@ -4827,7 +4869,7 @@ BUILDLINK_TREE+= -tiff

    -14.3.1. Anatomy of a builtin.mk file

    +16.3.1. Anatomy of a builtin.mk file

    The following is the recommended template for builtin.mk files:

    @@ -4914,7 +4956,7 @@ CHECK_BUILTIN.foo?=     no
     
     

    -14.3.2. Global preferences for native or pkgsrc software

    +16.3.2. Global preferences for native or pkgsrc software

    When building packages, it's possible to choose whether to set a global preference for using either the built-in (native) version or the pkgsrc version of software to satisfy a @@ -4956,29 +4998,29 @@ PREFER_NATIVE= getopt skey tcp_wrappers

    -Chapter 15. The pkginstall framework

    +Chapter 17. The pkginstall framework

    This chapter describes the framework known as @@ -5004,7 +5046,7 @@ described above is by means of the installation scripts, which are automatically generated by pkginstall.

    -15.1. Files and directories outside the installation prefix

    +17.1. Files and directories outside the installation prefix

    As you already know, the PLIST file holds a list of files and directories that belong to a package. The names used in it are relative to the installation prefix (${PREFIX}), @@ -5037,7 +5079,7 @@ and directories based on variables set in the package's these variables.

    -15.1.1. Directory manipulation

    +17.1.1. Directory manipulation

    The following variables can be set to request the creation of directories anywhere in the file system:

      @@ -5070,7 +5112,7 @@ MAKE_DIRS_PERMS+= ${VARBASE}/foo/private \

    -15.1.2. File manipulation

    +17.1.2. File manipulation

    Creating non-empty files outside the installation prefix is tricky because the PLIST forces all files to be inside it. To overcome this problem, the only solution is to extract the file in the @@ -5111,7 +5153,7 @@ REQD_FILES_PERMS+= ${PREFIX}/share/somefile ${VARBASE}/somefile \

    -15.2. Configuration files

    +17.2. Configuration files

    Configuration files are special in the sense that they are installed in their own specific directory, PKG_SYSCONFDIR, and need special treatment during installation (most of which is automated by @@ -5123,7 +5165,7 @@ be removed if they have local modifications. This ensures that administrators never lose any custom changes they may have made.

    -15.2.1. How PKG_SYSCONFDIR is set

    +17.2.1. How PKG_SYSCONFDIR is set

    As said before, the PKG_SYSCONFDIR variable specifies where configuration files shall be installed. Its contents are set based upon the following variables:

    @@ -5171,13 +5213,13 @@ following:

    ${PKG_SYSCONFBASE}.

    It is worth mentioning that ${PKG_SYSCONFDIR} is -automatically added to OWN_DIRS. See Section 15.1.1, “Directory manipulation” what this means. This does not apply to +automatically added to OWN_DIRS. See Section 17.1.1, “Directory manipulation” what this means. This does not apply to subdirectories of ${PKG_SYSCONFDIR}, they still have to be created with OWN_DIRS or MAKE_DIRS.

    -15.2.2. Telling the software where configuration files are

    +17.2.2. Telling the software where configuration files are

    Given that pkgsrc (and users!) expect configuration files to be in a known place, you need to teach each package where it shall install its files. In some cases you will have to patch the package Makefiles to @@ -5194,7 +5236,7 @@ unfortunately).

    -15.2.3. Patching installations

    +17.2.3. Patching installations

    As said before, pkginstall automatically handles configuration files. This means that the packages themselves must not touch the contents of ${PKG_SYSCONFDIR} @@ -5211,7 +5253,7 @@ examples hierarchy), the pkginstall framework can use them as master copies during the package installation to update what is in ${PKG_SYSCONFDIR}. To achieve this, the variables CONF_FILES and CONF_FILES_PERMS are -used. Check out Section 15.1.2, “File manipulation” for information +used. Check out Section 17.1.2, “File manipulation” for information about their syntax and their purpose. Here is an example, taken from the mail/mutt package:

    @@ -5223,7 +5265,7 @@ package and has no meaning outside it.

    -15.2.4. Disabling handling of configuration files

    +17.2.4. Disabling handling of configuration files

    The automatic copying of config files can be toggled by setting the environment variable PKG_CONFIG prior to package installation.

    @@ -5231,10 +5273,10 @@ installation.

    -15.3. System startup scripts

    +17.3. System startup scripts

    System startup scripts are special files because they must be installed in a place known by the underlying OS, usually outside the -installation prefix. Therefore, the same rules described in Section 15.1, “Files and directories outside the installation prefix” apply, and the same solutions +installation prefix. Therefore, the same rules described in Section 17.1, “Files and directories outside the installation prefix” apply, and the same solutions can be used. However, pkginstall provides a special mechanism to handle these files.

    In order to provide system startup scripts, the package has @@ -5269,7 +5311,7 @@ script in an automated fashion:

    -15.3.1. Disabling handling of system startup scripts

    +17.3.1. Disabling handling of system startup scripts

    The automatic copying of config files can be toggled by setting the environment variable PKG_RCD_SCRIPTS prior to package installation. Note that the scripts will be always copied inside the @@ -5279,7 +5321,7 @@ matter what the value of this variable is.

    -15.4. System users and groups

    +17.4. System users and groups

    If a package needs to create special users and/or groups during installation, it can do so by using the pkginstall framework.

    Users can be created by adding entries to the @@ -5317,7 +5359,7 @@ final installation scripts.

    -15.5. System shells

    +17.5. System shells

    Packages that install system shells should register them in the shell database, /etc/shells, to make things easier to the administrator. This must be done from the installation scripts to keep @@ -5332,7 +5374,7 @@ PKG_SHELL= ${PREFIX}/bin/zsh

    -15.5.1. Disabling shell registration

    +17.5.1. Disabling shell registration

    The automatic registration of shell interpreters can be disabled by the administrator by setting the PKG_REGISTER_SHELLS environment variable to NO.

    @@ -5340,7 +5382,7 @@ environment variable to NO.

    -15.6. Fonts

    +17.6. Fonts

    Packages that install X11 fonts should update the database files that index the fonts within each fonts directory. This can easily be accomplished within the pkginstall framework.

    @@ -5358,7 +5400,7 @@ FONTS_DIRS.ttf= ${PREFIX}/share/fonts/X11/TTF

    -15.6.1. Disabling automatic update of the fonts databases

    +17.6.1. Disabling automatic update of the fonts databases

    The automatic update of fonts databases can be disabled by the administrator by setting the PKG_UPDATE_FONTS_DB environment variable to NO.

    @@ -5367,14 +5409,14 @@ environment variable to NO.

    -Chapter 16. Options handling

    +Chapter 18. Options handling

    Many packages have the ability to be built to support different @@ -5413,7 +5455,7 @@ that depend on non-free dependencies (especially plugins) should almost always be split if feasible.

    -16.1. Global default options

    +18.1. Global default options

    Global default options are listed in PKG_DEFAULT_OPTIONS, which is a list of the options that should be built into every package if that option is supported. @@ -5421,7 +5463,7 @@ This variable should be set in

    -16.2. Converting packages to use bsd.options.mk +18.2. Converting packages to use bsd.options.mk

    The following example shows how bsd.options.mk should be used @@ -5560,7 +5602,7 @@ whether it is listed in PKG_OPTIONS:

    -16.3. Option Names

    +18.3. Option Names

    Options that enable similar features in different packages (like optional support for a library) should use a common name in all packages that support it (like the name of the library). If another @@ -5584,7 +5626,7 @@ support.” The file is sorted by option names.

    -16.4. Determining the options of dependencies

    +18.4. Determining the options of dependencies

    When writing buildlink3.mk files, it is often necessary to list different dependencies based on the options with which the package was built. For querying these options, the file @@ -5608,36 +5650,36 @@ details.

    -Chapter 17. The build process

    +Chapter 19. The build process

    -17.1. Introduction

    +19.1. Introduction

    This chapter gives a detailed description on how a package is built. Building a package is separated into different phases (for example fetch, @@ -5664,7 +5706,7 @@ details.

    -17.2. Program location

    +19.2. Program location

    Before outlining the process performed by the NetBSD package system in the next section, here's a brief discussion on where programs are installed, and which variables influence this.

    @@ -5675,7 +5717,7 @@ details.

    for pkgs in the cross category. The value of PREFIX needs to be put into the various places in the program's source where paths to - these files are encoded. See Section 11.3, “patches/* and Section 19.3.1, “Shared libraries - libtool” for more details.

    + these files are encoded. See Section 13.3, “patches/* and Section 21.3.1, “Shared libraries - libtool” for more details.

    When choosing which of these variables to use, follow the following rules:

      @@ -5706,7 +5748,7 @@ details.

    -17.3. Directories used during the build process

    +19.3. Directories used during the build process

    When building a package, various directories are used to store source files, temporary files, pkgsrc-internal files, and so on. These directories are explained here.

    @@ -5751,7 +5793,7 @@ details.

    -17.4. Running a phase

    +19.4. Running a phase

    You can run a particular phase by typing make phase, where phase is the name of the phase. This will automatically run all phases that are required for this @@ -5761,14 +5803,14 @@ details.

    -17.5. The fetch phase

    +19.5. The fetch phase

    The first step in building a package is to fetch the distribution files (distfiles) from the sites that are providing them. This is the task of the fetch phase.

    -17.5.1. What to fetch and where to get it from

    +19.5.1. What to fetch and where to get it from

    In simple cases, MASTER_SITES defines all URLs from where the distfile, whose name is derived from the DISTNAME variable, is @@ -5885,7 +5927,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=project_name/}

    -17.5.2. How are the files fetched?

    +19.5.2. How are the files fetched?

    The fetch phase makes sure that all the distfiles exist in a local directory (DISTDIR, which can be set by the pkgsrc @@ -5919,7 +5961,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.6. The checksum phase

    +19.6. The checksum phase

    After the distfile(s) are fetched, their checksum is generated and compared with the checksums stored in the distinfo file. If the checksums don't match, the build is @@ -5930,7 +5972,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.7. The extract phase

    +19.7. The extract phase

    When the distfiles are present on the local system, they need to be extracted, as they usually come in the form of some compressed archive format.

    @@ -5970,7 +6012,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.8. The patch phase

    +19.8. The patch phase

    After extraction, all the patches named by the PATCHFILES, those present in the patches subdirectory of the package as well as in @@ -5981,7 +6023,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS} applied, files ending in .orig or .rej are ignored. Any special options to patch(1) can be handed in - PATCH_DIST_ARGS. See Section 11.3, “patches/* for more details.

    + PATCH_DIST_ARGS. See Section 13.3, “patches/* for more details.

    By default patch(1) is given special args to make it fail if the patches apply with some lines of fuzz. Please fix (regen) the patches so that they apply cleanly. The @@ -5991,13 +6033,13 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.9. The tools phase

    -

    This is covered in Chapter 18, Tools needed for building or running. +19.9. The tools phase

    +

    This is covered in Chapter 20, Tools needed for building or running.

    -17.10. The wrapper phase

    +19.10. The wrapper phase

    This phase creates wrapper programs for the compilers and linkers. The following variables can be used to tweak the wrappers.

    @@ -6035,7 +6077,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.11. The configure phase

    +19.11. The configure phase

    Most pieces of software need information on the header files, system calls, and library routines which are available on the platform they run on. The process of determining this @@ -6093,7 +6135,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.12. The build phase

    +19.12. The build phase

    For building a package, a rough equivalent of the following code is executed.

    @@ -6128,12 +6170,12 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}
     
     

    -17.13. The test phase

    +19.13. The test phase

    [TODO]

    -17.14. The install phase

    +19.14. The install phase

    Once the build stage has completed, the final step is to install the software in public directories, so users can access the programs and files.

    @@ -6226,7 +6268,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.15. The package phase

    +19.15. The package phase

    Once the install stage has completed, a binary package of the installed files can be built. These binary packages can be used for quick installation without previous compilation, e.g. by @@ -6241,7 +6283,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.16. Cleaning up

    +19.16. Cleaning up

    Once you're finished with a package, you can clean the work directory by running make clean. If you want to clean the work directories of all dependencies too, use @@ -6249,7 +6291,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}

    -17.17. Other helpful targets

    +19.17. Other helpful targets
    pre/post-*

    For any of the main targets described in the @@ -6573,7 +6615,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS} PLIST, as the find -newer command used by this target won't catch them!

    -

    See Section 13.3, “Tweaking output of make print-PLIST for more +

    See Section 15.3, “Tweaking output of make print-PLIST for more information on this target.

    bulk-package
    @@ -6582,7 +6624,7 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS} package already exists, no action is taken. If not, this target will compile, install and package it (and its depends, if PKG_DEPENDS is set - properly. See Chapter 7, Creating binary packages for everything in pkgsrc (bulk + properly. See Chapter 8, Creating binary packages for everything in pkgsrc (bulk builds)). After creating the binary package, the sources, the just-installed package and its required packages are @@ -6615,13 +6657,13 @@ builds)).

    -Chapter 18. Tools needed for building or running

    +Chapter 20. Tools needed for building or running

    The USE_TOOLS definition is used both internally @@ -6645,7 +6687,7 @@ yacc) or a better sed.

    make show-tools.

    -18.1. Tools for pkgsrc builds

    +20.1. Tools for pkgsrc builds

    The default set of tools used by pkgsrc is defined in bsd.pkg.mk. This includes standard Unix tools, such as: cat, awk, @@ -6658,7 +6700,7 @@ to define the tools needed.

    -18.2. Tools needed by packages

    +20.2. Tools needed by packages

    In the following examples, the :run means that it is needed at run-time (and becomes a DEPENDS). The default is a build dependency which can be set with @@ -6678,7 +6720,7 @@ tool at run-time, then just use DEPENDS instead.

    -18.3. Tools provided by platforms

    +20.3. Tools provided by platforms

    When improving or porting pkgsrc to a new platform, have a look at (or create) the corresponding platform specific make file fragment under pkgsrc/mk/tools/tools.${OPSYS}.mk which defines @@ -6696,81 +6738,81 @@ TOOLS_PLATFORM.true?= true # shell builtin

    -Chapter 19. Making your package work

    +Chapter 21. Making your package work

    Table of Contents

    -
    19.1. General operation
    -
    -
    19.1.1. How to pull in user-settable variables from mk.conf
    -
    19.1.2. User interaction
    -
    19.1.3. Handling licenses
    -
    19.1.4. Restricted packages
    -
    19.1.5. Handling dependencies
    -
    19.1.6. Handling conflicts with other packages
    -
    19.1.7. Packages that cannot or should not be built
    -
    19.1.8. Packages which should not be deleted, once installed
    -
    19.1.9. Handling packages with security problems
    -
    19.1.10. How to handle incrementing versions when fixing an existing package
    -
    19.1.11. Substituting variable text in the package files (the SUBST framework)
    -
    -
    19.2. The fetch phase
    -
    -
    19.2.1. Packages whose distfiles aren't available for plain downloading
    -
    19.2.2. How to handle modified distfiles with the 'old' name
    -
    19.2.3. Packages hosted on github.com
    -
    -
    19.3. The configure phase
    -
    -
    19.3.1. Shared libraries - libtool
    -
    19.3.2. Using libtool on GNU packages that already support libtool
    -
    19.3.3. GNU Autoconf/Automake
    -
    -
    19.4. Programming languages
    -
    -
    19.4.1. C, C++, and Fortran
    -
    19.4.2. Java
    -
    19.4.3. Packages containing perl scripts
    -
    19.4.4. Packages containing shell scripts
    -
    19.4.5. Other programming languages
    -
    -
    19.5. The build phase
    -
    -
    19.5.1. Compiling C and C++ code conditionally
    -
    19.5.2. How to handle compiler bugs
    -
    19.5.3. Undefined reference to ...
    -
    19.5.4. Running out of memory
    -
    -
    19.6. The install phase
    -
    -
    19.6.1. Creating needed directories
    -
    19.6.2. Where to install documentation
    -
    19.6.3. Installing highscore files
    -
    19.6.4. Adding DESTDIR support to packages
    -
    19.6.5. Packages with hardcoded paths to other interpreters
    -
    19.6.6. Packages installing perl modules
    -
    19.6.7. Packages installing info files
    -
    19.6.8. Packages installing man pages
    -
    19.6.9. Packages installing GConf data files
    -
    19.6.10. Packages installing scrollkeeper/rarian data files
    -
    19.6.11. Packages installing X11 fonts
    -
    19.6.12. Packages installing GTK2 modules
    -
    19.6.13. Packages installing SGML or XML data
    -
    19.6.14. Packages installing extensions to the MIME database
    -
    19.6.15. Packages using intltool
    -
    19.6.16. Packages installing startup scripts
    -
    19.6.17. Packages installing TeX modules
    -
    19.6.18. Packages supporting running binaries in +
    21.1. General operation
    +
    +
    21.1.1. How to pull in user-settable variables from mk.conf
    +
    21.1.2. User interaction
    +
    21.1.3. Handling licenses
    +
    21.1.4. Restricted packages
    +
    21.1.5. Handling dependencies
    +
    21.1.6. Handling conflicts with other packages
    +
    21.1.7. Packages that cannot or should not be built
    +
    21.1.8. Packages which should not be deleted, once installed
    +
    21.1.9. Handling packages with security problems
    +
    21.1.10. How to handle incrementing versions when fixing an existing package
    +
    21.1.11. Substituting variable text in the package files (the SUBST framework)
    +
    +
    21.2. The fetch phase
    +
    +
    21.2.1. Packages whose distfiles aren't available for plain downloading
    +
    21.2.2. How to handle modified distfiles with the 'old' name
    +
    21.2.3. Packages hosted on github.com
    +
    +
    21.3. The configure phase
    +
    +
    21.3.1. Shared libraries - libtool
    +
    21.3.2. Using libtool on GNU packages that already support libtool
    +
    21.3.3. GNU Autoconf/Automake
    +
    +
    21.4. Programming languages
    +
    +
    21.4.1. C, C++, and Fortran
    +
    21.4.2. Java
    +
    21.4.3. Packages containing perl scripts
    +
    21.4.4. Packages containing shell scripts
    +
    21.4.5. Other programming languages
    +
    +
    21.5. The build phase
    +
    +
    21.5.1. Compiling C and C++ code conditionally
    +
    21.5.2. How to handle compiler bugs
    +
    21.5.3. Undefined reference to ...
    +
    21.5.4. Running out of memory
    +
    +
    21.6. The install phase
    +
    +
    21.6.1. Creating needed directories
    +
    21.6.2. Where to install documentation
    +
    21.6.3. Installing highscore files
    +
    21.6.4. Adding DESTDIR support to packages
    +
    21.6.5. Packages with hardcoded paths to other interpreters
    +
    21.6.6. Packages installing perl modules
    +
    21.6.7. Packages installing info files
    +
    21.6.8. Packages installing man pages
    +
    21.6.9. Packages installing GConf data files
    +
    21.6.10. Packages installing scrollkeeper/rarian data files
    +
    21.6.11. Packages installing X11 fonts
    +
    21.6.12. Packages installing GTK2 modules
    +
    21.6.13. Packages installing SGML or XML data
    +
    21.6.14. Packages installing extensions to the MIME database
    +
    21.6.15. Packages using intltool
    +
    21.6.16. Packages installing startup scripts
    +
    21.6.17. Packages installing TeX modules
    +
    21.6.18. Packages supporting running binaries in emulation
    -
    19.6.19. Packages installing hicolor theme icons
    -
    19.6.20. Packages installing desktop files
    +
    21.6.19. Packages installing hicolor theme icons
    +
    21.6.20. Packages installing desktop files
    -
    19.7. Marking packages as having problems
    +
    21.7. Marking packages as having problems

    -19.1. General operation

    +21.1. General operation

    One appealing feature of pkgsrc is that it runs on many different platforms. As a result, it is important to ensure, where possible, that packages in pkgsrc are portable. This @@ -6778,7 +6820,7 @@ TOOLS_PLATFORM.true?= true # shell builtin attention to while working on pkgsrc.

    -19.1.1. How to pull in user-settable variables from mk.conf +21.1.1. How to pull in user-settable variables from mk.conf

    The pkgsrc user can configure pkgsrc by overriding several variables in the file pointed to by MAKECONF, @@ -6806,7 +6848,7 @@ TOOLS_PLATFORM.true?= true # shell builtin

    -19.1.2. User interaction

    +21.1.2. User interaction

    Occasionally, packages require interaction from the user, and this can be in a number of ways:

      @@ -6831,7 +6873,7 @@ INTERACTIVE_STAGE= configure install

    -19.1.3. Handling licenses

    +21.1.3. Handling licenses

    Authors of software can choose the licence under which software can be copied. The Free Software Foundation has declared some licenses "Free", and the Open Source Initiative has a definition of @@ -6894,7 +6936,7 @@ ACCEPTABLE_LICENSES+=xv-license tag.

    -19.1.3.1. Adding a package with a new license

    +21.1.3.1. Adding a package with a new license

    When adding a package with a new license, the following steps are required:

      @@ -6916,7 +6958,7 @@ ACCEPTABLE_LICENSES+=xv-license

    -19.1.3.2. Change to the license

    +21.1.3.2. Change to the license

    When the license changes (in a way other than formatting), make sure that the new license has a different name (e.g., append the version number if it exists, or the date). Just @@ -6930,7 +6972,7 @@ ACCEPTABLE_LICENSES+=xv-license

    -19.1.4. Restricted packages

    +21.1.4. Restricted packages

    Some licenses restrict how software may be re-distributed. By declaring the restrictions, package tools can automatically refrain from e.g. placing binary packages on FTP @@ -6999,7 +7041,7 @@ ACCEPTABLE_LICENSES+=xv-license

    -19.1.5. Handling dependencies

    +21.1.5. Handling dependencies

    Your package may depend on some other package being present - and there are various ways of expressing this dependency. pkgsrc supports the BUILD_DEPENDS and @@ -7007,7 +7049,7 @@ ACCEPTABLE_LICENSES+=xv-license USE_TOOLS definition, as well as dependencies via buildlink3.mk, which is the preferred way to handle dependencies, and which uses the variables named above. - See Chapter 14, Buildlink methodology for more information.

    + See Chapter 16, Buildlink methodology for more information.

    The basic difference between the two variables is as follows: The DEPENDS definition registers that pre-requisite in the binary package so it will be pulled in @@ -7093,7 +7135,7 @@ DEPENDS+= ImageMagick>=6.0:../../graphics/ImageMagick

    If you need to depend on minimum versions of libraries, see the buildlink section of the pkgsrc guide.

    For security fixes, please update the package - vulnerabilities file. See Section 19.1.9, “Handling packages with security problems” for more + vulnerabilities file. See Section 21.1.9, “Handling packages with security problems” for more information.

    @@ -7106,7 +7148,7 @@ DEPENDS+= ImageMagick>=6.0:../../graphics/ImageMagick

    -19.1.6. Handling conflicts with other packages

    +21.1.6. Handling conflicts with other packages

    Your package may conflict with other packages a user might already have installed on his system, e.g. if your package installs the same set of files as another package in the pkgsrc @@ -7139,7 +7181,7 @@ CONFLICTS= libXaw3d-[0-9]*

    -19.1.7. Packages that cannot or should not be built

    +21.1.7. Packages that cannot or should not be built

    There are several reasons why a package might be instructed to not build under certain circumstances. If the package builds and runs on most platforms, the exceptions @@ -7178,7 +7220,7 @@ CONFLICTS= libXaw3d-[0-9]*

    -19.1.8. Packages which should not be deleted, once installed

    +21.1.8. Packages which should not be deleted, once installed

    To ensure that a package may not be deleted, once it has been installed, the PKG_PRESERVE definition should be set in the package Makefile. This will be carried into any @@ -7189,7 +7231,7 @@ CONFLICTS= libXaw3d-[0-9]*

    -19.1.9. Handling packages with security problems

    +21.1.9. Handling packages with security problems

    When a vulnerability is found, this should be noted in localsrc/security/advisories/pkg-vulnerabilities, and after committing that file, ask pkgsrc-security@NetBSD.org to @@ -7206,7 +7248,7 @@ CONFLICTS= libXaw3d-[0-9]*

    -19.1.10. How to handle incrementing versions when fixing an existing package

    +21.1.10. How to handle incrementing versions when fixing an existing package

    When making fixes to an existing package it can be useful to change the version number in PKGNAME. To avoid conflicting with future versions by the original author, a @@ -7267,7 +7309,7 @@ DISTNAME= foo-17.43

    -19.1.11. Substituting variable text in the package files (the SUBST framework)

    +21.1.11. Substituting variable text in the package files (the SUBST framework)

    When you want to replace the same text in multiple files or when the replacement text varies, patches alone cannot help. This is where the SUBST framework comes in. It provides an @@ -7327,10 +7369,10 @@ SUBST_SED.fix-paths+= -e 's,"/var/log,"${VARBASE}/log,g'

    -19.2. The fetch phase

    +21.2. The fetch phase

    -19.2.1. Packages whose distfiles aren't available for plain downloading

    +21.2.1. Packages whose distfiles aren't available for plain downloading

    If you need to download from a dynamic URL you can set DYNAMIC_MASTER_SITES and a make fetch will call files/getsite.sh @@ -7351,7 +7393,7 @@ FETCH_MESSAGE+= "manually from "${MASTER_SITES:Q}"."

    -19.2.2. How to handle modified distfiles with the 'old' name

    +21.2.2. How to handle modified distfiles with the 'old' name

    Sometimes authors of a software package make some modifications after the software was released, and they put up a new distfile without changing the package's version number. If a @@ -7368,7 +7410,7 @@ FETCH_MESSAGE+= "manually from "${MASTER_SITES:Q}"." python or ruby packages, where PKGNAME includes a variable prefix). All DISTFILES and PATCHFILES for this package will be put in that - subdirectory of the local distfiles directory. (See Section 19.1.10, “How to handle incrementing versions when fixing an existing package” for more details.) In case this + subdirectory of the local distfiles directory. (See Section 21.1.10, “How to handle incrementing versions when fixing an existing package” for more details.) In case this happens more often, PKGNAME can be used (thus including the nbX suffix) or a date stamp can be appended, like @@ -7384,12 +7426,12 @@ FETCH_MESSAGE+= "manually from "${MASTER_SITES:Q}"."

    -19.2.3. Packages hosted on github.com

    +21.2.3. Packages hosted on github.com

    Helper methods exist for packages hosted on github.com which will often have distfile names that clash with other packages, for example 1.0.tar.gz. Use one of the three recipes from below:

    -19.2.3.1. Fetch based on a tagged release

    +21.2.3.1. Fetch based on a tagged release

    If your distfile URL looks similar to http://github.com/username/exampleproject/archive/v1.0.zip, then you are packaging a tagged release.

    @@ -7403,7 +7445,7 @@ EXTRACT_SUFX= .zip

    -19.2.3.2. Fetch based on a specific commit

    +21.2.3.2. Fetch based on a specific commit

    If your distfile URL looks similar to http://github.com/example/example/archive/988881adc9fc3655077dc2d4d757d480b5ea0e11.tar.gz, then you are packaging a specific commit not tied to a release.

    @@ -7416,7 +7458,7 @@ GITHUB_TAG= 988881adc9fc3655077dc2d4d757d480b5ea0e11

    -19.2.3.3. Fetch based on release

    +21.2.3.3. Fetch based on release

    If your distfile URL looks similar to http://github.com/username/exampleproject/releases/download/rel-1.6/offensive-1.6.zip, then you are packaging a release.

    @@ -7433,10 +7475,10 @@ EXTRACT_SUFX= .zip

    -19.3. The configure phase

    +21.3. The configure phase

    -19.3.1. Shared libraries - libtool

    +21.3.1. Shared libraries - libtool

    pkgsrc supports many different machines, with different object formats like a.out and ELF, and varying abilities to do shared library and dynamic loading at all. To accompany this, @@ -7561,7 +7603,7 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${SOMELIB:.a=.la} ${PREFIX}/lib

    -19.3.2. Using libtool on GNU packages that already support libtool

    +21.3.2. Using libtool on GNU packages that already support libtool

    Add USE_LIBTOOL=yes to the package Makefile. This will override the package's own libtool in most cases. For older libtool using packages, libtool is @@ -7602,7 +7644,7 @@ ${LIBTOOL} --mode=install ${BSD_INSTALL_LIB} ${SOMELIB:.a=.la} ${PREFIX}/lib

    -19.3.3. GNU Autoconf/Automake

    +21.3.3. GNU Autoconf/Automake

    If a package needs GNU autoconf or automake to be executed to regenerate the configure script and Makefile.in makefile templates, then they should be executed in a pre-configure @@ -7643,14 +7685,14 @@ pre-configure:

    -19.4. Programming languages

    +21.4. Programming languages

    -19.4.1. C, C++, and Fortran

    +21.4.1. C, C++, and Fortran

    Compilers for the C, C++, and Fortran languages comes with the NetBSD base system. By default, pkgsrc assumes that a package is written in C and will hide all other compilers (via the wrapper - framework, see Chapter 14, Buildlink methodology).

    + framework, see Chapter 16, Buildlink methodology).

    To declare which language's compiler a package needs, set the USE_LANGUAGES variable. Allowed values currently are c, c++, and @@ -7661,7 +7703,7 @@ pre-configure:

    -19.4.2. Java

    +21.4.2. Java

    If a program is written in Java, use the Java framework in pkgsrc. The package must include ../../mk/java-vm.mk. This Makefile fragment @@ -7690,7 +7732,7 @@ pre-configure:

    -19.4.3. Packages containing perl scripts

    +21.4.3. Packages containing perl scripts

    If your package contains interpreted perl scripts, add perl to the USE_TOOLS variable and set REPLACE_PERL to ensure that the proper @@ -7702,12 +7744,12 @@ pre-configure:

    If a particular version of perl is needed, set the PERL5_REQD variable to the version number. The default is 5.0.

    -

    See Section 19.6.6, “Packages installing perl modules” for information +

    See Section 21.6.6, “Packages installing perl modules” for information about handling perl modules.

    -19.4.4. Packages containing shell scripts

    +21.4.4. Packages containing shell scripts

    REPLACE_SH, REPLACE_BASH, REPLACE_CSH, and REPLACE_KSH can be used to replace shell @@ -7722,7 +7764,7 @@ pre-configure:

    -19.4.5. Other programming languages

    +21.4.5. Other programming languages

    Currently, there is no special handling for other languages in pkgsrc. If a compiler package provides a buildlink3.mk file, include that, otherwise @@ -7732,7 +7774,7 @@ pre-configure:

    -19.5. The build phase

    +21.5. The build phase

    The most common failures when building a package are that some platforms do not provide certain header files, functions or libraries, or they provide the functions in a library that the @@ -7741,7 +7783,7 @@ pre-configure: use the missing functions or provides a replacement function.

    -19.5.1. Compiling C and C++ code conditionally

    +21.5.1. Compiling C and C++ code conditionally

    If a package already comes with a GNU configure script, the preferred way to fix the build failure is to change the configure script, not the code. In the other cases, you can @@ -7761,7 +7803,7 @@ pre-configure: does not define it. Use __sun instead.

    -19.5.1.1. C preprocessor macros to identify the operating system

    +21.5.1.1. C preprocessor macros to identify the operating system

    To distinguish between 4.4 BSD-derived systems and the rest of the world, you should use the following code.

    @@ -7792,7 +7834,7 @@ Solaris     sun, __sun
     
     

    -19.5.1.2. C preprocessor macros to identify the hardware architecture

    +21.5.1.2. C preprocessor macros to identify the hardware architecture
     i386        i386, __i386, __i386__
     MIPS        __mips
    @@ -7801,7 +7843,7 @@ SPARC       sparc, __sparc
     
     

    -19.5.1.3. C preprocessor macros to identify the compiler

    +21.5.1.3. C preprocessor macros to identify the compiler
     GCC         __GNUC__ (major version), __GNUC_MINOR__
     MIPSpro     _COMPILER_VERSION (0x741 for MIPSpro 7.41)
    @@ -7812,7 +7854,7 @@ SunPro C++  __SUNPRO_CC (0x580 for Sun C++ 5.8)
     
     

    -19.5.2. How to handle compiler bugs

    +21.5.2. How to handle compiler bugs

    Some source files trigger bugs in the compiler, based on combinations of compiler version and architecture and almost always relation to optimisation being enabled. Common symptoms @@ -7830,7 +7872,7 @@ SunPro C++ __SUNPRO_CC (0x580 for Sun C++ 5.8)

    -19.5.3. Undefined reference to ... +21.5.3. Undefined reference to ...

    This error message often means that a package did not link to a shared library it needs. The following functions are @@ -7893,7 +7935,7 @@ SunPro C++ __SUNPRO_CC (0x580 for Sun C++ 5.8) bmake.

    -19.5.3.1. Special issue: The SunPro compiler

    +21.5.3.1. Special issue: The SunPro compiler

    When you are using the SunPro compiler, there is another possibility. That compiler cannot handle the following code:

    @@ -7919,7 +7961,7 @@ of functions.

    -19.5.4. Running out of memory

    +21.5.4. Running out of memory

    Sometimes packages fail to build because the compiler runs into an operating system specific soft limit. With the UNLIMIT_RESOURCES variable pkgsrc can be told @@ -7934,10 +7976,10 @@ of functions.

    -19.6. The install phase

    +21.6. The install phase

    -19.6.1. Creating needed directories

    +21.6.1. Creating needed directories

    The BSD-compatible install supplied with some operating systems cannot create more than one directory at a time. As such, you should call @@ -7953,7 +7995,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2

    -19.6.2. Where to install documentation

    +21.6.2. Where to install documentation

    In general, documentation should be installed into ${PREFIX}/share/doc/${PKGBASE} or ${PREFIX}/share/doc/${PKGNAME} (the latter @@ -7982,7 +8024,7 @@ ${INSTALL_DATA_DIR} ${PREFIX}/dir2

    -19.6.3. Installing highscore files

    +21.6.3. Installing highscore files

    Certain packages, most of them in the games category, install a score file that allows all users on the system to record their highscores. In order for this to work, the binaries need to be @@ -8026,7 +8068,7 @@ SPECIAL_PERMS+= ${PREFIX}/bin/moon-buggy ${SETGID_GAMES_PERMS}

    -19.6.4. Adding DESTDIR support to packages

    +21.6.4. Adding DESTDIR support to packages

    DESTDIR support means that a package installs into a staging directory, not the final location of the files. Then a binary package is created which can be used for @@ -8055,7 +8097,7 @@ SPECIAL_PERMS+= ${PREFIX}/bin/moon-buggy ${SETGID_GAMES_PERMS}

    -19.6.5. Packages with hardcoded paths to other interpreters

    +21.6.5. Packages with hardcoded paths to other interpreters

    Your package may also contain scripts with hardcoded paths to other interpreters besides (or as well as) perl. To correct the full pathname to the script interpreter, you need to set the @@ -8077,7 +8119,7 @@ REPLACE_FILES.tcl= # list of tcl scripts which need to be fixed,

    -19.6.6. Packages installing perl modules

    +21.6.6. Packages installing perl modules

    Makefiles of packages providing perl5 modules should include the Makefile fragment ../../lang/perl5/module.mk. It provides a @@ -8117,7 +8159,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.7. Packages installing info files

    +21.6.7. Packages installing info files

    Some packages install info files or use the makeinfo or install-info commands. INFO_FILES should be defined in @@ -8164,7 +8206,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.8. Packages installing man pages

    +21.6.8. Packages installing man pages

    All packages that install manual pages should install them into the same directory, so that there is one common place to look for them. In pkgsrc, this place is @@ -8196,12 +8238,12 @@ PERL5_PACKLIST= auto/Pg/.packlist Or if the ./configure script uses a non-standard use of --mandir, you can set GNU_CONFIGURE_MANDIR as needed.

    -

    See Section 13.5, “Man page compression” for +

    See Section 15.5, “Man page compression” for information on installation of compressed manual pages.

    -19.6.9. Packages installing GConf data files

    +21.6.9. Packages installing GConf data files

    If a package installs .schemas or .entries files, used by GConf, you need to take some extra steps to make sure they get registered @@ -8221,7 +8263,7 @@ PERL5_PACKLIST= auto/Pg/.packlist need to manually patch the package.

  • Check the PLIST and remove any entries under the etc/gconf directory, as they will be handled automatically. See - Section 9.13, “How do I change the location of configuration files?” for more information.

  • + Section 10.13, “How do I change the location of configuration files?” for more information.

  • Define the GCONF_SCHEMAS variable in your Makefile with a list of all .schemas files installed by the package, if @@ -8235,7 +8277,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.10. Packages installing scrollkeeper/rarian data files

    +21.6.10. Packages installing scrollkeeper/rarian data files

    If a package installs .omf files, used by scrollkeeper/rarian, you need to take some extra steps to make sure they get registered in the database:

    @@ -8256,7 +8298,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.11. Packages installing X11 fonts

    +21.6.11. Packages installing X11 fonts

    If a package installs font files, you will need to rebuild the fonts database in the directory where they get installed at installation and deinstallation time. This can be automatically @@ -8273,7 +8315,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.12. Packages installing GTK2 modules

    +21.6.12. Packages installing GTK2 modules

    If a package installs GTK2 immodules or loaders, you need to take some extra steps to get them registered in the GTK2 database properly:

    @@ -8301,7 +8343,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.13. Packages installing SGML or XML data

    +21.6.13. Packages installing SGML or XML data

    If a package installs SGML or XML data files that need to be registered in system-wide catalogs (like DTDs, sub-catalogs, etc.), you need to take some extra steps:

    @@ -8329,7 +8371,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.14. Packages installing extensions to the MIME database

    +21.6.14. Packages installing extensions to the MIME database

    If a package provides extensions to the MIME database by installing .xml files inside ${PREFIX}/share/mime/packages, you @@ -8359,7 +8401,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.15. Packages using intltool

    +21.6.15. Packages using intltool

    If a package uses intltool during its build, add intltool to the USE_TOOLS, which forces it to use the intltool package provided by pkgsrc, @@ -8370,7 +8412,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.16. Packages installing startup scripts

    +21.6.16. Packages installing startup scripts

    If a package contains a rc.d script, it won't be copied into the startup directory by default, but you can enable it, by adding the option PKG_RCD_SCRIPTS=YES in @@ -8381,7 +8423,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.17. Packages installing TeX modules

    +21.6.17. Packages installing TeX modules

    If a package installs TeX packages into the texmf tree, the ls-R database of the tree needs to be updated.

    @@ -8420,7 +8462,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.18. Packages supporting running binaries in +21.6.18. Packages supporting running binaries in emulation

    There are some packages that provide libraries and executables for running binaries from a one operating system @@ -8437,7 +8479,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.19. Packages installing hicolor theme icons

    +21.6.19. Packages installing hicolor theme icons

    If a package installs images under the share/icons/hicolor and/or updates the share/icons/hicolor/icon-theme.cache @@ -8459,7 +8501,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.6.20. Packages installing desktop files

    +21.6.20. Packages installing desktop files

    If a package installs .desktop files under share/applications and these include MIME information (MimeType key), you need to take extra steps to @@ -8478,7 +8520,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -19.7. Marking packages as having problems

    +21.7. Marking packages as having problems

    In some cases one does not have the time to solve a problem immediately. In this case, one can plainly mark a package as broken. For this, one just sets the variable BROKEN to the @@ -8492,7 +8534,7 @@ PERL5_PACKLIST= auto/Pg/.packlist

    -Chapter 20. Debugging

    +Chapter 22. Debugging

    To check out all the gotchas when building a package, here are the steps that I do in order to get a package working. Please note this is basically the same as what was explained in the previous @@ -8530,7 +8572,7 @@ PERL5_PACKLIST= auto/Pg/.packlist package.

  • Look at the Makefile, fix if - necessary; see Section 11.1, “Makefile.

  • + necessary; see Section 13.1, “Makefile.

  • Generate a PLIST:

    # make install
    @@ -8569,42 +8611,42 @@ PERL5_PACKLIST= auto/Pg/.packlist
           reports:

    # pkglint
  • -
  • Submit (or commit, if you have cvs access); see Chapter 21, Submitting and Committing.

  • +
  • Submit (or commit, if you have cvs access); see Chapter 23, Submitting and Committing.

  • -Chapter 21. Submitting and Committing

    +Chapter 23. Submitting and Committing

    -21.1. Submitting binary packages

    +23.1. Submitting binary packages

    Our policy is that we accept binaries only from pkgsrc developers to guarantee that the packages don't contain any trojan horses etc. This is not to annoy anyone but rather to protect our users! You're still free to put up your home-made binary packages and tell the world where to get them. NetBSD developers doing bulk builds and wanting to upload them please - see Chapter 7, Creating binary packages for everything in pkgsrc (bulk + see Chapter 8, Creating binary packages for everything in pkgsrc (bulk builds).

    -21.2. Submitting source packages (for non-NetBSD-developers)

    +23.2. Submitting source packages (for non-NetBSD-developers)

    First, check that your package is complete, compiles and - runs well; see Chapter 20, Debugging and the rest of this + runs well; see Chapter 22, Debugging and the rest of this document. Next, generate an uuencoded gzipped tar(1) archive that contains all files that make up the package. Finally, send this package to the pkgsrc bug tracking system, @@ -8632,7 +8674,7 @@ builds).

    -21.3. General notes when adding, updating, or removing packages

    +23.3. General notes when adding, updating, or removing packages

    Please note all package additions, updates, moves, and removals in pkgsrc/doc/CHANGES-YYYY. It's very important to keep this file up to date and conforming to the @@ -8671,7 +8713,7 @@ builds).

    -21.4. Commit Messages

    +23.4. Commit Messages

    For several years, there have been mirrors of pkgsrc in fossil, git, and hg. Standard practise when using these tools is to make the first line of a commit message function as a summary that @@ -8712,7 +8754,7 @@ builds).

    -21.5. Committing: Adding a package to CVS

    +23.5. Committing: Adding a package to CVS

    This section is only of interest for pkgsrc developers with write access to the pkgsrc repository.

    When the package is finished, cvs add the files. @@ -8744,7 +8786,7 @@ much easier to get wrong than cvs

    -21.6. Updating a package to a newer version

    +23.6. Updating a package to a newer version

    Please always put a concise, appropriate and relevant summary of the changes between old and new versions into the commit log when updating a package. There are various reasons for this:

    @@ -8768,7 +8810,7 @@ much easier to get wrong than cvs

    -21.7. Renaming a package in pkgsrc

    +23.7. Renaming a package in pkgsrc

    Renaming packages is not recommended.

    When renaming packages, be sure to fix any references to old name in other Makefiles, options, buildlink files, etc.

    @@ -8786,7 +8828,7 @@ much easier to get wrong than cvs

    -21.8. Moving a package in pkgsrc

    +23.8. Moving a package in pkgsrc

    It is preferred that packages are not renamed or moved, but if needed please follow these steps.

    @@ -8834,47 +8876,47 @@ place.

    -Chapter 22. Frequently Asked Questions

    +Chapter 24. Frequently Asked Questions

    This section contains the answers to questions that may arise when you are writing a package. If you don't find your question answered here, first have a look in the other chapters, and if you still don't have the answer, ask on the pkgsrc-users mailing list.

    @@ -9016,7 +9058,7 @@ do? @@ -9064,7 +9106,7 @@ do? @@ -9095,14 +9137,14 @@ anyway.

    -Chapter 23. GNOME packaging and porting

    +Chapter 25. GNOME packaging and porting

    Quoting GNOME's web @@ -9139,7 +9181,7 @@ important information regarding their internals.

    -23.1. Meta packages

    +25.1. Meta packages

    pkgsrc includes three GNOME-related meta packages:

    -23.2. Packaging a GNOME application

    +25.2. Packaging a GNOME application

    Almost all GNOME applications are written in C and use a common set of tools as their build system. Things get different with the new bindings to other languages (such as Python), but the following will @@ -9240,7 +9282,7 @@ solution is given. After applying the solution be sure to regenerate the package's file list with make print-PLIST and ensure it is correct.

    -

    Table 23.1. PLIST handling for GNOME packages

    +

    Table 25.1. PLIST handling for GNOME packages

    -

    22.1.

    +

    24.1.

    What is the difference between MAKEFLAGS, .MAKEFLAGS and @@ -8902,7 +8944,7 @@ do?

    -

    22.2.

    +

    24.2.

    What is the difference between MAKE, GMAKE and @@ -8920,7 +8962,7 @@ do?

    -

    22.3.

    +

    24.3.

    What is the difference between CC, PKG_CC and @@ -8938,7 +8980,7 @@ do?

    -

    22.4.

    +

    24.4.

    What is the difference between BUILDLINK_LDFLAGS, @@ -8951,7 +8993,7 @@ do?

    -

    22.5.

    +

    24.5.

    Why does make show-var VARNAME=BUILDLINK_PREFIX.foo @@ -8967,7 +9009,7 @@ do?

    -

    22.6.

    +

    24.6.

    What does ${MASTER_SITE_SOURCEFORGE:=package/} mean? I @@ -8991,7 +9033,7 @@ do?

    -

    22.7.

    +

    24.7.

    Which mailing lists are there for package developers?

    -

    22.8.

    +

    24.8.

    Where is the pkgsrc documentation?

    -

    22.9.

    +

    24.9.

    I have a little time to kill. What shall I do?

    @@ -9253,24 +9295,24 @@ solution is given. After applying the solution be sure to - + - + - + - +
    Installs OMF files under share/omf.See Section 19.6.10, “Packages installing scrollkeeper/rarian data files”.See Section 21.6.10, “Packages installing scrollkeeper/rarian data files”.
    Installs icons under the share/icons/hicolor hierarchy or updates share/icons/hicolor/icon-theme.cache.See Section 19.6.19, “Packages installing hicolor theme icons”.See Section 21.6.19, “Packages installing hicolor theme icons”.
    Installs files under share/mime/packages.See Section 19.6.14, “Packages installing extensions to the MIME database”.See Section 21.6.14, “Packages installing extensions to the MIME database”.
    Installs .desktop files under share/applications and these include MIME information.See Section 19.6.20, “Packages installing desktop files”.See Section 21.6.20, “Packages installing desktop files”.
    @@ -9279,7 +9321,7 @@ solution is given. After applying the solution be sure to

    -23.3. Updating GNOME to a newer version

    +25.3. Updating GNOME to a newer version

    When seeing GNOME as a whole, there are two kinds of updates:

    @@ -9368,11 +9410,11 @@ followed:

    -23.4. Patching guidelines

    +25.4. Patching guidelines

    GNOME is a very big component in pkgsrc which approaches 100 packages. Please, it is very important that you always, always, always feed back any portability -fixes you do to a GNOME package to the mainstream developers (see Section 11.3.5, “Feedback to the author”). This is the only way to get +fixes you do to a GNOME package to the mainstream developers (see Section 13.3.5, “Feedback to the author”). This is the only way to get their attention on portability issues and to ensure that future versions can be built out-of-the box on NetBSD. The less custom patches in pkgsrc, the easier further updates are. Those developers in charge of @@ -9389,7 +9431,7 @@ issues. While the FreeBSD GNOME people are doing a great job in porting GNOME to their operating system, the official GNOME sources are now plagued by conditionals that check for __FreeBSD__ and similar macros. This hurts portability. Please see our patching -guidelines (Section 11.3.4, “Patching guidelines”) for more +guidelines (Section 13.3.4, “Patching guidelines”) for more details.

    @@ -9406,64 +9448,64 @@ details.

    -Chapter 24. Design of the pkgsrc infrastructure

    +Chapter 26. Design of the pkgsrc infrastructure
    @@ -9473,7 +9515,7 @@ details.

    like.

    -24.1. The meaning of variable definitions

    +26.1. The meaning of variable definitions

    Whenever a variable is defined in the pkgsrc infrastructure, the location and the way of definition provide much information about the intended use of that variable. @@ -9504,7 +9546,7 @@ details.

    -24.2. Avoiding problems before they arise

    +26.2. Avoiding problems before they arise

    All variables that contain lists of things should default to being empty. Two examples that do not follow this rule are USE_LANGUAGES and @@ -9528,10 +9570,10 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} additional-files.tar.gz

    -24.3. Variable evaluation

    +26.3. Variable evaluation

    -24.3.1. At load time

    +26.3.1. At load time

    Variable evaluation takes place either at load time or at runtime, depending on the context in which they occur. The contexts where variables are evaluated at load time are:

    @@ -9573,7 +9615,7 @@ CFLAGS+= -Wall

    -24.3.2. At runtime

    +26.3.2. At runtime

    After all the files have been loaded, the values of the variables cannot be changed anymore. Variables that are used in the shell commands are expanded at this point.

    @@ -9581,7 +9623,7 @@ CFLAGS+= -Wall

    -24.4. How can variables be specified?

    +26.4. How can variables be specified?

    There are many ways in which the definition and use of a variable can be restricted in order to detect bugs and violations of the (mostly unwritten) policies. A package can be checked with @@ -9590,14 +9632,14 @@ CFLAGS+= -Wall

    -24.5. Designing interfaces for Makefile fragments

    +26.5. Designing interfaces for Makefile fragments

    Most of the .mk files fall into one of the following classes. Cases where a file falls into more than one class should be avoided as it often leads to subtle bugs.

    -24.5.1. Procedures with parameters

    +26.5.1. Procedures with parameters

    In a traditional imperative programming language some of the .mk files could be described as procedures. They take some input parameters and—after @@ -9631,7 +9673,7 @@ CFLAGS+= -Wall

    -24.5.2. Actions taken on behalf of parameters

    +26.5.2. Actions taken on behalf of parameters

    Action files take some input parameters and may define runtime variables. They shall not define loadtime variables. There are action files that are included implicitly by the @@ -9643,7 +9685,7 @@ CFLAGS+= -Wall

    -24.6. The order in which files are loaded

    +26.6. The order in which files are loaded

    Package Makefiles usually consist of a set of variable definitions, and include the file ../../mk/bsd.pkg.mk in the very last line. @@ -9658,7 +9700,7 @@ CFLAGS+= -Wall are loaded and gives reasons for that order.

    -24.6.1. The order in bsd.prefs.mk +26.6.1. The order in bsd.prefs.mk

    The very first action in bsd.prefs.mk is to define some essential variables like @@ -9683,7 +9725,7 @@ CFLAGS+= -Wall

    -24.6.2. The order in bsd.pkg.mk +26.6.2. The order in bsd.pkg.mk

    First, bsd.prefs.mk is loaded.

    Then, the various *-vars.mk files are @@ -9716,15 +9758,15 @@ CFLAGS+= -Wall

    -Chapter 25. Regression tests

    +Chapter 27. Regression tests
    @@ -9738,7 +9780,7 @@ CFLAGS+= -Wall how you can add new tests.

    -25.1. Running the regression tests

    +27.1. Running the regression tests

    You first need to install the pkgtools/pkg_regress package, which provides the pkg_regress command. Then you can simply run that command, which will run all tests in the @@ -9746,7 +9788,7 @@ CFLAGS+= -Wall

    -25.2. Adding a new regression test

    +27.2. Adding a new regression test

    Every directory in the regress category that contains a file called spec is considered a regression test. This file is a shell program @@ -9755,7 +9797,7 @@ CFLAGS+= -Wall needs.

    -25.2.1. Overridable functions

    +27.2.1. Overridable functions

    These functions do not take any parameters. Although they are called in set -e mode, they don't stop at the first failing command. See this StackOverflow @@ -9802,7 +9844,7 @@ check_result() {

    -25.2.2. Helper functions

    +27.2.2. Helper functions
    exit_status expected

    This function compares the exitcode of the @@ -9831,10 +9873,10 @@ output_require "^[[:alpha:]+[[:space:]][[:alpha:]]{6}$"

    -Chapter 26. Porting pkgsrc

    +Chapter 28. Porting pkgsrc

    The pkgsrc system has already been ported to many operating systems, hardware architectures and compilers. This @@ -9842,7 +9884,7 @@ output_require "^[[:alpha:]+[[:space:]][[:alpha:]]{6}$" portable.

    -26.1. Porting pkgsrc to a new operating system

    +28.1. Porting pkgsrc to a new operating system

    To port pkgsrc to a new operating system (called MyOS in this example), you need to touch the following files:

    @@ -9967,7 +10009,7 @@ looks fine.
    # cd bison # mkdir patches

    Create Makefile, DESCR and - PLIST (see Chapter 11, Package components - files, directories and contents) + PLIST (see Chapter 13, Package components - files, directories and contents) then continue with fetching the distfile:

    # make fetch
     >> bison-1.25.tar.gz doesn't seem to exist on this system.
    @@ -10314,19 +10356,1382 @@ source packages
     
     

    -Appendix D. Editing guidelines for the pkgsrc guide

    +Appendix D. Help topics
    +

    + The following list contains all help topics that are available + when running bmake help topic=:index. +

    +
      +
    • #!

    • +
    • -lintl

    • +
    • 64bit

    • +
    • ABI

    • +
    • ACCEPTABLE_LICENSES

    • +
    • ACROREAD_FONTPATH

    • +
    • ADDITIONAL

    • +
    • AFAIK

    • +
    • AIX

    • +
    • ALLOW_VULNERABLE_PACKAGES

    • +
    • ALL_ENV

    • +
    • ALSA_PC

    • +
    • ALTERNATIVES_SRC

    • +
    • AMANDA_TMP

    • +
    • AMANDA_USER

    • +
    • AMANDA_VAR

    • +
    • APACHE_GROUP

    • +
    • APACHE_MODULE_NAME

    • +
    • APACHE_MODULE_SRC

    • +
    • APACHE_MODULE_SRCDIR

    • +
    • APACHE_PKG_PREFIX

    • +
    • APACHE_SUEXEC_CONFIGURE_ARGS

    • +
    • APACHE_SUEXEC_DOCROOT

    • +
    • APACHE_USER

    • +
    • APPEND_ABI

    • +
    • APPEND_ELF

    • +
    • ARLA_CACHE

    • +
    • AUDIT_PACKAGES_FLAGS

    • +
    • AUTOCONF_REQD

    • +
    • AUTOMAKE_OVERRIDE

    • +
    • AUTOMAKE_REQD

    • +
    • AUTO_MKDIRS

    • +
    • BDB185_DEFAULT

    • +
    • BDBBASE

    • +
    • BDB_ACCEPTED

    • +
    • BDB_DEFAULT

    • +
    • BDB_LIBS

    • +
    • BDB_TYPE

    • +
    • BIND_DIR

    • +
    • BIND_GROUP

    • +
    • BIND_USER

    • +
    • BINPKG_SITES

    • +
    • BIN_INSTALL_FLAGS

    • +
    • BISON_PKGDATADIR

    • +
    • BOOTSTRAP_DEPENDS

    • +
    • BOOTSTRAP_SETUPTOOLS

    • +
    • BROKEN

    • +
    • BROKEN_EXCEPT_ON_PLATFORM

    • +
    • BROKEN_ON_PLATFORM

    • +
    • BSDSRCDIR

    • +
    • BSDXSRCDIR

    • +
    • BSD_MAKE_ENV

    • +
    • BUILDLINK_AUTO_DIRS

    • +
    • BUILDLINK_AUTO_VARS

    • +
    • BUILDLINK_CFLAGS

    • +
    • BUILDLINK_CONTENTS_FILTER

    • +
    • BUILDLINK_CPPFLAGS

    • +
    • BUILDLINK_DEPMETHOD

    • +
    • BUILDLINK_FILES

    • +
    • BUILDLINK_FILES_CMD

    • +
    • BUILDLINK_FNAME_TRANSFORM

    • +
    • BUILDLINK_LDFLAGS

    • +
    • BUILDLINK_LIBS

    • +
    • BUILDLINK_OPSYS_SUPPORT_PTHREAD

    • +
    • BUILDLINK_PKGNAME

    • +
    • BUILDLINK_PREFIX

    • +
    • BUILDLINK_RPATHDIRS

    • +
    • BUILDLINK_TREE

    • +
    • BUILD_DEFS

    • +
    • BUILD_DEFS_EFFECTS

    • +
    • BUILD_DIRS

    • +
    • BUILD_ENV_SHELL

    • +
    • BUILD_MAKE_CMD

    • +
    • BUILD_MAKE_FLAGS

    • +
    • BUILD_TARGET

    • +
    • BUILTIN_FIND_FILES

    • +
    • BUILTIN_FIND_FILES_VAR

    • +
    • BUILTIN_FIND_GREP

    • +
    • BUILTIN_FIND_HEADERS

    • +
    • BUILTIN_FIND_HEADERS_VAR

    • +
    • BUILTIN_PKG

    • +
    • BUILTIN_TEST_CURSES_DEFINES

    • +
    • BUILTIN_TEST_CURSES_FUNCS

    • +
    • BUILTIN_VERSION_SCRIPT

    • +
    • BUILTIN_X11_TYPE

    • +
    • BUILTIN_X11_VERSION

    • +
    • CACTI_GROUP

    • +
    • CACTI_USER

    • +
    • CANNA_GROUP

    • +
    • CANNA_USER

    • +
    • CAT

    • +
    • CCACHE_BASE

    • +
    • CCACHE_DIR

    • +
    • CCACHE_LOGFILE

    • +
    • CC_VERSION

    • +
    • CC_VERSION_STRING

    • +
    • CDRECORD_CONF

    • +
    • CDROM_PKG_URL_DIR

    • +
    • CDROM_PKG_URL_HOST

    • +
    • CHECKOUT_DATE

    • +
    • CHECK_FAKEHOME

    • +
    • CHECK_FILES

    • +
    • CHECK_FILES_SKIP

    • +
    • CHECK_FILES_STRICT

    • +
    • CHECK_HEADERS

    • +
    • CHECK_HEADERS_SKIP

    • +
    • CHECK_INTERPRETER

    • +
    • CHECK_INTERPRETER_SKIP

    • +
    • CHECK_PERMS

    • +
    • CHECK_PERMS_AUTOFIX

    • +
    • CHECK_PERMS_SKIP

    • +
    • CHECK_PORTABILITY

    • +
    • CHECK_PORTABILITY_SKIP

    • +
    • CHECK_RELRO

    • +
    • CHECK_RELRO_SKIP

    • +
    • CHECK_RELRO_SUPPORTED

    • +
    • CHECK_SHLIBS

    • +
    • CHECK_SHLIBS_BLACKLIST

    • +
    • CHECK_SHLIBS_SKIP

    • +
    • CHECK_SHLIBS_SUPPORTED

    • +
    • CHECK_SSP

    • +
    • CHECK_SSP_SKIP

    • +
    • CHECK_SSP_SUPPORTED

    • +
    • CHECK_STRIPPED

    • +
    • CHECK_STRIPPED_SKIP

    • +
    • CHECK_WRKREF

    • +
    • CHECK_WRKREF_EXTRA_DIRS

    • +
    • CHECK_WRKREF_SKIP

    • +
    • CLAMAV_DBDIR

    • +
    • CLAMAV_GROUP

    • +
    • CLAMAV_USER

    • +
    • CLANGBASE

    • +
    • CLEANDEPENDS

    • +
    • CMAKE_DEPENDENCIES_REWRITE

    • +
    • CMAKE_INSTALL_PREFIX

    • +
    • CMAKE_MODULE_PATH_OVERRIDE

    • +
    • CMAKE_PKGSRC_BUILD_FLAGS

    • +
    • CMAKE_PREFIX_PATH

    • +
    • CMAKE_USE_GNU_INSTALL_DIRS

    • +
    • COMMON_LISP_DOCFILES

    • +
    • COMMON_LISP_EXAMPLES

    • +
    • COMMON_LISP_EXTRAFILES

    • +
    • COMMON_LISP_PACKAGES

    • +
    • COMMON_LISP_SYSTEM

    • +
    • COMPILER_RPATH_FLAG

    • +
    • COMPILER_USE_SYMLINKS

    • +
    • CONFIGURE_ARGS

    • +
    • CONFIGURE_DIRS

    • +
    • CONFIGURE_ENV

    • +
    • CONFIGURE_HAS_INFODIR

    • +
    • CONFIGURE_HAS_MANDIR

    • +
    • CONFIGURE_SCRIPT

    • +
    • CONFIG_SHELL

    • +
    • CONFIG_SHELL_FLAGS

    • +
    • CONF_FILES

    • +
    • CONF_FILES_MODE

    • +
    • CONF_FILES_PERMS

    • +
    • CONSERVER_DEFAULTHOST

    • +
    • CONSERVER_DEFAULTPORT

    • +
    • CP

    • +
    • CPP

    • +
    • CPP_PRECOMP_FLAGS

    • +
    • CREATE_WRKDIR_SYMLINK

    • +
    • CROSSBASE

    • +
    • CTFCONVERT

    • +
    • CTF_FILES_SKIP

    • +
    • CTF_SUPPORTED

    • +
    • CTYPE

    • +
    • CUPS_GROUP

    • +
    • CUPS_SYSTEM_GROUPS

    • +
    • CUPS_USER

    • +
    • CURSES_DEFAULT

    • +
    • CURSES_TYPE

    • +
    • CVS_EXTRACTDIR

    • +
    • CVS_MODULE

    • +
    • CVS_PROJECT

    • +
    • CVS_REPOSITORIES

    • +
    • CVS_ROOT

    • +
    • CVS_ROOT_GNU

    • +
    • CVS_ROOT_NONGNU

    • +
    • CVS_ROOT_SOURCEFORGE

    • +
    • CVS_TAG

    • +
    • CXX

    • +
    • CYRUS_GROUP

    • +
    • CYRUS_IDLE

    • +
    • CYRUS_USER

    • +
    • DAEMONTOOLS_GROUP

    • +
    • DAEMONTOOLS_LOG_USER

    • +
    • DBUS_GROUP

    • +
    • DBUS_USER

    • +
    • DEFANG_GROUP

    • +
    • DEFANG_USER

    • +
    • DEFAULT_ACCEPTABLE_LICENSES

    • +
    • DEFAULT_DISTFILES

    • +
    • DEFAULT_IRC_SERVER

    • +
    • DEFAULT_SERIAL_DEVICE

    • +
    • DEF_UMASK

    • +
    • DEINSTALLDEPENDS

    • +
    • DEINSTALL_SRC

    • +
    • DEINSTALL_TEMPLATES

    • +
    • DELAYED_ERROR_MSG

    • +
    • DELAYED_WARNING_MSG

    • +
    • DEPENDS_TARGET

    • +
    • DEPENDS_TYPE

    • +
    • DESTDIR

    • +
    • DESTDIR_VARNAME

    • +
    • DIALER_GROUP

    • +
    • DIGEST_REQD

    • +
    • DISTDIR

    • +
    • DISTFILES

    • +
    • DISTINFO_FILE

    • +
    • DISTNAME

    • +
    • DIST_PATH

    • +
    • DIST_SUBDIR

    • +
    • DJBDNS_AXFR_USER

    • +
    • DJBDNS_CACHE_USER

    • +
    • DJBDNS_DJBDNS_GROUP

    • +
    • DJBDNS_LOG_USER

    • +
    • DJBDNS_RBL_USER

    • +
    • DJBDNS_TINY_USER

    • +
    • DLOPEN_REQUIRE_PTHREADS

    • +
    • DL_AUTO_VARS

    • +
    • DL_CFLAGS

    • +
    • DL_LDFLAGS

    • +
    • DL_LIBS

    • +
    • DNS

    • +
    • DOWNLOADED_DISTFILE

    • +
    • DT_LAYOUT

    • +
    • DYNAMIC_SITES_CMD

    • +
    • DYNAMIC_SITES_SCRIPT

    • +
    • ECHO

    • +
    • ECHO_N

    • +
    • ELK_GUI

    • +
    • EMACS_TYPE

    • +
    • EMULDIR

    • +
    • EMULSUBDIR

    • +
    • EMULSUBDIRSLASH

    • +
    • EMUL_ARCH

    • +
    • EMUL_DISTRO

    • +
    • EMUL_EXEC_FMT

    • +
    • EMUL_IS_NATIVE

    • +
    • EMUL_MODULES

    • +
    • EMUL_OPSYS

    • +
    • EMUL_PKG_FMT

    • +
    • EMUL_PLATFORM

    • +
    • EMUL_PLATFORMS

    • +
    • EMUL_PREFER

    • +
    • EMUL_REQD

    • +
    • EMUL_TYPE

    • +
    • ERROR_MSG

    • +
    • EXIM_GROUP

    • +
    • EXIM_USER

    • +
    • EXPORT_SYMBOLS_LDFLAGS

    • +
    • EXTRACTOR

    • +
    • EXTRACT_CMD

    • +
    • EXTRACT_CMD_DEFAULT

    • +
    • EXTRACT_DIR

    • +
    • EXTRACT_ELEMENTS

    • +
    • EXTRACT_ENV

    • +
    • EXTRACT_ONLY

    • +
    • EXTRACT_OPTS

    • +
    • EXTRACT_SUFX

    • +
    • EXTRACT_USING

    • +
    • FAILOVER_FETCH

    • +
    • FAIL_MSG

    • +
    • FAKE_NCURSES

    • +
    • FAM

    • +
    • FAM_ACCEPTED

    • +
    • FAM_DEFAULT

    • +
    • FAM_SERVER

    • +
    • FCPATH

    • +
    • FEATURE_CPPFLAGS

    • +
    • FEATURE_LDFLAGS

    • +
    • FEATURE_LIBS

    • +
    • FETCH_AFTER_ARGS

    • +
    • FETCH_BEFORE_ARGS

    • +
    • FETCH_CMD

    • +
    • FETCH_OUTPUT_ARGS

    • +
    • FETCH_PROXY

    • +
    • FETCH_RESUME_ARGS

    • +
    • FETCH_USING

    • +
    • FILES_SUBST

    • +
    • FILES_SUBST_SED

    • +
    • FIX_SYSTEM_HEADERS

    • +
    • FLUXBOX_USE_GNOME

    • +
    • FLUXBOX_USE_KDE

    • +
    • FLUXBOX_USE_XFT

    • +
    • FLUXBOX_USE_XINERAMA

    • +
    • FONTDIR

    • +
    • FONTS_DIRS

    • +
    • FONTS_VERBOSE

    • +
    • FOO_HACKS_MK

    • +
    • FOSSIL_EXTRACTDIR

    • +
    • FOSSIL_REPO

    • +
    • FOSSIL_REPOSITORIES

    • +
    • FOSSIL_VERSION

    • +
    • FOX_USE_XUNICODE

    • +
    • FREEWNN_GROUP

    • +
    • FREEWNN_USER

    • +
    • FTP_PKG_URL_DIR

    • +
    • FTP_PKG_URL_HOST

    • +
    • GAMEDATAMODE

    • +
    • GAMEDATA_PERMS

    • +
    • GAMEDIRMODE

    • +
    • GAMEDIR_PERMS

    • +
    • GAMEGRP

    • +
    • GAMEMODE

    • +
    • GAMEOWN

    • +
    • GAMES_GROUP

    • +
    • GAMES_USER

    • +
    • GCC

    • +
    • GCCBASE

    • +
    • GCC_REQD

    • +
    • GCC_VERSION_SUFFIX

    • +
    • GEM_BUILD

    • +
    • GEM_CLEANBUILD

    • +
    • GEM_CLEANBUILD_EXTENSIONS

    • +
    • GEM_DOCDIR

    • +
    • GEM_EXTSDIR

    • +
    • GEM_HOME

    • +
    • GEM_LIBDIR

    • +
    • GEM_NAME

    • +
    • GEM_PATH

    • +
    • GEM_SPECFILE

    • +
    • GENERATE_PLIST

    • +
    • GHOSTSCRIPT_REQD

    • +
    • GITHUB_PROJECT

    • +
    • GITHUB_RELEASE

    • +
    • GITHUB_TAG

    • +
    • GITHUB_TYPE

    • +
    • GIT_BRANCH

    • +
    • GIT_ENV

    • +
    • GIT_EXTRACTDIR

    • +
    • GIT_REPO

    • +
    • GIT_REPOSITORIES

    • +
    • GIT_REVISION

    • +
    • GIT_TAG

    • +
    • GNU

    • +
    • GNU_CONFIGURE

    • +
    • GNU_CONFIGURE_INFODIR

    • +
    • GNU_CONFIGURE_MANDIR

    • +
    • GNU_CONFIGURE_STRICT

    • +
    • GO_BUILD_PATTERN

    • +
    • GO_DIST_BASE

    • +
    • GO_SRCPATH

    • +
    • GROUP_SPECIFIC_PKGS

    • +
    • GRUB_NETWORK_CARDS

    • +
    • GRUB_PRESET_COMMAND

    • +
    • GRUB_SCAN_ARGS

    • +
    • GZIP

    • +
    • HASKELL_COMPILER

    • +
    • HASKELL_ENABLE_HADDOCK_DOCUMENTATION

    • +
    • HASKELL_ENABLE_LIBRARY_PROFILING

    • +
    • HASKELL_ENABLE_SHARED_LIBRARY

    • +
    • HAS_CONFIGURE

    • +
    • HEADER_TEMPLATES

    • +
    • HG_REPO

    • +
    • HG_REPOSITORIES

    • +
    • HG_TAG

    • +
    • HOST_PKGTOOLS_ARGS

    • +
    • HOST_SPECIFIC_PKGS

    • +
    • HOWL_GROUP

    • +
    • HOWL_USER

    • +
    • ICCBASE

    • +
    • ICECAST_CHROOTDIR

    • +
    • ICON_THEMES

    • +
    • IDOBASE

    • +
    • IGNORE_CCACHE

    • +
    • IGNORE_INFO_DIRS

    • +
    • IGNORE_INTERACTIVE_FETCH

    • +
    • IMAKE

    • +
    • IMAKEOPTS

    • +
    • IMAKE_MAKE

    • +
    • IMAKE_MANINSTALL

    • +
    • IMAP_UW_CCLIENT_MBOX_FMT

    • +
    • IMDICTDIR

    • +
    • INCOMPAT_CURSES

    • +
    • INFO_DIR

    • +
    • INFO_FILES

    • +
    • INFO_FILES_VERBOSE

    • +
    • INFO_MSG

    • +
    • INIT_SYSTEM

    • +
    • INN_DATA_DIR

    • +
    • INN_GROUP

    • +
    • INN_USER

    • +
    • INSTALLATION_DIRS

    • +
    • INSTALLATION_DIRS_FROM_PLIST

    • +
    • INSTALL_ENV

    • +
    • INSTALL_SH_OVERRIDE

    • +
    • INSTALL_SRC

    • +
    • INSTALL_TEMPLATES

    • +
    • INSTALL_UNSTRIPPED

    • +
    • IRCD_HYBRID_IRC_GROUP

    • +
    • IRCD_HYBRID_IRC_USER

    • +
    • IRCD_HYBRID_MAXCONN

    • +
    • IRCD_HYBRID_NICLEN

    • +
    • IRCD_HYBRID_SYSLOG_EVENTS

    • +
    • IRCD_HYBRID_SYSLOG_FACILITY

    • +
    • IRCD_HYBRID_TOPICLEN

    • +
    • IRIX

    • +
    • IRRD_USE_PGP

    • +
    • JABBERD_GROUP

    • +
    • JABBERD_LOGDIR

    • +
    • JABBERD_PIDDIR

    • +
    • JABBERD_SPOOLDIR

    • +
    • JABBERD_USER

    • +
    • JAKARTA_HOME

    • +
    • JAVA_APP_PATH

    • +
    • JAVA_APP_TARGETS

    • +
    • JAVA_BINPREFIX

    • +
    • JAVA_CLASSPATH

    • +
    • JAVA_HOME

    • +
    • JAVA_LD_LIBRARY_PATH

    • +
    • JAVA_NAME

    • +
    • JAVA_UNLIMIT

    • +
    • JAVA_WRAPPERS

    • +
    • JPEG_ACCEPTED

    • +
    • JPEG_DEFAULT

    • +
    • KERBEROS

    • +
    • KERMIT_SUID_UUCP

    • +
    • KJS_USE_PCRE

    • +
    • KNEWS_DOMAIN_FILE

    • +
    • KNEWS_DOMAIN_NAME

    • +
    • KRB5_ACCEPTED

    • +
    • KRB5_DEFAULT

    • +
    • LANGUAGES

    • +
    • LATEX2HTML_ICONPATH

    • +
    • LDCONFIG_ADD_CMD

    • +
    • LDCONFIG_REMOVE_CMD

    • +
    • LEAFNODE_DATA_DIR

    • +
    • LEAFNODE_GROUP

    • +
    • LEAFNODE_USER

    • +
    • LIBDVDCSS_HOMEPAGE

    • +
    • LIBDVDCSS_MASTER_SITES

    • +
    • LIBTOOL

    • +
    • LIBTOOLIZE_PLIST

    • +
    • LIBTOOL_M4_OVERRIDE

    • +
    • LIBUSB_TYPE

    • +
    • LICENSE

    • +
    • LINKER_RPATH_FLAG

    • +
    • LINK_RPATH_FLAG

    • +
    • LINUX_BASE_NODEPS

    • +
    • LINUX_BASE_PREFERRED

    • +
    • LINUX_BASE_REQUIRED

    • +
    • LINUX_LOCALES

    • +
    • LOCALBASE

    • +
    • LOCALBASE_LOCKTYPE

    • +
    • LOCALPATCHES

    • +
    • LOVE_DATA

    • +
    • LOVE_GAME

    • +
    • LOVE_VERSION

    • +
    • LP64PLATFORMS

    • +
    • MACHINE_PLATFORM

    • +
    • MAILAGENT_DOMAIN

    • +
    • MAILAGENT_EMAIL

    • +
    • MAILAGENT_FQDN

    • +
    • MAILAGENT_ORGANIZATION

    • +
    • MAJORDOMO_HOMEDIR

    • +
    • MAJOR_OS_VERSION

    • +
    • MAKEINFO_ARGS

    • +
    • MAKE_DIRS

    • +
    • MAKE_DIRS_PERMS

    • +
    • MAKE_ENV

    • +
    • MAKE_FILE

    • +
    • MAKE_FLAGS

    • +
    • MAKE_JOBS

    • +
    • MAKE_JOBS_SAFE

    • +
    • MAKE_PROGRAM

    • +
    • MANINSTALL

    • +
    • MANZ

    • +
    • MASTER_SITES

    • +
    • MASTER_SITE_BACKUP

    • +
    • MASTER_SITE_CYGWIN

    • +
    • MASTER_SITE_GNOME

    • +
    • MASTER_SITE_GNU

    • +
    • MASTER_SITE_LOCAL

    • +
    • MASTER_SITE_MOZILLA

    • +
    • MASTER_SITE_OPENOFFICE

    • +
    • MASTER_SITE_OVERRIDE

    • +
    • MASTER_SITE_PERL_CPAN

    • +
    • MASTER_SITE_SUNSITE

    • +
    • MASTER_SITE_SUSE

    • +
    • MASTER_SITE_TEX_CTAN

    • +
    • MASTER_SITE_XCONTRIB

    • +
    • MASTER_SITE_XEMACS

    • +
    • MASTER_SORT

    • +
    • MASTER_SORT_RANDOM

    • +
    • MASTER_SORT_REGEX

    • +
    • MECAB_CHARSET

    • +
    • MEDIATOMB_GROUP

    • +
    • MEDIATOMB_USER

    • +
    • MIPSPROBASE

    • +
    • MIREDO_GROUP

    • +
    • MIREDO_USER

    • +
    • MISSING_FEATURES

    • +
    • MKDIR

    • +
    • MLDONKEY_GROUP

    • +
    • MLDONKEY_HOME

    • +
    • MLDONKEY_USER

    • +
    • MONOTONE_GROUP

    • +
    • MONOTONE_USER

    • +
    • MOTIFBASE

    • +
    • MOTIF_TYPE

    • +
    • MOTIF_TYPE_DEFAULT

    • +
    • MPI_TYPE

    • +
    • MSGFMT_STRIP_MSGCTXT

    • +
    • MSGFMT_STRIP_MSGID_PLURAL

    • +
    • MTOOLS_ENABLE_FLOPPYD

    • +
    • MUST

    • +
    • MV

    • +
    • MYSQL_CHARSET

    • +
    • MYSQL_DATADIR

    • +
    • MYSQL_EXTRA_CHARSET

    • +
    • MYSQL_GROUP

    • +
    • MYSQL_PKGSRCDIR

    • +
    • MYSQL_USER

    • +
    • MYSQL_VERSIONS_ACCEPTED

    • +
    • MYSQL_VERSION_DEFAULT

    • +
    • NAGIOSCMD_GROUP

    • +
    • NAGIOSDIR

    • +
    • NAGIOS_GROUP

    • +
    • NAGIOS_USER

    • +
    • NATIVE_APPEND_ABI

    • +
    • NATIVE_APPEND_ELF

    • +
    • NATIVE_EXEC_FMT

    • +
    • NATIVE_MACHINE_PLATFORM

    • +
    • NATIVE_OBJECT_FMT

    • +
    • NBPAX_PROGRAM_PREFIX

    • +
    • NETBSD_LOGIN_NAME

    • +
    • NMH_EDITOR

    • +
    • NMH_MTA

    • +
    • NMH_PAGER

    • +
    • NOLOGIN

    • +
    • NONZERO_FILESIZE_P

    • +
    • NOTE

    • +
    • NOT_FOR_PLATFORM

    • +
    • NOT_PAX_ASLR_SAFE

    • +
    • NOT_PAX_MPROTECT_SAFE

    • +
    • NO_BUILD

    • +
    • NO_CHECKSUM

    • +
    • NO_CONFIGURE

    • +
    • NO_SKIP

    • +
    • NS_PREFERRED

    • +
    • NULLMAILER_GROUP

    • +
    • NULLMAILER_USER

    • +
    • OASIS

    • +
    • OASIS_BUILD_ARGS

    • +
    • OBJHOSTNAME

    • +
    • OBJMACHINE

    • +
    • OCAML_FINDLIB_DIRS

    • +
    • OCAML_FINDLIB_REGISTER

    • +
    • OCAML_FINDLIB_REGISTER_VERBOSE

    • +
    • OCAML_SITELIBDIR

    • +
    • OCAML_TOPKG_DOCDIR

    • +
    • OCAML_USE_DUNE

    • +
    • OCAML_USE_FINDLIB

    • +
    • OCAML_USE_JBUILDER

    • +
    • OCAML_USE_OASIS

    • +
    • OCAML_USE_OASIS_DYNRUN

    • +
    • OCAML_USE_OPAM

    • +
    • OCAML_USE_OPT_COMPILER

    • +
    • OCAML_USE_TOPKG

    • +
    • OMF

    • +
    • ONLY_FOR_COMPILER

    • +
    • ONLY_FOR_PLATFORM

    • +
    • OPENSSH_CHROOT

    • +
    • OPENSSH_GROUP

    • +
    • OPENSSH_USER

    • +
    • OPSYS

    • +
    • OPSYS_EMULDIR

    • +
    • OSS_TYPE

    • +
    • OSX

    • +
    • OSX_TOLERATE_SDK_SKEW

    • +
    • OS_HAVE_ALSA

    • +
    • OS_HAVE_RCD

    • +
    • OS_VARIANT

    • +
    • OS_VERSION

    • +
    • OTF_FONTS_DIR

    • +
    • OVERRIDE_DIRDEPTH

    • +
    • OVERRIDE_GEMSPEC

    • +
    • OVERRIDE_GNU_CONFIG_SCRIPTS

    • +
    • OVERRIDE_ROCKSPEC

    • +
    • OWN_DIRS

    • +
    • OWN_DIRS_PERMS

    • +
    • P4GROUP

    • +
    • P4PORT

    • +
    • P4ROOT

    • +
    • P4USER

    • +
    • PACKAGES

    • +
    • PALMOS_DEFAULT_SDK

    • +
    • PAMBASE

    • +
    • PAM_DEFAULT

    • +
    • PAPERSIZE

    • +
    • PASSIVE_FETCH

    • +
    • PATCHDIR

    • +
    • PATCHFILES

    • +
    • PATCH_ARGS

    • +
    • PATCH_DEBUG

    • +
    • PATCH_DIST_ARGS

    • +
    • PATCH_DIST_CAT

    • +
    • PATCH_DIST_STRIP

    • +
    • PATCH_FUZZ_FACTOR

    • +
    • PATCH_STRIP

    • +
    • PATH

    • +
    • PCCBASE

    • +
    • PEAR

    • +
    • PEAR_CHANNEL

    • +
    • PEAR_CHANNEL_ALIAS

    • +
    • PEAR_CHANNEL_VERSION

    • +
    • PEAR_CMD

    • +
    • PEAR_LIB

    • +
    • PEAR_PACKAGE_XML

    • +
    • PERL5

    • +
    • PERL5_CONFIGURE

    • +
    • PERL5_CONFIGURE_DIRS

    • +
    • PERL5_LDFLAGS

    • +
    • PERL5_LICENSE

    • +
    • PERL5_MODULE_TYPE

    • +
    • PERL5_PACKLIST

    • +
    • PERL5_PACKLIST_DIR

    • +
    • PERL5_PERLBASE

    • +
    • PERL5_SITEBASE

    • +
    • PERL5_USE_PACKLIST

    • +
    • PERL5_VENDORBASE

    • +
    • PFCTL

    • +
    • PFVAR_H

    • +
    • PF_VERSION

    • +
    • PGGROUP

    • +
    • PGHOME

    • +
    • PGPKGSRCDIR

    • +
    • PGSQL_TYPE

    • +
    • PGSQL_VERSIONS_ACCEPTED

    • +
    • PGSQL_VERSION_DEFAULT

    • +
    • PGUSER

    • +
    • PG_LIB_EXT

    • +
    • PHP

    • +
    • PHPCOMMON_MK

    • +
    • PHPPKGSRCDIR

    • +
    • PHP_BASE_VERS

    • +
    • PHP_CHECK_INSTALLED

    • +
    • PHP_EXTENSION_DIR

    • +
    • PHP_INITIAL_TEENY

    • +
    • PHP_PKG_PREFIX

    • +
    • PHP_VERSION

    • +
    • PHP_VERSIONS_ACCEPTED

    • +
    • PHP_VERSIONS_INCOMPATIBLE

    • +
    • PHP_VERSION_DEFAULT

    • +
    • PHP_VERSION_REQD

    • +
    • PILRC_USE_GTK

    • +
    • PKGCONFIG_BASE

    • +
    • PKGCONFIG_FILE

    • +
    • PKGCONFIG_OVERRIDE

    • +
    • PKGCONFIG_OVERRIDE_STAGE

    • +
    • PKGDIR

    • +
    • PKGGNUDIR

    • +
    • PKGINFODIR

    • +
    • PKGLOCALEDIR

    • +
    • PKGMANDIR

    • +
    • PKGNAME

    • +
    • PKGNAME_REQD

    • +
    • PKGPATH

    • +
    • PKGREVISION

    • +
    • PKGSRC_CHANGES

    • +
    • PKGSRC_COMPILER

    • +
    • PKGSRC_KEEP_BIN_PKGS

    • +
    • PKGSRC_LOCKTYPE

    • +
    • PKGSRC_MAKE_ENV

    • +
    • PKGSRC_MESSAGE_RECIPIENTS

    • +
    • PKGSRC_MKPIE

    • +
    • PKGSRC_MKREPRO

    • +
    • PKGSRC_RUN_TEST

    • +
    • PKGSRC_SETENV

    • +
    • PKGSRC_SLEEPSECS

    • +
    • PKGSRC_TODO

    • +
    • PKGSRC_USE_CTF

    • +
    • PKGSRC_USE_FORTIFY

    • +
    • PKGSRC_USE_RELRO

    • +
    • PKGSRC_USE_SSP

    • +
    • PKGSRC_USE_STACK_CHECK

    • +
    • PKGTASKS_DATAFILE

    • +
    • PKGTOOLS_ARGS

    • +
    • PKGTOOLS_ENV

    • +
    • PKG_ALTERNATIVES

    • +
    • PKG_APACHE

    • +
    • PKG_APACHE_ACCEPTED

    • +
    • PKG_APACHE_DEFAULT

    • +
    • PKG_BEST_EXISTS

    • +
    • PKG_BUILD_OPTIONS

    • +
    • PKG_COMPRESSION

    • +
    • PKG_CONFIG

    • +
    • PKG_CONFIG_PERMS

    • +
    • PKG_CREATE_USERGROUP

    • +
    • PKG_DB_TMPDIR

    • +
    • PKG_DEBUG_LEVEL

    • +
    • PKG_DEFAULT_OPTIONS

    • +
    • PKG_DESTDIR_SUPPORT

    • +
    • PKG_DEVELOPER

    • +
    • PKG_DISABLED_OPTIONS

    • +
    • PKG_FATAL_ERRORS

    • +
    • PKG_FC

    • +
    • PKG_FILELIST_CMD

    • +
    • PKG_GECOS

    • +
    • PKG_GID

    • +
    • PKG_GROUPS

    • +
    • PKG_GROUPS_VARS

    • +
    • PKG_HOME

    • +
    • PKG_INIT_SCRIPTS

    • +
    • PKG_JAVA_HOME

    • +
    • PKG_JVM

    • +
    • PKG_JVMS_ACCEPTED

    • +
    • PKG_JVM_DEFAULT

    • +
    • PKG_LEGACY_OPTIONS

    • +
    • PKG_LIBTOOL

    • +
    • PKG_OPTIONS

    • +
    • PKG_OPTIONS_DEPRECATED_WARNINGS

    • +
    • PKG_OPTIONS_LEGACY_OPTS

    • +
    • PKG_OPTIONS_LEGACY_VARS

    • +
    • PKG_OPTIONS_NONEMPTY_SETS

    • +
    • PKG_OPTIONS_OPTIONAL_GROUPS

    • +
    • PKG_OPTIONS_REQUIRED_GROUPS

    • +
    • PKG_OPTIONS_VAR

    • +
    • PKG_PHP

    • +
    • PKG_PHP_MAJOR_VERS

    • +
    • PKG_PHP_VERSION

    • +
    • PKG_RCD_SCRIPTS

    • +
    • PKG_REFCOUNT_DBDIR

    • +
    • PKG_REGISTER_SHELLS

    • +
    • PKG_RESUME_TRANSFERS

    • +
    • PKG_SHELL

    • +
    • PKG_SUGGESTED_OPTIONS

    • +
    • PKG_SUPPORTED_OPTIONS

    • +
    • PKG_SYSCONFBASE

    • +
    • PKG_SYSCONFBASEDIR

    • +
    • PKG_SYSCONFDIR

    • +
    • PKG_SYSCONFDIR_PERMS

    • +
    • PKG_SYSCONFSUBDIR

    • +
    • PKG_SYSCONFVAR

    • +
    • PKG_TOOLS_BIN

    • +
    • PKG_UID

    • +
    • PKG_UPDATE_FONTS_DB

    • +
    • PKG_USERS

    • +
    • PKG_USERS_VARS

    • +
    • PKG_VERBOSE

    • +
    • PLIST

    • +
    • PLIST_AWK

    • +
    • PLIST_AWK_ENV

    • +
    • PLIST_SRC

    • +
    • PLIST_SUBST

    • +
    • PLIST_TYPE

    • +
    • PLIST_VARS

    • +
    • POPTOP_USE_MPPE

    • +
    • POST_FETCH_HOOK

    • +
    • PREFER

    • +
    • PREFER_NATIVE

    • +
    • PREFER_NATIVE_PTHREADS

    • +
    • PREFER_PKGSRC

    • +
    • PREFIX

    • +
    • PREPEND_PATH

    • +
    • PRE_ROOT_CMD

    • +
    • PRIVILEGED_STAGES

    • +
    • PS

    • +
    • PTHREAD_AUTO_VARS

    • +
    • PTHREAD_CFLAGS

    • +
    • PTHREAD_LDFLAGS

    • +
    • PTHREAD_LIBS

    • +
    • PTHREAD_OPTS

    • +
    • PTHREAD_TYPE

    • +
    • PVM_SSH

    • +
    • PYPKGPREFIX

    • +
    • PYTHON_FOR_BUILD_ONLY

    • +
    • PYTHON_SELF_CONFLICT

    • +
    • PYTHON_VERSIONED_DEPENDENCIES

    • +
    • PYTHON_VERSIONS_ACCEPTED

    • +
    • PYTHON_VERSIONS_INCOMPATIBLE

    • +
    • PYTHON_VERSION_DEFAULT

    • +
    • PYTHON_VERSION_REQD

    • +
    • PYVERSSUFFIX

    • +
    • PY_NO_EGG

    • +
    • QMAILDIR

    • +
    • QMAIL_ALIAS_USER

    • +
    • QMAIL_DAEMON_USER

    • +
    • QMAIL_LOG_USER

    • +
    • QMAIL_NOFILES_GROUP

    • +
    • QMAIL_PASSWD_USER

    • +
    • QMAIL_QMAIL_GROUP

    • +
    • QMAIL_QUEUE_DIR

    • +
    • QMAIL_QUEUE_EXTRA

    • +
    • QMAIL_QUEUE_USER

    • +
    • QMAIL_REMOTE_USER

    • +
    • QMAIL_ROOT_USER

    • +
    • QMAIL_SEND_USER

    • +
    • QPOPPER_FAC

    • +
    • QPOPPER_SPOOL_DIR

    • +
    • QPOPPER_USER

    • +
    • RAKE_NAME

    • +
    • RASMOL_DEPTH

    • +
    • RCD_DIR

    • +
    • RCD_ORDER

    • +
    • RCD_SCRIPTS

    • +
    • RCD_SCRIPTS_DIR

    • +
    • RCD_SCRIPTS_EXAMPLEDIR

    • +
    • RCD_SCRIPTS_MODE

    • +
    • RCD_SCRIPTS_SHELL

    • +
    • RCD_SCRIPT_SRC

    • +
    • RCD_SUBR

    • +
    • RDOC

    • +
    • READLINE_DEFAULT

    • +
    • READLINE_TYPE

    • +
    • REAL_ROOT_GROUP

    • +
    • REAL_ROOT_USER

    • +
    • RECURSIVE_MAKE

    • +
    • RELAY_CTRL_DIR

    • +
    • REPLACE_AWK

    • +
    • REPLACE_BASH

    • +
    • REPLACE_CSH

    • +
    • REPLACE_KSH

    • +
    • REPLACE_PERL

    • +
    • REPLACE_PERL6

    • +
    • REPLACE_PYTHON

    • +
    • REPLACE_RUBY

    • +
    • REPLACE_RUBY_DIRS

    • +
    • REPLACE_RUBY_PAT

    • +
    • REPLACE_SH

    • +
    • REPLACE_TEXLUA

    • +
    • REQD_DIRS

    • +
    • REQD_DIRS_PERMS

    • +
    • REQD_FILES

    • +
    • REQD_FILES_MODE

    • +
    • REQD_FILES_PERMS

    • +
    • RESOLV_AUTO_VARS

    • +
    • RESOLV_LDFLAGS

    • +
    • RESOLV_LIBS

    • +
    • RM

    • +
    • ROCKSPEC_NAME

    • +
    • ROCKSPEC_SPECFILE

    • +
    • ROOT_CMD

    • +
    • ROOT_GROUP

    • +
    • ROOT_USER

    • +
    • RPCGEN

    • +
    • RPM

    • +
    • RPM2PKG_PLIST

    • +
    • RPM2PKG_PREFIX

    • +
    • RPM2PKG_STAGE

    • +
    • RPM2PKG_STRIP

    • +
    • RPM2PKG_SUBPREFIX

    • +
    • RPMFILES

    • +
    • RPMIGNOREPATH

    • +
    • RPM_DB_PREFIX

    • +
    • RSSH_CVS_PATH

    • +
    • RSSH_RDIST_PATH

    • +
    • RSSH_RSYNC_PATH

    • +
    • RSSH_SCP_PATH

    • +
    • RSSH_SFTP_SERVER_PATH

    • +
    • RUBY

    • +
    • RUBYGEM

    • +
    • RUBYGEM_NAME

    • +
    • RUBYGEM_OPTIONS

    • +
    • RUBY_ABI_VERSION

    • +
    • RUBY_ARCH

    • +
    • RUBY_ARCHINC

    • +
    • RUBY_ARCHLIB

    • +
    • RUBY_BASE

    • +
    • RUBY_BASERIDIR

    • +
    • RUBY_BUILD_RDOC

    • +
    • RUBY_BUILD_RI

    • +
    • RUBY_DLEXT

    • +
    • RUBY_DOC

    • +
    • RUBY_DYNAMIC_DIRS

    • +
    • RUBY_EG

    • +
    • RUBY_ENCODING_ARG

    • +
    • RUBY_EXTCONF

    • +
    • RUBY_EXTCONF_CHECK

    • +
    • RUBY_EXTCONF_DEBUG

    • +
    • RUBY_EXTCONF_MAKEFILE

    • +
    • RUBY_GEM_BASE

    • +
    • RUBY_INC

    • +
    • RUBY_LIB

    • +
    • RUBY_LIB_BASE

    • +
    • RUBY_NAME

    • +
    • RUBY_NOVERSION

    • +
    • RUBY_PKGPREFIX

    • +
    • RUBY_RAILS

    • +
    • RUBY_RAILS42_VERSION

    • +
    • RUBY_RAILS51_VERSION

    • +
    • RUBY_RAILS52_VERSION

    • +
    • RUBY_RAILS_ACCEPTED

    • +
    • RUBY_RAILS_DEFAULT

    • +
    • RUBY_RAILS_REQD

    • +
    • RUBY_RAILS_STRICT_DEP

    • +
    • RUBY_RIDIR

    • +
    • RUBY_SETUP

    • +
    • RUBY_SHLIB

    • +
    • RUBY_SHLIBALIAS

    • +
    • RUBY_SHLIBVER

    • +
    • RUBY_SIMPLE_INSTALL

    • +
    • RUBY_SITEARCHLIB

    • +
    • RUBY_SITELIB

    • +
    • RUBY_SITELIB_BASE

    • +
    • RUBY_SITERIDIR

    • +
    • RUBY_SLEXT

    • +
    • RUBY_SRCDIR

    • +
    • RUBY_STATICLIB

    • +
    • RUBY_SUFFIX

    • +
    • RUBY_SYSRIDIR

    • +
    • RUBY_USE_PTHREAD

    • +
    • RUBY_VENDORARCHLIB

    • +
    • RUBY_VENDORLIB

    • +
    • RUBY_VENDORLIB_BASE

    • +
    • RUBY_VER

    • +
    • RUBY_VERSION

    • +
    • RUBY_VERSIONS_ACCEPTED

    • +
    • RUBY_VERSION_DEFAULT

    • +
    • RUBY_VERSION_REQD

    • +
    • RUBY_VER_DIR

    • +
    • RUN

    • +
    • RUN_LDCONFIG

    • +
    • SAWFISH_THEMES

    • +
    • SCO

    • +
    • SCREWS_GROUP

    • +
    • SCREWS_USER

    • +
    • SCRIPTS_ENV

    • +
    • SCROLLKEEPER_DATADIR

    • +
    • SCROLLKEEPER_REBUILDDB

    • +
    • SCROLLKEEPER_UPDATEDB

    • +
    • SDIST_PAWD

    • +
    • SERIAL_DEVICES

    • +
    • SETGIDGAME

    • +
    • SETGID_GAMES_PERMS

    • +
    • SETUID_ROOT_PERMS

    • +
    • SH

    • +
    • SHLIB

    • +
    • SHORTNAME

    • +
    • SIGN_PACKAGES

    • +
    • SILC_CLIENT_WITH_PERL

    • +
    • SITE_SPECIFIC_PKGS

    • +
    • SKIP_DEPENDS

    • +
    • SKIP_PORTABILITY_CHECK

    • +
    • SMF_INSTANCES

    • +
    • SMF_MANIFEST

    • +
    • SMF_METHODS

    • +
    • SMF_METHOD_SHELL

    • +
    • SMF_METHOD_SRC

    • +
    • SMF_NAME

    • +
    • SMF_PREFIX

    • +
    • SMF_SRCDIR

    • +
    • SNIPROXY_GROUP

    • +
    • SNIPROXY_USER

    • +
    • SOURCE_BUFFSIZE

    • +
    • SPECIAL_PERMS

    • +
    • SPECIFIC_PKGS

    • +
    • SSH_SUID

    • +
    • SSYNC_PAWD

    • +
    • STEP_MSG

    • +
    • STRIP

    • +
    • STRIP_DBG

    • +
    • STRIP_DEBUG

    • +
    • STRIP_DEBUG_SUPPORTED

    • +
    • STRIP_FILES_SKIP

    • +
    • SU

    • +
    • SUBDIR

    • +
    • SUBST_CLASSES

    • +
    • SUBST_FILES

    • +
    • SUBST_FILTER_CMD

    • +
    • SUBST_MESSAGE

    • +
    • SUBST_SED

    • +
    • SUBST_SHOW_DIFF

    • +
    • SUBST_SKIP_TEXT_CHECK

    • +
    • SUBST_STAGE

    • +
    • SUBST_VARS

    • +
    • SUNWSPROBASE

    • +
    • SUSE_PREFER

    • +
    • SU_CMD

    • +
    • SVN_EXTRACTDIR

    • +
    • SVN_REPO

    • +
    • SVN_REPOSITORIES

    • +
    • SVN_REVISION

    • +
    • TERMCAP_TYPE

    • +
    • TERMINFO_DEFAULT

    • +
    • TERMINFO_TYPE

    • +
    • TEST

    • +
    • TEST_DIRS

    • +
    • TEST_ENV

    • +
    • TEST_MAKE_CMD

    • +
    • TEST_MAKE_FLAGS

    • +
    • TEST_TARGET

    • +
    • TEXLIVE_IGNORE_PATTERNS

    • +
    • TEXLIVE_REV

    • +
    • TEXMFSITE

    • +
    • TEX_FORMATS

    • +
    • TEX_HYPHEN_DAT

    • +
    • TEX_HYPHEN_DEF

    • +
    • TEX_TEXMF_DIRS

    • +
    • THTTPD_LOG_FACILITY

    • +
    • TO

    • +
    • TOOLS_ALIASES

    • +
    • TOOLS_ARGS

    • +
    • TOOLS_BROKEN

    • +
    • TOOLS_CMD

    • +
    • TOOLS_CREATE

    • +
    • TOOLS_DIR

    • +
    • TOOLS_FAIL

    • +
    • TOOLS_GNU_MISSING

    • +
    • TOOLS_LDCONFIG

    • +
    • TOOLS_NOOP

    • +
    • TOOLS_PATH

    • +
    • TOOLS_SCRIPT

    • +
    • TTF_FONTDIR

    • +
    • TTF_FONTS_DIR

    • +
    • TYPE

    • +
    • UAC_REQD_EXECS

    • +
    • UCSPI_SSL_GROUP

    • +
    • UCSPI_SSL_USER

    • +
    • UNLIMIT_RESOURCES

    • +
    • UNPRIVILEGED

    • +
    • UNPRIVILEGED_GROUP

    • +
    • UNPRIVILEGED_GROUPS

    • +
    • UNPRIVILEGED_USER

    • +
    • UNWRAP_FILES

    • +
    • UNWRAP_PATTERNS

    • +
    • UPDATE_GEMSPEC

    • +
    • UPDATE_TARGET

    • +
    • URI

    • +
    • USA

    • +
    • USERGROUP_PHASE

    • +
    • USERPPP_GROUP

    • +
    • USER_SPECIFIC_PKGS

    • +
    • USE_ABI_DEPENDS

    • +
    • USE_APR

    • +
    • USE_BSD_MAKEFILE

    • +
    • USE_BUILTIN

    • +
    • USE_CROSS_COMPILE

    • +
    • USE_CURSES

    • +
    • USE_CWRAPPERS

    • +
    • USE_DB185

    • +
    • USE_FEATURES

    • +
    • USE_GAMESGROUP

    • +
    • USE_GCC_RUNTIME

    • +
    • USE_IMAKE

    • +
    • USE_JAVA

    • +
    • USE_JAVA2

    • +
    • USE_LANGUAGES

    • +
    • USE_LIBTOOL

    • +
    • USE_NATIVE_GCC

    • +
    • USE_NETBSD_REPO

    • +
    • USE_PKGSRC_GCC

    • +
    • USE_PKGSRC_GCC_RUNTIME

    • +
    • USE_PKGTASKS

    • +
    • USE_RUBY_EXTCONF

    • +
    • USE_RUBY_INSTALL

    • +
    • USE_RUBY_SETUP

    • +
    • USE_RUBY_SETUP_PKG

    • +
    • USE_TOOLS

    • +
    • UUCP_GROUP

    • +
    • UUCP_USER

    • +
    • VARBASE

    • +
    • VARNAME

    • +
    • VIM_EXTRA_OPTS

    • +
    • WARNING_MSG

    • +
    • WCALC_CGIDIR

    • +
    • WCALC_CGIPATH

    • +
    • WCALC_HTMLDIR

    • +
    • WCALC_HTMLPATH

    • +
    • WDM_MANAGERS

    • +
    • WRAPPER_REORDER_CMDS

    • +
    • WRKDIR

    • +
    • WRKDIR_BASENAME

    • +
    • WRKDIR_LOCKTYPE

    • +
    • WRKLOG

    • +
    • WRKOBJDIR

    • +
    • WRKSRC

    • +
    • WXGTK_ACCEPTED

    • +
    • WXGTK_DEFAULT

    • +
    • X10_PORT

    • +
    • X11

    • +
    • X11BASE

    • +
    • X11_PKGSRCDIR

    • +
    • X11_TYPE

    • +
    • X509_CERTIFICATE

    • +
    • X509_KEY

    • +
    • XAW_TYPE

    • +
    • XLOCK_DEFAULT_MODE

    • +
    • XMKMF_FLAGS

    • +
    • XXX

    • +
    • XXXX

    • +
    • YES

    • +
    • ZERO_FILESIZE_P

    • +
    • ZSH_STATIC

    • +
    • __stdc__

    • +
    • _vargroups

    • +
    • add

    • +
    • all

    • +
    • alternatives

    • +
    • aslr

    • +
    • asprintf

    • +
    • autoconf

    • +
    • automake

    • +
    • autoreconf

    • +
    • awk

    • +
    • bash

    • +
    • big-endian

    • +
    • bin-install

    • +
    • binpkg-list

    • +
    • bootstrap-depends

    • +
    • broken

    • +
    • broken_on_platform

    • +
    • build

    • +
    • build-env

    • +
    • buildlink-directories

    • +
    • buildlink-oss-soundcard-h

    • +
    • c

    • +
    • c++

    • +
    • ccache

    • +
    • cce

    • +
    • cdefs

    • +
    • changes

    • +
    • changes-entry

    • +
    • changes-entry-noupdate

    • +
    • check

    • +
    • check-clean

    • +
    • check-files

    • +
    • check-files-clean

    • +
    • check-vulnerable

    • +
    • checksum

    • +
    • checksum-phase

    • +
    • clean

    • +
    • clean-depends

    • +
    • cleandir

    • +
    • commit

    • +
    • commit-changes-entry

    • +
    • compact

    • +
    • compiler

    • +
    • conf

    • +
    • config.guess

    • +
    • config.sub

    • +
    • configuration

    • +
    • configure

    • +
    • configure-help

    • +
    • configure_args

    • +
    • cputime

    • +
    • create-usergroup

    • +
    • csh

    • +
    • ctf

    • +
    • cvs

    • +
    • debug

    • +
    • declaration

    • +
    • declare

    • +
    • defined

    • +
    • depend

    • +
    • dependencies

    • +
    • depends

    • +
    • depends-checksum

    • +
    • depends-fetch

    • +
    • describe

    • +
    • destdir

    • +
    • distclean

    • +
    • distinfo

    • +
    • dl

    • +
    • dlopen

    • +
    • do-build

    • +
    • do-buildlink

    • +
    • do-clean

    • +
    • do-configure-post-hook

    • +
    • do-extract

    • +
    • do-fetch

    • +
    • do-install

    • +
    • emul

    • +
    • emulation

    • +
    • emulator

    • +
    • endian

    • +
    • enomem

    • +
    • err

    • +
    • errx

    • +
    • etc

    • +
    • feature

    • +
    • features

    • +
    • fetch

    • +
    • fetch-list

    • +
    • follows

    • +
    • forbids

    • +
    • form

    • +
    • format

    • +
    • fortify

    • +
    • fortify_source

    • +
    • fossil

    • +
    • friend

    • +
    • from

    • +
    • fts

    • +
    • fts_close

    • +
    • fts_open

    • +
    • fts_read

    • +
    • fts_set

    • +
    • full

    • +
    • gcc

    • +
    • getopt_long

    • +
    • getprogname

    • +
    • gettext

    • +
    • git

    • +
    • github

    • +
    • glob

    • +
    • gnu

    • +
    • go

    • +
    • golang

    • +
    • guess-license

    • +
    • hashbang

    • +
    • heimdal

    • +
    • help

    • +
    • hg

    • +
    • imake

    • +
    • increment

    • +
    • interp

    • +
    • interpreter

    • +
    • intl

    • +
    • iso

    • +
    • kerberos

    • +
    • krb

    • +
    • krb5

    • +
    • ksh

    • +
    • latex

    • +
    • libnbcompat

    • +
    • libs

    • +
    • libtool

    • +
    • licence

    • +
    • license

    • +
    • lintl

    • +
    • little-endian

    • +
    • lock

    • +
    • locking

    • +
    • lvalue

    • +
    • make

    • +
    • makesum

    • +
    • memory

    • +
    • mercurial

    • +
    • meta

    • +
    • meta-package

    • +
    • meta_package

    • +
    • mit-krb5

    • +
    • mk.conf

    • +
    • mount

    • +
    • mprotect

    • +
    • mremap

    • +
    • nb

    • +
    • nbcompat

    • +
    • no

    • +
    • obstack

    • +
    • obstack_ptr_grow

    • +
    • occurs

    • +
    • only

    • +
    • options

    • +
    • options.mk

    • +
    • order

    • +
    • override

    • +
    • override-intltool

    • +
    • override-message-intltool

    • +
    • package

    • +
    • parallel

    • +
    • partial

    • +
    • path

    • +
    • pax

    • +
    • paxctl

    • +
    • pbulk-index

    • +
    • pc

    • +
    • perl

    • +
    • perl5

    • +
    • perms

    • +
    • php

    • +
    • pkg-build-options

    • +
    • pkg-config

    • +
    • pkg_build_options

    • +
    • platform

    • +
    • plist

    • +
    • post-extract

    • +
    • post-fetch

    • +
    • post-wrapper

    • +
    • pre-configure

    • +
    • pre-extract

    • +
    • pre-fetch

    • +
    • print-plist

    • +
    • print-summary-data

    • +
    • privileged-install-hook

    • +
    • pypi

    • +
    • python

    • +
    • readme-all

    • +
    • regcomp

    • +
    • relro

    • +
    • rename

    • +
    • reorder

    • +
    • replace

    • +
    • replace_interpreter

    • +
    • reproducible

    • +
    • resolv

    • +
    • root

    • +
    • ruby

    • +
    • setenv

    • +
    • setgid

    • +
    • setprogname

    • +
    • setuid

    • +
    • sh

    • +
    • show

    • +
    • show-all

    • +
    • show-build-defs

    • +
    • show-depends

    • +
    • show-deps

    • +
    • show-distfiles

    • +
    • show-downlevel

    • +
    • show-subdir-var

    • +
    • show-tools

    • +
    • show-var

    • +
    • show-vars

    • +
    • snprintf

    • +
    • ssp

    • +
    • st_mode

    • +
    • stage-install

    • +
    • strip

    • +
    • strong

    • +
    • subst

    • +
    • subversion

    • +
    • sun

    • +
    • sunpro

    • +
    • sunwspro

    • +
    • svn

    • +
    • test

    • +
    • tex

    • +
    • texlive

    • +
    • tmp

    • +
    • tool

    • +
    • tools

    • +
    • tools-libtool-m4-override

    • +
    • type

    • +
    • ulimit

    • +
    • undefined

    • +
    • undo-replace

    • +
    • unlimit

    • +
    • unprivileged

    • +
    • unprivileged-install-hook

    • +
    • unstripped

    • +
    • update

    • +
    • upload

    • +
    • upload-distfiles

    • +
    • usage

    • +
    • use_tools

    • +
    • user

    • +
    • utimes

    • +
    • vasprintf

    • +
    • verbose

    • +
    • vsnprintf

    • +
    • warn

    • +
    • warning

    • +
    • warnings

    • +
    • warnx

    • +
    • weak

    • +
    • work

    • +
    • wrapper

    • +
    • yes

    • +
    + +
    +

    +Appendix E. Editing guidelines for the pkgsrc guide

    This section contains information on editing the pkgsrc guide itself.

    -D.1. Make targets

    +E.1. Make targets

    The pkgsrc guide's source code is stored in pkgsrc/doc/guide/files, and several files are created from it:

    @@ -10342,7 +11747,7 @@ source packages

    -D.2. Procedure

    +E.2. Procedure

    The procedure to edit the pkgsrc guide is:

    1. Make sure you have the packages needed to -- cgit v1.2.3