Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
rillig 71b4b7e8bc multimedia/ffmpeg4: fix USE_LANGUAGES
multimedia/ffmpeg4 does not need -std=gnu99, only ffplay4 does.

Since mk/compiler.mk is protected by a multiple-inclusion guard, any
later assignment to USE_LANGUAGES has no effect except being confusing.
The additional languages show up in "bmake show-var" but at the point of
evaluation, they had not been set yet.

This can be detected by several pkgsrc tools:

pkglint says:

WARN: ../../multimedia/ffmpeg4/Makefile.common:14: Modifying
  USE_LANGUAGES after including ../../mk/compiler.mk has no effect.

Adding a manual check to mk/compiler.mk results in:

bmake[1]: "mk/compiler.mk" line 273: warning:
  For multimedia/ffmpeg4, only languages "c" are used,
  the others in "c99" were defined too late.

Making the variable USE_LANGUAGES read-only after including
mk/compiler.mk results in:

bmake[1]: "multimedia/ffmpeg4/Makefile.common" line 14:
  Read-only USE_LANGUAGES cannot be set

(The latter two checks are not yet in the official pkgsrc tree.)
2020-05-31 07:42:13 +00:00
archivers archivers: Enable quazip 2020-05-28 14:16:46 +00:00
audio cmus: don't try to use OSS on NetBSD, format selection is busted 2020-05-28 20:00:23 +00:00
benchmarks benchmarks/dnsperf: re-add resperf-report to REPLACE_SH 2020-05-22 15:53:05 +00:00
biology biology/ncbi-blast+: document possible array[char] bug 2020-05-25 05:19:06 +00:00
bootstrap bootstrap: Fix default target arch on SunOS. 2020-05-30 21:36:15 +00:00
cad gnucap: add build dependency on tex-ec and tex-cm-super 2020-05-30 03:10:44 +00:00
chat *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
comms revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
converters help2man: SOEXT may not change, needs SUBST_NOOP_OK 2020-05-28 15:08:27 +00:00
cross cross/arm-none-eabi-gdb: suppress USE_TOOLS+=perl warning 2020-05-28 15:31:43 +00:00
databases databases/libgda: remove unknown configure option 2020-05-28 15:15:51 +00:00
devel Reoder sections. 2020-05-30 22:45:07 +00:00
distfiles
doc Updated www/p5-Net-Curl to 0.44 2020-05-30 21:07:11 +00:00
editors editors/fileobj: Update to v0.7.98 2020-05-30 16:48:58 +00:00
emulators libretro-mame2010: Update to 20200525 2020-05-30 20:36:15 +00:00
filesystems Use unversioned icu namespace. 2020-05-26 11:29:17 +00:00
finance *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
fonts Update to 0.16 2020-05-26 01:46:04 +00:00
games Don't force GCC libraries. Don't use broken AVX detection with clang. 2020-05-30 20:47:08 +00:00
geography *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
graphics Python config leaks _NETBSD_SOURCE into the build, so ensure it is 2020-05-30 20:46:09 +00:00
ham (ham/gnuradio-ctrlport) Add two REPLACE_PYTHON lines 2020-05-23 00:04:18 +00:00
inputmethod inputmethod/mozc-server: document possible array[char] bug 2020-05-25 05:30:31 +00:00
lang Sync comment. 2020-05-30 20:45:12 +00:00
licenses add afl-3.0 (Academic Free License) 2020-04-30 08:40:06 +00:00
mail py-email_validator: updated to 1.1.1 2020-05-29 08:56:54 +00:00
math *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
mbone Fix const issues 2020-05-14 19:26:01 +00:00
meta-pkgs bulk-medium: don't care about the wine version 2020-05-23 00:07:56 +00:00
misc Requires more than 1h of CPU time. 2020-05-26 11:30:29 +00:00
mk mk/compiler: Set -fcommon for GCC 10 2020-05-31 00:00:13 +00:00
multimedia multimedia/ffmpeg4: fix USE_LANGUAGES 2020-05-31 07:42:13 +00:00
net youtube-dl: Update to 20200529 2020-05-30 17:58:16 +00:00
news revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
packages
parallel *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
pkgtools pkgtools/pkglint: update to 20.1.11 2020-05-29 20:13:17 +00:00
print print/foliate: Updates to 2.2.0 2020-05-30 00:01:58 +00:00
regress regress/plus_build_version: fix test 2020-05-24 13:45:39 +00:00
security mozilla-rootcerts: silence pkglint warning about inconsistent patch name 2020-05-30 22:39:08 +00:00
shells mark packages that fail with -Werror=char-subscripts 2020-05-20 06:09:03 +00:00
sysutils sysutils/nnn: Update to 3.2 2020-05-30 03:06:03 +00:00
templates
textproc jsoncpp: updated to 1.9.3 2020-05-30 06:09:47 +00:00
time time: remove gtodo - gnome 2 app discontinued in 2004 2020-05-28 12:12:51 +00:00
wm wm/fvwm: remove unknown configure option 2020-05-23 12:50:33 +00:00
www Update to Net-Curl-0.44 2020-05-30 21:04:25 +00:00
x11 x11/qt4-pgsql: suppress USE_TOOLS+=perl warning 2020-05-28 15:24:13 +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