DragonFly has diverged from FreeBSD to the point where NSPR will
not build LibreOffice on DragonFly due to being configured as DragonFly.
These patches split out DragonFly as its own platform, and should not
affect other platforms.
- take maintainership
- let this package automatically track the stable gecko branch
- clean out some legacy patches
This is the first part of PR pkg/42277.
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.
There are three types Mozilla mirrors.
(http://www.mozilla.org/mirroring.html)
* mozilla-current
contains only the current version of Firefox and Thunderbird
* mozilla-release
contains Firefox, Thunderbird, and Sunbird releases
* mozilla-all
complete archive
Define following variables for mozilla master sites:
MASTER_SITE_MOZILLA_ALL = mozilla-all
MASTER_SITE_MOZILLA = mozilla-release
and change some packages to use appropriate variable.
Update contents of MASTER_SITE_MOZILLA with master and primary mirrors
taken from http://www.mozilla.org/mirrors.html and add some sample definitions.
Upstream changes: bug fixes.
Package changes: avoid ".." in paths by changing WRKSRC and using
CONFIGURE_DIRS.
Add chunk to configure.in to avoid build failures I was seeing on
NetBSD-current/amd64.
"@comment " and not "@comment". The later cause a warning like
"Ignoring command @commentlib/nspr/cpu/sparcv8plus/libnspr_flt4.so".
Bump package revision because of package list fixes.
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