ports/databases/dbXML/files/patch-ac
Ernst de Haan 7f019c034b Correcting some problems in the control script
and adding a pkg-deinstall and another patch.

Submitted by:	maintainer
2002-03-30 11:48:54 +00:00

17 lines
386 B
Text

--- bin/dbxml.orig Mon Sep 24 21:50:14 2001
+++ bin/dbxml Mon Oct 22 02:08:32 2001
@@ -1,8 +1,12 @@
#!/bin/sh
-if test -z $DBXML_HOME; then
- echo "\$DBXML_HOME Is Not Set"
+DBXML_HOME=%%PREFIX%%/share/java/dbXML
+
+if test -z $JAVA_HOME; then
+ echo "Warning: JAVA_HOME environment variable is not set."
exit
+else
+ PATH=$JAVA_HOME/bin:$PATH
fi
CMD_HOME=`dirname $0`