diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2011-06-07 05:39:08 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2011-06-07 05:39:08 +0000 |
commit | bf72e81a1f4fe8fce80d897ea1624594b460988c (patch) | |
tree | 5eacd0ff22e7285947526078b24a14dea3c27054 /databases/dbXML/files/patch-startup | |
parent | Conditionally remove lib/security. (diff) |
. Update to 2.0.
. Modernise the port.
PR: 157634
Approved by: Richard Stockley <rws@procopia.com> (MAINTAINER)
Notes
Notes:
svn path=/head/; revision=275171
Diffstat (limited to 'databases/dbXML/files/patch-startup')
-rw-r--r-- | databases/dbXML/files/patch-startup | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/dbXML/files/patch-startup b/databases/dbXML/files/patch-startup new file mode 100644 index 000000000000..e1077b21a39d --- /dev/null +++ b/databases/dbXML/files/patch-startup @@ -0,0 +1,24 @@ +$FreeBSD$ + +--- startup.orig 2011-06-03 21:32:56.000000000 -0700 ++++ startup 2011-06-03 21:35:33.000000000 -0700 +@@ -1,8 +1,6 @@ + #!/bin/sh +-if test -z "$DBXML_HOME"; then +- DBXML_HOME=`dirname $0` +- export DBXML_HOME +-fi ++ ++DBXML_HOME=%%DBXML_HOME%% + + echo "dbXML Loader" + echo "============" +@@ -83,7 +81,7 @@ + do + RESTART= + +- java -Xbootclasspath/p:"$BOOTPATH" -classpath "$CLASSPATH" -Xms64m -Xmx384m -Ddbxml.home="$DBXML_HOME" $VMPROPS com.dbxml.db.server.Server $* & ++ %%LOCALBASE%%/bin/java -Xbootclasspath/p:"$BOOTPATH" -classpath "$CLASSPATH" -Xms64m -Xmx384m -Ddbxml.home="$DBXML_HOME" $VMPROPS com.dbxml.db.server.Server $* & + JAVA_PID=$! + wait $JAVA_PID + done |