first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
- - Don't pull in /sys/sys/include just for ipv6 support!
- - Package wants "bison"; give it bison.
- - Don't pull in "libpthreads" just becuase it exists on
the build system.
- - Likewise for "pgp", unless IRRD_USE_PGP is specified.
Also,
- - Rearrange package Makefile, so that only that which
is "prefs" goes after ".include ../../mk/bsd.prefs.mk".
TODO:
- - Make the package use pgp5 or pgp2 by default?
CONFIGURE_ARGS. This is needed because the pkg system passes,
for example, "--host=i386--netbsd" to 'configure'. However,
'configure' looks for strings like i386-*-netbsd1.4[A-Z] and
i386-*-netbsd1.3* to turn off ipv6.