openbsd-ports/devel/netbeans/patches/patch-etc_netbeans_conf
landry 728debceb1 Add a patch to disable autoupdates which would mess up with /usr/local
in case someone is dumb enough to run this as root. Proper fix still to
be found..
From maintainer Daniel Dickman, thanks
2010-04-08 07:41:09 +00:00

17 lines
1.1 KiB
Plaintext

$OpenBSD: patch-etc_netbeans_conf,v 1.1 2010/04/08 07:41:09 landry Exp $
Turn autoupdate off by default. The relevant options are documented here:
http://wiki.netbeans.org/FaqPluginManagerCustomization
--- etc/netbeans.conf.orig Mon Apr 5 19:37:24 2010
+++ etc/netbeans.conf Mon Apr 5 19:36:26 2010
@@ -3,7 +3,7 @@ netbeans_default_userdir="${HOME}/.netbeans/6.8"
# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
-netbeans_default_options="-J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
+netbeans_default_options="-J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dplugin.manager.check.updates=false -J-Dplugin.manager.check.interval=NEVER"
# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here