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.
----------------------------------------------------------------------
ChaSen 2.4.2 (2007/07/23)
----------------------------------------------------------------------
- bug fix
tokenization bug: unknown words with an half width space
then automatically generate a PLIST that says "${PKGNAME} has no files".
* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
and no PLIST files exist, then fail during the package build with
PKG_FAIL_REASON.
* Remove "intentionally empty" PLISTs again.
Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:
PLIST_SRC= # empty
that directly manipulate empty PLISTs.
Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
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).
----------------------------------------------------------------------
ChaSen 2.3.3 (2003/08/16)
----------------------------------------------------------------------
- bug fix
- print null strings with empty readings and pronunciations.
- read the paths of chasenrc and grammar files from the registry
on Windows.
----------------------------------------------------------------------
ChaSen 2.3.2 (2003/08/01)
----------------------------------------------------------------------
- bug fix
- new dictionary format for registoring conjugation form specified
words.
----------------------------------------------------------------------
ChaSen 2.3.1 (2003/06/19)
----------------------------------------------------------------------
- removed PATDIC, SUFDIC
- introduced -i option (Character Encoding)
(e: EUC-JP, s:Shift_JIS, w:UTF-8, a:ISO-8859-1)
----------------------------------------------------------------------
ChaSen 2.3.0 (2003/02/24)
----------------------------------------------------------------------
- introduced a double array library "Darts" for dictionary look up
- bug fix for sortdic
- extension for the module reading `cforms.cha'
-- to change BASE_FORM name
- increased the number of dictionaries (*.int/pat/ary) from 5 to 32.
- removed server and client mode
- removed command interpreter