Commit graph

19 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
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.
2009-03-20 19:23:50 +00:00
cube
403e256ff6 Merge cube-native-xorg, so that pkgsrc-current can be used with the native
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.
2008-10-05 21:36:32 +00:00
tnn
9f2a42bc6b Switch master site to MASTER_SITE_XORG. 2008-05-24 21:45:14 +00:00
obache
17864dad74 Don't try to remove include/X11/extensions as others doing. 2008-04-18 02:24:54 +00:00
tron
5ab01fe2a1 Unbreak build of a lot of X11 packages on systems which use native X11
(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.
2008-01-07 13:59:35 +00:00
rillig
3842f2df7a Since X11_TYPE cannot be "xorg", there's no point in checking for that
condition. What was really meant is X11_TYPE != "modular".
2008-01-06 16:57:41 +00:00
joerg
57020cbf75 Update to compositeproto-0.4. Add CompositeNumberEvents and protocol
specification in English.
2007-07-25 15:53:10 +00:00
joerg
9a2a630c79 Update compositeproto to 0.3.1:
* compositeproto.h:
    Bug #1425: Fix the protocol definition on big-endian LP64. (René Rebe)

Bump API dpends.
2007-01-18 17:23:39 +00:00
joerg
0988643082 For reasons beyond my compressions, (b)make handles
.if foo || bar
BAZ=	no
.else
BAZ=	yes
.endif

different from

.if foo
BAZ=	no
.elif bar
BAZ=	no
.else
BAZ=	yes
.endif

in some situations exposed in this builtin.mk. Workaround this for now.
2006-12-16 01:04:43 +00:00
joerg
1662e47171 Don't assume that we have a builtin version of the X11 proto packages,
if LOCALBASE and X11BASE are identical.
2006-12-15 20:43:00 +00:00
joerg
5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00
joerg
686d52f4ca Support DESTDIR. Take maintainership. 2006-11-03 17:09:27 +00:00
rillig
144a1ee175 Added "c" to USE_LANGUAGES for packages that use GNU configure scripts,
since they always need a C compiler, even when the source code is
completely in C++.

For some other packages, stated in the comment that a C compiler is
really not needed.
2006-07-22 04:46:13 +00:00
joerg
19338c63c5 Don't use the builtin framework for the various Xorg components
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@
2006-07-11 14:42:03 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
reed
5146481be8 Check before redefining the target for creating symlink.
(Noticed warning that it was redefined in x11-links.)
2006-04-19 12:27:02 +00:00
reed
6cc8238353 Update to official version.
And fix HOMEPAGE.

ChangeLog says:

2006-3-13   Deron Johnson  <deron.johnson@sun.com>

        * composite.h
        * compositeproto.h
        * configure.ac
        Composite Version 0.3: CompositeGetOverlayWindow, CompositeReleaseOverlayWindow
2006-04-18 17:31:47 +00:00
reed
8ce0013006 Import compositeproto from pkgsrc-wip.
This package provides Composite extension headers from the modular
X.org X11 project.

This will replace the compositeext package.
2006-04-18 17:17:50 +00:00