This ensures that this command is run before the files in the package
are deleted (which is necessary for it to correctly delete the symbolic
links created by registervm).
under gcc 3.4. In particular, this fixes some places where an enumerated
type is assumed to be the same width as an int (which the standard
doesn't guarantee and gcc 3.4 now enforces).
For full details, see the log for the jdk14 equivalent changes.
-fmemoize-lookups as gcc 3.4 doesn't understand it. [1]
. Use CXX and CXXFLAGS for compiling C++ code, not CPP and CPPFLAGS.
Also, respect the setting of CXX and CXXFLAGS.
PR: 71516 [1]
Submitted by: Damir Kiramov <damirycha@damirycha.net.ru> [1]
where previously they defaulted to protected. gcc 3.4 seems to pick
this up where earlier versions didn't.
PR: 71516
Submitted by: Damir Kiramov <damirycha@damirycha.net.ru>
additional patches.
This patch is taken almost verbatim from PR 69853 which was
submitted by Jake Hamby <jhamby@anobject.com>. I've applied it to
jdk13 rather than jdk14 though.
JNI.
XXX: Maybe ${X11BASE}/lib and /lib (5.x dynamic root support) should also
be added? /lib is part of the default search path on Linux.
Requested by: marcus
during the compile. The native threads java_vm binaries are compiled
regardless of the settings and were causing problems with the packing
list.
. Fix packing list so that native_threads versions of java_vm are
conditionalised.
PR: 56007
order is now:
. linux-blackdown-jdk13 iff WITH_LINUX_BOOTSTRAP is set.
. A previous installation of this port, if it exists.
. The Diablo Caffe JDK.
That is, the Diablo Caffe JDK is now the default bootstrapper in the
absence of a previous installation of this port.
(possibly indirectly) a symbolic link to ${WRKDIRPREFIX}.
. Use this script in preference to the direct symbolic link check
previously used, as it handles indirections which cause the same
problem.
. /compat/linux -> ${LINUXBASE} in the message output if the check
detects a link.
PR: 43602
default if it exists. This can be overidden either using JDK13DIR
or setting WITH_LINUX_BOOTSTRAP.
2. Don't create directories for new files, invoke patch with -p0.
PR: 52195 [1]
Submitted by: David Yeske <dyeske@yahoo.com> [1 - based on]
ttyname() must not return NULL. This isn't entirely true according
to the manual page (the device must be able to be found as well) and
certainly appears to not necessarily be true in the package building
environment on bento (plus at least the PR submitter's environment).
Note that this assert() was, of course, only ever triggered when
running in debug mode (which most people don't, but does happen
during the build in some parts). Also note that there is a check
for isatty() preceding the call for ttyname() and a NULL return
from ttyname() is handled, so removing this assert should not
create any problems.
PR: 48164
not be installed, but appears to be on rare occasions for reasons
unknown.
2. Add handling of share/doc/java, previously only done in pkg-plist.
PR: 50092 (2)
Submitted by: Munehiro Matsuda <haro@kgt.co.jp> (2)
. Clean up for WITHOUT_PLUGIN.
. Clean up for WITH_NATIVE_THREADS.
. Add handling of jre/lib/ext, previously only done in Makefile.
PR: 50092
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Munehiro Matsuda <haro@kgt.co.jp>
2. Enable compiling the HotSpot JVM. This is experimental and there are a
number of caveats with its use that are reported by the port. The flag
to enable this is WITH_HOTSPOT.
3. Try to pick some OSVERSION settings appropriate for the current native
threads implementation.
PR: 47397 (2)
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp> (2)
committed enhancements to libc_r and is only suitable for very recent
versions of FreeBSD. The big benefit is that it removes almost all
the previous grovelling about in the pthreads internals.
The change only comes into effect when WITH_NATIVE_THREADS is set.
A separate Makefile commit will attempt to enforce appropriate
OSVERSION settings for using it.
Submitted by: fjoe
Currently gethostbyaddr_r collides with the implementation (in libc!) for
FreeBSD 5.x which both uses a different prototype (as per the Linux
version) and is marked temporary and not thread safe. Also, limit the
scope of these internal implementations to this file.
This fixes crashes in networked applications for FreeBSD 5.x.
Some tweaks (making the functions static, naming, BSD ifdefs) by me.
Submitted by: "Georg-W. Koltermann" <g.w.k@web.de>