This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
whatsoever, so I cannot include a list here (see GIT history if
you're curious).
NOTE: This version of libdrm no longer includes the TTM interface.
If any [xorg/mesa] packages are updated to versions explicitly requiring
libdrm-2.3.1, then BUILDLINK_API_DEPENDS for this package will
need to be changed. Also, the i915tex dri driver found in
graphics/MesaLib will not build with this version--but nor was it
supported on any platform except Linux. I have remove i915tex
from the MesaLib driver build; this should be enough to avoid problems.