Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
mef e835c2a92d (math/xyconvert) +USE_LANGUAGES+= c++
The problem was:

~/usr/include/g++/bits/c++0x_warning.h:32:2: error: #error
This file requires compiler and library support for the ISO C++ 2011 standard.
This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^~~~~
2021-06-19 13:38:23 +00:00
archivers Rename sysutils/xfce4-xarchiver to archivers/xarchiver 2021-06-13 08:15:50 +00:00
audio *: Stop listing OS names in package descriptions 2021-06-14 21:08:05 +00:00
benchmarks google-benchmark: update to 1.5.4. 2021-06-10 10:08:07 +00:00
biology biology/Makefile: Add peak-classifier 2021-06-15 13:55:35 +00:00
bootstrap Introduce a new SYSCONFBASE variable (defaults to /etc) 2021-05-30 23:41:05 +00:00
cad openscad: Needs itstool 2021-06-18 12:26:25 +00:00
chat dino: update to 0.2.1 2021-06-09 20:22:18 +00:00
comms conserver: avoid hardcoding a list of 64-bit archs 2021-06-15 12:35:11 +00:00
converters *: bump PKGREVISION for poppler shlib bump 2021-06-10 11:06:19 +00:00
cross *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
databases rrdtool: fix building on Darwin 2021-06-17 08:59:10 +00:00
devel kio: more files needed in buildlink. Gets kinit building again. 2021-06-19 00:30:13 +00:00
distfiles
doc doc: Updated net/bind916 to 9.16.18 2021-06-19 13:18:30 +00:00
editors emacs27: switch to harfbuzz backend for fonts 2021-06-13 20:28:12 +00:00
emulators libretro-mame2010: fix building on non-x86 non-powerpc 2021-06-19 07:23:31 +00:00
filesystems fuse-djmount: retire; does not build with external nor internal libupnp; last release 2006-08-07 2021-06-15 09:05:40 +00:00
finance finance/ruby-activemerchant: update to 1.121.0 2021-06-14 15:23:12 +00:00
fonts *: Stop listing OS names in package descriptions 2021-06-14 21:08:05 +00:00
games warzone2100: use a2x instead of asciidoctor for now 2021-06-18 13:47:58 +00:00
geography Update to 0.3.8 2021-06-13 12:59:08 +00:00
graphics leptonica: updated to 1.81.1 2021-06-15 10:26:48 +00:00
ham *: recursive PKGREVISION bump for sneaky gsl shared library version number change 2021-06-01 09:12:22 +00:00
inputmethod *: Stop listing OS names in package descriptions 2021-06-14 21:08:05 +00:00
lang llvm: explicitly list all bin/* files instead of a wildcard 2021-06-18 19:40:33 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail thunderbird52: explicitly use autoconf-2.13 2021-06-18 19:23:11 +00:00
math (math/xyconvert) +USE_LANGUAGES+= c++ 2021-06-19 13:38:23 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs php*-extensions: quick hack to make the metapackage build on aarch64 2021-06-19 06:06:12 +00:00
misc *: bump PKGREVISION for poppler shlib bump 2021-06-10 11:06:19 +00:00
mk mk/blas.bl3, Netlib and OpenBLAS packages, NumPy: C fixup and 64 bits 2021-06-15 04:41:51 +00:00
multimedia *: Stop listing OS names in package descriptions 2021-06-14 21:08:05 +00:00
net net/bind916: Update to 9.6.18 2021-06-19 13:18:21 +00:00
news *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
packages
parallel ocl-icd: set explicit path to ruby exectuable 2021-06-13 12:04:56 +00:00
pkgtools bootstrap-mk: Remove GCC/Clang-specific warning flags 2021-06-18 12:17:34 +00:00
print web2c: require gcc5 for c++14 2021-06-15 13:21:04 +00:00
regress *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
security build fix for NetBSD-8/m68k which calls itself netbsdelf 2021-06-19 11:17:53 +00:00
shells bash: Add --enable-function-import. 2021-06-16 12:30:04 +00:00
sysutils macchina: fix build on aarch64 2021-06-18 10:44:29 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc textproc/ruby-terminal-table: relax dependency 2021-06-19 07:47:33 +00:00
time py-vdirsyncer: updated to 0.18.0 2021-06-13 17:56:15 +00:00
wm blackbox: bump PKGREVISION for previous change 2021-06-11 21:30:39 +00:00
www kjs: more files needed in buildlink. Gets khtml building again. 2021-06-19 00:44:34 +00:00
x11 x11/kitty: adjust PLIST 2021-06-18 10:07:01 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Community / Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git