Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
nia 9aba47a665 dolphin-emu: Build with -std=gnu++14 to get the right alloca definition.
EXTRACT_USING=bsdtar hack is no longer needed.
2020-06-28 15:04:36 +00:00
archivers unrar: updated to 5.9.3 2020-06-20 08:34:08 +00:00
audio open_jtalk: Fix build under NetBSD 9 or earlier 2020-06-28 02:33:05 +00:00
benchmarks *: Update broken sf.net HOMEPAGEs 2020-06-14 10:07:48 +00:00
biology Revbump for icu 2020-06-02 08:22:31 +00:00
bootstrap bootstrap: Fix default target arch on SunOS. 2020-05-30 21:36:15 +00:00
cad (cad/qcad) Add one patch for adapting to QT update, Re: QPainterPath 2020-06-16 23:09:31 +00:00
chat irssi: Do not install perllocal.pod 2020-06-26 07:46:00 +00:00
comms asterisk16: Update to 16.11.0 2020-06-12 16:23:53 +00:00
converters p5-Sereal: update to 4.014. 2020-06-18 19:56:32 +00:00
cross mingw-w64-i686-winpthreads: Update PLIST to reflect reality 2020-06-22 11:56:56 +00:00
databases mongo-c-driver: Needs socket library on SunOS 2020-06-25 12:48:00 +00:00
devel svn-bisect: Do not install perllocal.pod 2020-06-26 21:08:11 +00:00
distfiles
doc doc/TODO: add some 2020-06-28 14:45:08 +00:00
editors editors/micro: Update to 2.0.6 2020-06-26 13:10:45 +00:00
emulators dolphin-emu: Build with -std=gnu++14 to get the right alloca definition. 2020-06-28 15:04:36 +00:00
filesystems fix comment 2020-06-19 23:11:37 +00:00
finance ledger: updated to 3.2.1 2020-06-15 16:54:38 +00:00
fonts spleen: update to 1.7.1. 2020-06-21 09:25:05 +00:00
games Supported options can't be empty, apparently 2020-06-28 09:29:16 +00:00
geography geography/qgis: Update MAINTAINER, comment on python option. 2020-06-24 21:49:20 +00:00
graphics sane-backends: needs networking libs on SunOS 2020-06-25 12:44:10 +00:00
ham (ham/predict) Updated to 2.2.6 2020-06-16 13:43:36 +00:00
inputmethod inputmethod/mozc-server: fix build problem 2020-06-19 05:45:30 +00:00
lang Unbreak gawk on ppc Mac OS X 10.4 and earlier - the linker 2020-06-25 19:48:03 +00:00
licenses licenses: Add ttyp0-license 2020-06-17 11:06:58 +00:00
mail Assign non-default SUBST_FILES.djberrno with =, not += (because it 2020-06-26 16:37:22 +00:00
math py-numpy16: Fix typos in DESCR 2020-06-25 19:00:37 +00:00
mbone Fix const issues 2020-05-14 19:26:01 +00:00
meta-pkgs meta-pkgs/netbsd-doc-print: update to 1.5 2020-06-21 10:33:06 +00:00
misc misc/ruby-ohai: fix PLIST 2020-06-24 03:01:00 +00:00
mk mk: Handle pdksh issue with "set -e" in for loop. 2020-06-25 08:45:00 +00:00
multimedia ffmpeg3: Enable section_data_rel_ro on NetBSD 2020-06-26 21:19:16 +00:00
net dnscheck: Do not install perllocal.pod 2020-06-26 21:08:55 +00:00
news Revbump for icu 2020-06-02 08:22:31 +00:00
packages
parallel paexec: Pull in libmaa 2020-06-16 10:38:40 +00:00
pkgtools pkgtools/url2pkg: update version to 20.2.0 2020-06-28 10:20:59 +00:00
print qpdfview: Fix build with latest Qt. Use libcups. 2020-06-28 14:55:17 +00:00
regress regress/infra-unittests: add very basic tests for mk/haskell.mk 2020-06-27 10:51:12 +00:00
security Retire 'djbware-errno-hack' and associated options.mk cleverness. 2020-06-25 05:42:36 +00:00
shells Fix shells/fish on macOS 2020-06-14 22:52:10 +00:00
sysutils sysutils/Makefile: fix minor indentation issues 2020-06-26 23:27:24 +00:00
templates
textproc go-chroma: fix bl3. 2020-06-24 22:58:07 +00:00
time Retire 'djbware-errno-hack' and associated options.mk cleverness. 2020-06-25 05:42:36 +00:00
wm wmii: needs -lm for frexp 2020-06-28 14:05:58 +00:00
www fcgi: Needs -lm for frexp() 2020-06-28 13:55:59 +00:00
x11 xf86-video-intel: only for x86 2020-06-28 13:54:09 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md README.md: minor adjustments 2020-01-15 16:19:22 +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.

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.

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