aboutsummaryrefslogtreecommitdiff
path: root/databases/dbXML/files/patch-ac
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-03-30 11:48:54 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-03-30 11:48:54 +0000
commit7f019c034b5c8f506a627231cc8b946ec9cec22b (patch)
tree965f36e5cc12b26cbb1bfab662a2b102dc262d7b /databases/dbXML/files/patch-ac
parent9c9ff89b5f16a4a541815186d9281a0fcf21b5cf (diff)
downloadports-7f019c034b5c8f506a627231cc8b946ec9cec22b.tar.gz
ports-7f019c034b5c8f506a627231cc8b946ec9cec22b.zip
Correcting some problems in the control script
and adding a pkg-deinstall and another patch. Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=56941
Diffstat (limited to 'databases/dbXML/files/patch-ac')
-rw-r--r--databases/dbXML/files/patch-ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/dbXML/files/patch-ac b/databases/dbXML/files/patch-ac
new file mode 100644
index 000000000000..b4275bd63d6e
--- /dev/null
+++ b/databases/dbXML/files/patch-ac
@@ -0,0 +1,17 @@
+--- 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`