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).
Changes since 2.7.90
* New mime icon for WordPerfect documents
* New 16x16 and 24x24 stock_new-tab icons
* Updated translations [cy, th, zh_TW]
Changes since 1.3.7
* New translations [bs, nb]
* Updated translations [az, ca, es, eu, fi, ne, sq, sv, uk]
Changes since 1.3.6
* New device icons
* Updated translations [fi, fr, ms, sr, zh_CN]
Changes since 1.3.5
* Add open lock icons, Fixes#141458
* Add bittorrent icon, Fixes#148226
* Add ipod icons
* Add 32 and 48 px icons for mail-send-receive
* Updated translations [bg, da, hi, hu, ko, pt_BR, sq]
Changes since 1.3.4
* Updated translations [sq, da, bg, pt_BR]
Changes since 1.3.3:
* Added stock_3dsound and stock_headphones icons for 24 and 16 pixel sizes
* Added text/x-objcsrc mime type icon, Fixes#144987
Changes since 1.3.2:
* Fix API breakage for stock_save_as vs. stock_save-as
* Fix build so that make distcheck works
file get the right comments in generated PLISTs. (I'm not aware of packages
actually needing this, but will help in catching 'bugs' in the future, i.e,
"cannot remove non-empty directory foobar").
Changes since 1.1.91:
* duplex and tumble icon for printing
Changes since 1.1.90:
* More translations
Changes since 1.1.8:
* indent icon polish
* renamed csharp mime icon due to changed mimetype
Changes since 1.1.7:
* New gnome-fs-directory-visiting icon
* more small size stock icons
Changes since 1.1.6:
* new stock icons
* make install DESTDIR fix
Changes since 1.1.5:
* new stock icons
Changes since 1.1.4:
* searchtool icons
* more evo icons
* new visiting icon
* test for hicolor installed at build time
Changes since 1.1.3:
* Lots of new icons
* pkg-config file
Changes since 1.1.2:
* more icons needed for evo
Changes since 1.1.1:
* web calendar icon
* vcard mimetype icon
Changes since 1.1.0:
* Media icons in menu size
* New emblems
* Flags
* removable device icons
* other icons