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.
X.Org found in NetBSD-current.
Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).
On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files. It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file. x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
if no filename given, but this isn't true with the native HP compiler, so
teach them to use '-' explicitly.
XXX using cpp(1) to postprocess manpages is ugly, most of the other X.org
packages seem to have been converted to use sed(1).
NextEvent.c, as select() can modify it.
Add hacks.mk to build with -fno-strict-aliasing when needed; there
are quite a few warnings about this. Given this is an important
dependency, IMHO it's better to just disable it.
Bump rev.
- add an automake conditional to configure
- use that to build xmakestr using manual build rules. X11_CFLAGS is
honoured, but not CFLAGS as the latter is likely to contain platform
specific flags.
- use either makestr or xmakestr for building StringDefs.c, depending
on whether we are cross-compiling or not.
- pass down native compiler and flags for cross-compiliation
Supported-by: Google SoC 2007
official modular Xorg release of libXt.
This is so the xt.pc pkg-config file will have "appdefaultdir"
defined.
(I am guessing I am the only person in the pkgsrc world with this problem
since I have systems with libXt from xlibs days.)
This is the X Toolkit Intrinsics library. Xt Intrinsics is a library
of C routines (based on Xlib) used for designing user interfaces
with widgets. It also provides functions for handling events,
initializing windows, and interpreting resource files.
This is from the modular X.org project.