determine whether sigignore(3) is supported or not. This fixes the build
for QAT and pointyhat (or in fact any jailed situation where the kernel
and headers are not in sync).
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
This allows jconsole to show valid statistics for the following
OperatingSystem MBean statistics (some of these statistics are also shown
in the Summary and VM tab of jconsole):
TotalSwapSpaceSize, FreeSwapSpaceSize, FreePhysicalMemorySize and
TotalPhysicalMemorySize.
Note that MaxFileDescriptorCount has always been correct as far as I
can tell.
. Also, implement the function for ProcessCpuTime using a non-deprecated
function (getrusage(2) rather than times(3)).
These changes are restricted to 6.x and higher and have only been tested
on 6.x (where they appear to work correctly). The changes are not valid
for 4.x. Their validity on 5.x and 7.x is unknown (testing welcome).
The PR is not fully addressed by these changes since
CommittedVirtualMemorySize and OpenFileDescriptorCount remain bogus.
Suggestions on how to get these without using kvm(3) would be appreciated.
PR: 118735
passing -XX:+UseThreadPriorities.
. Remove the os_sleep hack which was used on FreeBSD to make sure lower
priority threads got time slices. Instead, just call pthread_yield().
On FreeBSD 7.x with libthr, this will still give lower priority threads
some time (with the above flag turned on), although such behaviour is
not guaranteed by POSIX. This boosts FreeBSD performance by 7-fold on
an 8 core system, putting it on a par with Solaris (benchmarks by kris@).
The Java standard and the JCK tests are somewhat contradictory on thread
priority being guaranteed to work, and in this case the performance
benefits appear to outweigh any possible side effects.
. Pick up DEFAULT_LD_LIBRARY_PATH from the build environment rather than
patching it into a file at build time. This simplifies the Makefile.
Submitted by: Kurt Miller <kurt@intricatesoftware.com>
appears to actually match the type of variable its being used with in the
code (although it seems that it may be even cleaner to just replace 'fastInt'
with 'short').
This also partially bandaids a build problem some are seeing since Hint.h
is a less common header file name than cpu.h.
. Replace some hardwired /usr/local instances with LOCALBASE.
. Small Makefile restructure to keep related variables in one place.
. Add ipv6 to CATEGORIES if its enabled. [2]
PR: 106130 [2]
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> [2]
Pointed out by: pointyhat (via kris) [1]
building, the JDK zone info file doesn't exist yet, so attempting to
get the zone info for GMT_ID would fail.
Submitted by: Kurt Miller <kurt@intricatesoftware.com>
defining O_SYNC and O_DSYNC if they aren't defined. In particular we
were previously defining O_SYNC bogusly to the same value as O_EXCL.
PR not closed as this fixes jdk15, not diablo-jdk15.
PR: 102888
can't use -j in general since the build of the other bits is almost
certainly not -j safe. If set, this will speed up the build for those
with an SMP box. [1]
. Install the cacerts file from Sun's JDK 1.5.0_06 release rather than
using the almost empty one that comes with the SCSL source. [2]
. Bump PORTREVISION for the second change.
PR: 87552 [1]
Submitted by: leafy <leafy@leafy.idv.tw> [1]
Prompted by: Panagiotis Astithas <past@ebs.gr> [2]
copy. This should have the following effects:
. Fix problems experienced by programmes that dynamically create their
own copy of the JVM and are linked against the system's zlib (e.g.,
eclipse).
. Reduce the potential for zlib based security problems affecting the
JDK.
Submitted by: mi@
in the systems libz.so. This conflict broke applications such as
Eclipse which is linked with libz.so (via gtk+ I believe).
This is a slightly modified version of the submitter's patch.
A better solution may be to link with the system's libz.so and remove
the JDK's internal zlib code altogether, but I'd like to test that a
little more first. Until then this solves the problem.
. Bump PORTREVISION since Eclipse seems to be quite widely used.
Submitted by: "Arno J. Klaassen" <arno@heho.snv.jussieu.fr>
valid one doesn't currently exist.
. Add a pkg-deinstall which removes the symbolic link if this port owns it.
. Produce pkg-install and pkg-deinstall with SUB_FILES and SUB_LIST rather
than manually using ${SED} ourselves.
Approved by: maintainer timeout
http://java.sun.com/j2se/1.5.0/docs/guide/awt/1.5/xawt.html
it has some advantages over XToolkit. Its also the default on Linux
and Solaris will be switching to it. Some people have reported that
it fixes a crash in the browser plugin for them.
Please let me know straight away if this causes problems, particularly
with Swing, as it hasn't been extensively tested. The web page
mentioned above explains how to switch the toolkits dynamically so you
can compare them.
Submitted by: Huang wen hui <hwh@gddsn.org.cn>
(the awt_LoadLibrary.c patch)
Approved by: phantom (maintainer)