set from the renderproto version, pick a package with an older version
(renderproto9) for anything < netbsd-5.
This change gets the selection criteria right, and also points the
renderproto9 package to renderproto's builtin.mk, avoiding Xrender
breakage.
Fixes pkg/43969 and should probably be pulled up.
(For making the unreasonable assumption that BUILTIN_X11_TYPE.native on
a native NetBSD xorg system would be "xorg" I am awarded the Fail In
Technology prize of... a full set of "Synergy on P/OS" install media.
- - The correct answer was of course "unknown".)
Also make the test a little more robust, if not more attractive.
As further spice for this particular value equation; earlier this week I
switched the only platform I had for which this was relevant (OS X 10.4)
to modular X11, but I take solace from the fact this should make the lives
of those building x11 apps from current pkgsrc on netbsd-4 no less painful
than they were before...
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.
(e.g. NetBSD with bundled XFree86). Checking whether "X11_TYPE" is "xorg"
is obsolete and *not* equivalent to checking whether we are not using
modular X.org.
when X11_TYPE=xorg. Let them include x11.buildlink3.mk directly.
Remove the manual USE_BUILTIN declarations from xorg-libs/b3.mk.
This fixes a symmetry in the dependency list depending on whether
xorg-libs is installed already or not.
Discussed with jlam@
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto