by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
opensp was building against unproven-pthreads, but openjade
was getting pth, so the link would fail. Copy the related
glue from opensp/Makefile to opensp/buildlink2.mk
fixes build problems in latest bulk builds.
Based on patch from Juan RP via PR pkg/20220.
Changes:
========
- The architecture engine supports #MAPTOKEN.
- The multibyte version of OpenSP now uses 32bit chars and supports
the full UTF-16 range 0x0000-0x10ffff.
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.