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.
Fixing installation prefix and buildlink3 (now vlc's autoconf can find it).
Minor cleanup.
Upstream changelog:
2008.07.06:
- Corrected one of Erik Hovland's memory leak fixes made to the previous revision.
2008.07.05:
- Fixed some memory leaks - and several other mostly cosmetic fixes.
(Thanks to Erik Hovland for noticing these.)
2008.06.26:
- Fixed a bug in "openRTSP" that was sometimes causing an incorrect "Range:" header
to be sent in "PLAY" requests.
2008.06.25:
- Fixed a bug in the headers sent for the RTSP "GET_PARAMETER" and "SET_PARAMETER" commands.
(Thanks to "beilyzhang (at) hotmail" for this report.)
2008.06.05:
- Renamed the "ourSourceAddressForMulticast()" function to the less confusing and more explanatory
"ourIPAddress()".
- The "RTSPClient" change that was made in 2008.04.09 to accommodate multicast
streams apparently broke (some?) unicast streams. This has now been fixed.
- Updated "RTSPClient" to handle weird servers that include a "Content-Length:" header
in the response to the RTSP "SETUP" command. (If we see such a header, we skip over
the data referred to in the header.) (Thanks to Kristian Soerensen for this suggestion.)
- Changed the parsing of lines in "RTSPClient" so that it now accepts \r or \n alone
at the end of each line. (\r\n is preferred, but the standard also allows \r or \n)
(Thanks to David Schueler for this suggestion.)
2008.05.12:
- Made a change to "RTCPInterface" to ensure that "turnOffBackgroundReadHandling()" is called on a socket
as many times as "turnOnBackgroundReadHandling()". Apparently some versions of Windows get upset if this
doesn't happen. (Thanks to Ken Seo for the suggested fix.)
- Fixed a bug in "H263plusVideoStreamParser". (Thanks to Andrey Latin.)
- Added more sanity checking to "JPEGVideoRTPSink".
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).
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.