Commit graph

9 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
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
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
xtraeme
d296fbd9e5 s/wip/devel/ 2004-10-30 00:30:29 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
wiz
287672f90c Update to 0.10.3, provided by the maintainer Tim Bishop in PR 26764:
libstatgrab 0.10.3 (24 August 2004)

 * Add -f flag to statgrab to display floating-point numbers multiplied
   by an integer.
 * Add -K, -M and -G flags to statgrab to show byte counts in kibibytes,
   mebibytes or gibibytes.
 * Make statgrab-make-mrtg-config use the new flags to scale extremely
   large or small numbers so that mrtg can handle them.
 * Make statgrab-make-mrtg-config automatically detect network interface
   speeds.
 * Add support for FreeBSD 6.0-CURRENT.

libstatgrab 0.10.2 (27 July 2004)

 * Fix shared library version that when backwards in 0.10.1.

libstatgrab 0.10.1 (26 July 2004)

 * Use DESTDIR correctly when setting permissions at install time.
 * Fix disk stats to work with OpenBSD 3.5.
 * Fix disk stats on NetBSD 2.0 (statvfs instead of statfs).
 * Fix memory leak in process stats on NetBSD 2.0.
 * Add vxfs (Veritas filesystem) to list of known filesystems
   on Solaris.
 * Add more variables to the pkg-config file to suggest suitable
   ownership and permissions for binaries using libstatgrab.
 * Make sure statgrab.h can safely be included twice.
 * Fix statgrab to display network interface names even if they
   don't have IO stats (like the loopback interface on Solaris).
 * Add error reporting function that grabs errno.
2004-08-25 23:24:12 +00:00
xtraeme
061f832353 Initial import of libstatgrab-0.10 from pkgsrc-wip, packaged by the
author Tim Bishop.

The libstatgrab library provides an easy to use interface for
accessing system statistics and information. Available statistics
include CPU, Load, Memory, Swap, Disk I/O, and Network I/O.

Also part of the package are two tools; saidar provides a curses-based
interface to viewing live system statistics, and statgrab is a
sysctl-like interface to the statistics.
2004-05-20 20:48:57 +00:00