Commit graph

25 commits

Author SHA1 Message Date
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
rillig
a28ac4007b _PKG_SILENT + _PKG_DEBUG => RUN 2009-05-26 21:59:58 +00:00
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
joerg
85e6a41e4e Add missing include which is especially important for systems with
XFree86. Bump revision and dependency.
2008-01-17 14:06:06 +00:00
joerg
6aeb1bb1b4 Force version 0.9.4 of renderproto as dependency. Bump revision
of modular-xorg-server to accompany this.
2008-01-16 00:28:36 +00:00
wiz
1dcc254ab7 Update to 0.9.3:
Update package version number for final X11R7 release candidate.
(more?)
2008-01-15 23:02:27 +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
36e57827ad Restore LOCALBASE check as pkg-config handling must not be skipped as
it would be for a builtin package.
2006-12-17 16:06:31 +00:00
tv
ab82515a63 Fix !defined(IS_BUILTIN.xproto) inherited when this was copied from
xproto; should have been .renderproto so that the variable always gets
defined somehow.  (Under older bmake, there was a syntax error when
IS_BUILTIN.renderproto was later checked, because for x11-links, it was
never defined in the first place.)

Remove check for X11BASE==LOCALBASE.  There's even a comment there saying
we don't want to check that, so don't do it.
2006-12-16 14:07:24 +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
af2c8b2d03 The shell code to symlink the pkg-config file is hidden as usual. 2006-07-22 04:51:29 +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
rillig
f68d786e91 Fixed pkglint warnings. Fixed use of ${LN} -sf, which does not do the
expected thing on Solaris.
2006-06-16 14:35:54 +00:00
reed
01dfb8244a Add a BUILDLINK_TARGETS so a symlink for old name render.pc is created. 2006-04-19 12:25:15 +00:00
reed
ee881b1222 Use official version instead of release candidate.
No changes but version was incremented.
2006-04-18 17:29:02 +00:00
reed
9c14b9d4d8 Import renderproto from pkgsrc-wip.
This provides the Render extension headers from modular X.org X11
project.

This will replace the renderext package.
2006-04-18 17:16:06 +00:00