Commit graph

14 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
rillig
adf612c8e1 Removed options.mk, since it is not included anymore. 2008-01-05 21:53:37 +00:00
bjs
1161903aa1 Remove 'nls' option per joerg's request. I added it because I figured
there was some reason that the .mo files were in a seperate PLIST, though
I did not see why.


Bump rev again.
2007-12-14 19:07:44 +00:00
bjs
4077039309 For consistency's sake, remove PLIST.linux and instead add an option
to enable/disable NLS.  This option is added to PKG_SUPPORTED_OPTIONS
by default if there is a built-in gettext library.

While here, add PKG_DESTDIR_SUPPORT=user-destdir.  Bump revision.
2007-12-14 08:34:42 +00:00
adrianp
d80f116517 nls support means extra files get installed on Linux
Report from Aleksey Cheusov in PR# 37099
2007-10-13 10:52:30 +00:00
adrianp
9e2ebddcc1 Newer versions of "streamripper" want wchar support
Enable shared libraries
PKGREVISION++
Patch from Matthias Drochner
2007-09-13 19:23:40 +00:00
adrianp
ae05e5c199 Update to 0.7.5
* Removed unused tre_filter code.
* Fixed printf format string and argument types for 64 bit builds.
* Fixed params array signedness inconsistencies.
* Fixed not to build agrep if --disable-approx is used.
* Included GNU getopt implementation from gnulib.
* Fixed backtracking matcher to work if malloc(0) returns NULL.
* Removed guessing of best optimizing CFLAGS.
* Fixed agrep exit status when no matches found.
* Fixed regex parser on big-endian 64 bit architectures.
* Added support for the -q command line option.
2007-07-14 21:53:01 +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
wiz
464d94199b Fix typo in comment. 2006-05-09 12:37:36 +00:00
adrianp
c2c1d95907 Make pkglint happy about the comment in the Makefile
Add an extra CPPFLAGS to the bl3.mk to ensure the correct regexp files are
picked up by any package that requires this one. From Aleksey Cheusov.
2006-05-09 12:34:18 +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
adrianp
a06878c965 TRE is a lightweight, robust, and efficient POSIX compliant regexp matching
library with some exciting features such as approximate (fuzzy) matching.

At the core of TRE is a new algorithm for regular expression matching with
submatch addressing. The algorithm uses linear worst-case time in the length
of the text being searched, and quadratic worst-case time in the length of
the used regular expression. In other words, the time complexity of the
algorithm is O(M2N), where M is the length of the regular expression and N
is the length of the text. The used space is also quadratic on the length
of the regex, but does not depend on the searched string. This quadratic
behaviour occurs only on pathological cases which are probably very rare
in practice.
2005-11-29 19:12:04 +00:00