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.
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
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).
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
could be evaluated by configure scripts at the configure stage.
(Otherwise, pkg_admin(1) and pkg_info(1) can be executed only once
before EB as a dependency is not installed yet, which results in
that those commands return void.)
Changes since 3.3.4 are:
* Accept remote access.
* Adopt BSD license.
* Include only Japanese HTML documents (English documents are removed!).
* Accept Japanese encodings other than EUC-JP.
* Improve EB_BookList API.
* Many bug fixes.
While here, enable pkgviews installation.
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.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
Addresses PR pkg/21116 by Makoto Fujiwara.
Changes:
- honour PKG_SYSCONFDIR
- add another two appendixes
- delint
3.3.2:
======
- Fix version number of the shared library.
- Support for Nichi-Ei-Futsu Jiten (YRRS-059).
3.3.1:
======
- Support for EPWING Geinus Eiwa Daijiten.
- Fix a bug in handling of multi-search.
- Fix a bug of debug mode.
3.3:
====
- Fix a bug of eb_read_binary_mpeg().
3.3beta3:
=========
- Fix multi search.
- Fix some minor bugs.
3.3beta2:
=========
- Fix some serious and minor bugs.
- Install `eb3.m4' in `$(datadir)/aclocal'.
3.3beta1:
=========
- Fix some bugs.
3.3beta0:
=========
- Revise file name and compression type detection codes for EPWING.
- The eb_multi_title() function is added, which gets a title of the
specified multi search.
Using this function, the `ebinfo' command also outputs multi search
titles when `--multi-search' (or `-m') option is specified.
- Fix a bug of `ebrefile'.
- Add two text hooks for inline image support.
* Use genius2-1.1.
* Fix distinfo to match Makefile distfile list.
Changes since 3.2.2 include:
* eb/subbook.c (eb_set_subbook_epwing): Open `honmon2' for
sound or graphic file if `honmong' or `honmons' doesn't exist.
* eb/binary.c (eb_set_binary_wave): Fix a bug that the function
composes broken WAVE header.
* eb/text.h, eb/readtext.c: Define `EB_HOOK_BEGIN_DECORATION' and
`EB_HOOK_END_DECORATION', requested from Kenichi SUTO.