The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
realized didn't make it to the ticket. Yesterday, I happened to
have same problem (on two systems).
I see from the cvs log message for xf86vidmodeproto that some headers
got moved to libXxf86vm. And I see libXxf86vm now has needed
header. But the buildlink3.mk didn't get changed so the older version of
libXxf86vm is good enough.
So increased the BUILDLINK_API_DEPENDS.libXxf86vm to libXxf86vm>=1.1.0
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.
These functions provide an interface to the server extension
XFree86-VidModeExtension which allows the video modes to be queried
and adjusted dynamically and mode switching to be controlled.
This library is from the modular X.org project.