Commit graph

10 commits

Author SHA1 Message Date
Baptiste Daroussin
64f16bafaf Remove the deinstall script that appears to be deleting all the temporary files
created by pkg(8) during upgrades

It happens because the deinstall script tries to clean up the potential manual
VM registration by cleaning out all symlinks to bin/javavm

Given all VM are registring/unregistering themselves this part is not needed

The other thing the script was doing handling the configuration which has been
replaced by @sample.

pkg-install has been modified to drop the handling of the configuration file but
keep the auto registration if all VM found. While this part is not necessary as
well, we keep it because otherwise anyone doing delete/install on javavmwapper
version 2.5 being the installed version would end up with all VM unregistered.

The pkg-install should be removed after EOL of FreeBSD 10.3

PR:		210313
MFH:		2016Q3
2016-07-31 12:30:24 +00:00
Jung-uk Kim
e93fd31996 Shut up noise when there is no JDK/JRE to register.
Reviewed by:	glewis (maintainer)
Feature safe:	yes
2012-10-31 21:50:25 +00:00
Jung-uk Kim
ace34c1a63 - Ignore bootstrap-openjdk when we automatically register existing JVMs.
- Make sure to destroy all symlinks pointing to ${PREFIX}/bin/javavm and
${PREFIX}/etc/javavms when we deinstall the package.

Reviewed by:	glewis (maintainer)
Feature safe:	yes
2012-10-28 02:11:29 +00:00
Greg Lewis
0a27ea89b8 . The new Diablo JDK release doesn't need -XX:+UseMembar. 2006-07-05 20:32:58 +00:00
Greg Lewis
ca4a8507f4 . Revert previous commit. It was my recollection that javac needed the
flags when being used to bootstrap the jdk15 port, and this was confirmed
  by somebody else.  However, javac doesn't seem to be happy with it so
  turn it back off.

Submitted by:	hq
2006-06-07 20:26:21 +00:00
Greg Lewis
1868851b7a . Diablo's javac also needs -XX:+UseMembar. 2006-06-07 04:12:31 +00:00
Greg Lewis
efe0ee6196 . Restrict the -XX:+UseMembar option to the java(1) programme to prevent it
causing problems for programmes such as jar(1).  I actually believe it is
  needed by some of the other programmes, but we'll add it as needed.
. Bump PORTREVISION for this change.

PR:		98586
Submitted by:	Achilleas Mantzios <achill@matrix.gatewaynet.com>
2006-06-06 15:25:50 +00:00
Greg Lewis
3694308948 . Allow the setting up of command line options to be passed to the
invoked Java VM.

Reviewed by:	hq
2006-06-03 17:32:24 +00:00
Greg Lewis
7ea5326d8e . Ignore errors from the call to registervm, otherwise one sees a whole
slew of spurious errors when upgrading the port.
2005-04-11 21:21:16 +00:00
Greg Lewis
6e54503ac8 . Move pkg-install to files/pkg-install.in since it is modified before use.
This also fixes a problem that when being modified it wasn't specified
  by absolute path.

Reported by:	Robert Backhaus <robbak@robbak.com>
2004-12-16 15:38:17 +00:00