openbsd-ports/devel/apache-ant/patches/patch-bin_ant
sturm 4c8408aa67 former jakarta-ant is now apache-ant
from new maintainer Kurt Miller <truk at apache dot org>
no response from reinhard@ in a long time
2004-01-03 13:40:03 +00:00

29 lines
687 B
Plaintext

$OpenBSD: patch-bin_ant,v 1.1.1.1 2004/01/03 13:40:03 sturm Exp $
--- bin/ant.orig 2003-12-18 15:12:18.000000000 -0500
+++ bin/ant 2003-12-23 04:25:08.000000000 -0500
@@ -35,14 +35,7 @@ case "`uname`" in
esac
if [ -z "$ANT_HOME" -o ! -d "$ANT_HOME" ] ; then
- # try to find ANT
- if [ -d /opt/ant ] ; then
- ANT_HOME=/opt/ant
- fi
-
- if [ -d "${HOME}/opt/ant" ] ; then
- ANT_HOME="${HOME}/opt/ant"
- fi
+ ANT_HOME=_anthome_
## resolve links - $0 may be a link to ant's home
PRG="$0"
@@ -74,7 +67,7 @@ if $cygwin ; then
fi
# set ANT_LIB location
-ANT_LIB="${ANT_HOME}/lib"
+ANT_LIB="_antlibs_"
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then