Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
schmonz bf2c4f42a3 On systems where both of the conditions
1. LD_LIBRARY_PATH does _not_ take precedence over DT_RPATH
   (e.g. Linux)
2. A previous libpython with the same major.minor is already installed
   (e.g. a previous version of this package)

hold, the built python will be linked with the installed libpython,
causing it to report an old teeny version in sys.version_info while
staging the install. Then "make package" fails with PLIST mismatches for
{,Pattern}Grammar.*.pickle.

pkgsrc knows which version we're building. Pass that down instead.

For platforms that weren't having this problem, no functional change
intended. For platforms that were, this simply restores "make package",
so no PKGREVISION bump.
2020-08-14 19:28:43 +00:00
archivers archivers/ruby-ffi-libarchive: update to 1.0.3 2020-08-09 15:03:41 +00:00
audio musescore: build fixes 2020-08-14 05:23:09 +00:00
benchmarks *: Update broken sf.net HOMEPAGEs 2020-06-14 10:07:48 +00:00
biology biology/R-popbio: import R-popbio-2.7 2020-08-10 18:18:46 +00:00
bootstrap bootstrap: No need to find packagemaker any longer. 2020-08-14 08:45:30 +00:00
cad (cad/qcad) Add one patch for adapting to QT update, Re: QPainterPath 2020-06-16 23:09:31 +00:00
chat Make devel/gajim not pick up the pkgsrc revision when pkgsrc is checked out via 2020-08-01 12:40:10 +00:00
comms asterisk16: Update to 16.12.0 2020-08-13 09:24:25 +00:00
converters multiple: Update MAINTAINER from gdt@ir.bbn.com 2020-07-27 16:20:44 +00:00
cross arm-none-eabi-gcc: Select pkgsrc makeinfo by the proper way 2020-08-12 14:24:41 +00:00
databases postgresql: updated to 12.4, 11.9, 10.14, 9.6.19, 9.5.23 2020-08-14 06:56:22 +00:00
devel rust/cargo: replace "--frozen --locked" with "--offline" in various places 2020-08-14 11:04:59 +00:00
distfiles
doc doc: Updated lang/go114 to 1.14.7 2020-08-14 18:46:19 +00:00
editors Extend gcc version range for -no-pie, since gcc 10 is here. 2020-08-14 08:00:57 +00:00
emulators qemu: fix PLIST 2020-08-14 06:08:11 +00:00
filesystems fuse-ext2: Update to 0.0.10 2020-08-11 13:38:14 +00:00
finance bitcoin: updated to 0.20.1 2020-08-03 15:01:16 +00:00
fonts Fix ICU option. Disable benchmarking as it requires git and external 2020-08-09 00:53:12 +00:00
games 7kaa: Update to 2.15.4p1 2020-08-09 15:03:29 +00:00
geography libmaxminddb: update to 1.4.3. 2020-08-14 14:14:44 +00:00
graphics opencv-contrib-face: add patch added to opencv here as well 2020-08-13 07:25:46 +00:00
ham added ham/py-soapy-sdr 2020-08-01 09:00:31 +00:00
inputmethod dbskkd-cdb: Update to 3.00 2020-08-14 01:55:04 +00:00
lang On systems where both of the conditions 2020-08-14 19:28:43 +00:00
licenses math/udunits: update to udunits2 v2.2.26. 2020-08-08 21:55:54 +00:00
mail mail/dovecot2-pigeonhole: distfile changes 2020-08-13 15:28:45 +00:00
math math/Makefile: sort entries 2020-08-13 03:56:34 +00:00
mbone Fix const issues 2020-05-14 19:26:01 +00:00
meta-pkgs pkglint: fix category Makefiles 2020-07-17 06:10:34 +00:00
misc asyncio is not supported by Python 2. 2020-08-11 18:44:53 +00:00
mk Add CMAKE_INSTALL_NAME_DIR, a package-settable variable containing the 2020-08-12 14:10:11 +00:00
multimedia adobe-flash-player: update to 32.0.0.414. 2020-08-11 16:02:08 +00:00
net lftp: updated to 4.9.2 2020-08-14 11:11:32 +00:00
news sfeed_curses: Update to 0.9 2020-08-08 15:41:31 +00:00
packages
parallel parallel/fastflow: Replace bash in scripts 2020-08-12 00:18:27 +00:00
pkgtools pkg_distinst: fix typo in MESSAGE 2020-08-12 23:48:33 +00:00
print Make sure we build with gnutls on Darwin, too, instead of the native 2020-08-11 12:40:54 +00:00
regress mk/help: fix help parser for variable names followed by comma 2020-08-04 21:46:44 +00:00
security gpgme: add missing #include 2020-08-14 10:32:43 +00:00
shells mksh: add a CHECK_PORTABILITY_SKIP with a comment 2020-08-03 15:33:45 +00:00
sysutils rust/cargo: replace "--frozen --locked" with "--offline" in various places 2020-08-14 11:04:59 +00:00
templates
textproc Update to version 0.2 2020-08-14 17:31:34 +00:00
time todotxt: Update to 2.12.0 2020-08-12 12:16:54 +00:00
wm i3: Update to 4.18.2 2020-08-08 22:02:37 +00:00
www rust/cargo: replace "--frozen --locked" with "--offline" in various places 2020-08-14 11:04:59 +00:00
x11 gtk3: updated to 3.24.22 2020-08-14 11:14: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