summaryrefslogtreecommitdiff
path: root/databases/dbXML/files/patch-bin-dbxml
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2011-06-07 05:39:08 +0000
committerGreg Lewis <glewis@FreeBSD.org>2011-06-07 05:39:08 +0000
commitbf72e81a1f4fe8fce80d897ea1624594b460988c (patch)
tree5eacd0ff22e7285947526078b24a14dea3c27054 /databases/dbXML/files/patch-bin-dbxml
parentConditionally 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-bin-dbxml')
-rw-r--r--databases/dbXML/files/patch-bin-dbxml21
1 files changed, 21 insertions, 0 deletions
diff --git a/databases/dbXML/files/patch-bin-dbxml b/databases/dbXML/files/patch-bin-dbxml
new file mode 100644
index 000000000000..0c77a61b0329
--- /dev/null
+++ b/databases/dbXML/files/patch-bin-dbxml
@@ -0,0 +1,21 @@
+$FreeBSD$
+
+--- bin/dbxml.orig 2011-06-01 22:00:39.000000000 -0700
++++ bin/dbxml 2011-06-01 22:05:21.000000000 -0700
+@@ -1,9 +1,6 @@
+ #!/bin/sh
+
+-if test -z "$DBXML_HOME"; then
+- echo "\$DBXML_HOME Is Not Set"
+- exit
+-fi
++DBXML_HOME=%%DBXML_HOME%%
+
+ CMD_NAME=`basename $0`
+
+@@ -47,4 +44,4 @@
+ fi
+ fi
+
+-java -classpath "$CLASSPATH" -Xms16m -Xmx128m -Ddbxml.home="$DBXML_HOME" $VMPROPS $CLASS_NAME $*
++%%LOCALBASE%%/bin/java -classpath "$CLASSPATH" -Xms16m -Xmx128m -Ddbxml.home="$DBXML_HOME" $VMPROPS $CLASS_NAME $*