The DynaLoader.a file is sometimes linked into programs or libraries, so
provide it in ${BUILDLINK_DIR}.
Further optimization: pass through those args that look like:

	-I.
	-I../*

since they're clearly for local directories.  Perhaps this could be
expanded to all directories that aren't absolute paths?
Add comments for the the code to manually buildlinkify.
Convert to use the buildink2 framework and to work with perl-5.8.0rc2.
If ${LOCALBASE} != "/usr/pkg", then remove references to headers and
libraries within "/usr/pkg".  This deals with software that tries to be
NetBSD-friendly by looking for stuff in /usr/pkg, which is a good thing.
However, for the purposes of pkgsrc, LOCALBASE is user-settable, so we
need to filter out "/usr/pkg" appropriately.
WRKDIR is used by pre-cache, not wrapper.sh.
Always let the hardlink succeed to prevent errors when forcing an update
of the buildlink wrappers.
Add a default case (duh!) so that any arguments that fall through are still
quoted and handled properly.
Using the default case, while correct, was too slow.  Instead of that, we
now just specially process and cache -D* as those are most likely to have
odd levels of quoting.  We also run _BLNK_TRANSFORM on -Wl,* arguments as
we're probably going to be handling those specially for Darwin.
typo
Whitespacing for readability.
Convert to use the buildlink2 framework and minimize the differences
between net-snmp-current/Makefile and ucd-snmp/Makefile.
Use SSLBASE instead of BUILDLINK_PREFIX.openssl...it's shorter and that's
what we created it for.
Convert to use buildlink2 framework.
Update perl5-current to track 5.8.0rc2 patchlevel 17384, which has the
latest bug fixes leading up to 5.8.0 as of 2002 Jun 30.
Convert from using buildlink1 to using the new buildlink2 framework.
Update to perl 5.8.0.  Remove several stale CPAN mirror sites.
Always build a dynamically-linked perl on Darwin, as the build process
doesn't let us do it any other way.  Also force the man1 pages to be
installed into ${PREFIX}/man/man1 instead of ${PREFIX}/share/man/man1,
as per hier(7).
Check for /bin/bash and use it for the shell in the buildlink wrappers on
Darwin.
Properly set default PERL5_SITEARCH and PERL5_ARCHLIB on Darwin, which
differs from other systems in that there is no mention of ${MACHINE_ARCH}.