Commit graph

31 commits

Author SHA1 Message Date
Thomas Klausner
4d3335a49d Re-add on jwise's request until all java-vm.mk users are converted. 2004-04-27 15:31:50 +00:00
Thomas Klausner
da4fa7432e Unused. 2004-04-26 09:22:10 +00:00
Todd Vierling
ea2300e0cf bl3, but untested. 2004-04-19 20:53:01 +00:00
grant beattie
0c969d6c85 replace BUILD_DEPENDS m4 and M4 definition with USE_GNU_TOOLS+=m4. 2004-01-25 03:09:08 +00:00
grant beattie
e7e15b4322 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-25 02:22:38 +00:00
Todd Vierling
730e222644 Update to 20031122 in "Experimental" patchset. 2003-12-07 14:20:09 +00:00
Todd Vierling
247bdf6a25 tv@pobox.com -> tv@duh.org (change preferred primary mail address).
Fix CATEGORIES in a few places.
2003-09-25 02:45:17 +00:00
Todd Vierling
efd71e5f54 Update to 20030808 "experimental" patchset, and remove now-merged patch. 2003-08-20 20:11:56 +00:00
Todd Vierling
c545f92cc5 JDK13_WITH_PLUGIN -> JDK_WITH_PLUGIN, to be consistent with other knobs. 2003-07-07 18:30:36 +00:00
Marc Recht
ee2cf39c0f Setting CLASSPATH and/or JAVA_HOME in the environment break the building
of the JDK. For the same reason also set JAVA_COMPILER to NONE.
(As mentioned in ${WRKSRC}/BUILD)
2003-07-07 17:28:29 +00:00
Marc Recht
ce23dcaa7f Unset CLASSPATH and JAVA_HOME in the environment and set JAVA_COMPILER
to NONE.
2003-07-07 14:34:05 +00:00
Todd Vierling
73af74474e Add checksum for patch-ai. 2003-07-07 01:45:06 +00:00
Todd Vierling
ad4e9ba3f4 Fix sigprocmask() indirection. The NetBSD case was being handled in the
"#ifndef RTLD_NEXT" branch, but NetBSD-current now has RTLD_NEXT, so it
now must also be handled in the RTLD_NEXT-is-present case.
2003-07-07 01:44:50 +00:00
Todd Vierling
3650089460 It was "release-bundles" in jdk12, but it's "bundles" in jdk13. 2003-07-06 20:45:33 +00:00
Todd Vierling
0534c612df Run the "release-bundles" target if JDK_WITH_BUNDLES=YES. This produces
Sun-style .sh selfextractors in the build directory (not used by pkgsrc,
but can be used to produce redistibutable binaries).
2003-07-06 20:37:00 +00:00
Todd Vierling
86632e2d73 Fix tool directory now that it uses MAKE_FLAGS properly. 2003-07-06 19:11:18 +00:00
Todd Vierling
b7633b2ced Allow an already installed jdk13 to be used as the bootstrap JDK for a
recompile or later version of this same package (good for use with
"make replace").
2003-07-06 18:44:56 +00:00
Todd Vierling
0317f82a8d It's MAKE_FLAGS, not MAKE_ARGS. (Though _ARGS would be consistent with
e.g. CONFIGURE_ARGS.  8-)
2003-07-06 01:40:56 +00:00
Todd Vierling
8fa5bdc705 Since NetBSD inherited FreeBSD's pipe(2), it is now plagued by much the
same problems (and more, as FreeBSD's fifoHack here does not work on
NetBSD 1.6.1).

Rather than make pipe(2) work the way green_threads wants, emulate the
old-style pipe-as-socketpair by calling socketpair(2) directly.
2003-07-03 02:38:36 +00:00
Todd Vierling
9aa461f7c5 Go ahead and add a LICENSE setting, and call this "scsl-2.3-license". 2003-07-02 21:10:34 +00:00
Todd Vierling
e193c123c6 Make some empties part of OWN_DIRS. 2003-07-02 20:56:11 +00:00
Todd Vierling
fa13252ee7 Symlink the OJI plugin into place at install time. 2003-07-02 19:48:25 +00:00
Todd Vierling
0312b380f5 The DemoSwing.gmk fragment was really meaning to remove the SwingSet2
resource files, but it didn't always work.  Fix it to work consistently.
2003-07-02 17:55:59 +00:00
Todd Vierling
583faeb546 * Make plugin compilation conditional on JDK13_WITH_PLUGIN.
* Don't reference pthreads.  At all.  I mean it.  (Was referencing pth or
  native pthreads as used by Mozilla, even though the JVM was not using
  that threading model.  It should be using the HPI Solaris-threads
  emulation in the green_threads JVM instead.)

* Include SCSL license text in the MESSAGE_SRC, and change RESTRICTED to
  be more descriptive (binary distribution *is* possible, with specific
  licensing restrictions outlined in the SCSL).

* Add some missing PLIST files.
2003-07-02 16:53:13 +00:00
Todd Vierling
2e9d750d85 * Update to 20030423 experimental patchset-pre-9.
* Rework build and install to use SUPPORT_FILES.
* Build Mozilla plugin.  (Currently unconditional; XXX will become a knob)
* Use buildlink2 properly.
2003-07-02 04:39:02 +00:00
Todd Vierling
e7186a8a72 Import patch from FreeBSD ports/java/jdk13/files/patch-e_pow.c:
. Fix Math.pow() when the JDK is compiled with optimisation flags set.
  There may be other Math methods which similarly fail under optimisation,
  these will be addressed by a more extensive change in patchset 9.
2003-07-02 01:06:50 +00:00
Todd Vierling
630c81a4ed Import patch from FreeBSD ports/java/jdk13/files/patch-iomgr.c:
. Remove an assert() which asserts that if isatty() is true then
  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.
2003-07-02 01:06:12 +00:00
Todd Vierling
9d1751bee1 Only #define RTLD_{GLOBAL,LOCAL} if not defined by <dlfcn.h>. 2003-07-02 01:04:25 +00:00
Todd Vierling
22a3e056da Let buildlink2 do its job by removing explicit definitions of AS, CC, CPP,
and CXX.
2003-07-02 01:03:59 +00:00
Chris Pinnock
e77e48589c Lint: Use ${GREP}, ${CHMOD}, etc and move WRKSRC definition. 2003-04-27 12:27:09 +00:00
Todd Vierling
0efffad818 This is Sun's Java[tm] Development Kit, version 1.3.1, made buildable
and usable natively on NetBSD/i386 by Greg Lewis and a host of others.

===== From the patchset README:

This is a set of BETA source code patches for the JDK 1.3.1 SCSL source.
It is sincerely hoped that this patchset is suitable for general use,
although no warranty for such use is expressed or implied.  Use at your
own risk.  The patchset itself is available for download from
http://www.eyesbeyond.com/freebsddom/java/jdk13.html (this message is
included in the downloadable tar ball as the file README).

Please read the file THANKS for attributions.

The JDK built with these patches can only be considered of beta quality
when using the default green threads subsystem with the Classic VM.
These settings are the default.  It is not recommended that this JDK
be placed into production use with other settings (e.g., native threads,
HotSpot).
2003-04-07 16:28:59 +00:00