summaryrefslogtreecommitdiffstats
path: root/devel/jakarta-ant/files
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-04-13 11:35:48 +0000
committerznerd <znerd@FreeBSD.org>2002-04-13 11:35:48 +0000
commit86cb03c36a7c96830c2bd2386023ceb49d4bb2cb (patch)
tree666121354916ea7b2843d4c76540b3d370e782cd /devel/jakarta-ant/files
parent345e6c03c58e3be22c2e26b3dfa0222a2f04f1e3 (diff)
downloadFreeBSD-ports-86cb03c36a7c96830c2bd2386023ceb49d4bb2cb.zip
FreeBSD-ports-86cb03c36a7c96830c2bd2386023ceb49d4bb2cb.tar.gz
Now uses ${USE_JAVA} and ${FIND}.
Using ${SED} i.s.o. ${PERL} for replacements. Made the output of the make process friendlier. Fixed the problem that JAVA_HOME had to be set. Bumped PORTREVISION. PR: 32382
Diffstat (limited to 'devel/jakarta-ant/files')
-rw-r--r--devel/jakarta-ant/files/patch-bin::ant28
1 files changed, 28 insertions, 0 deletions
diff --git a/devel/jakarta-ant/files/patch-bin::ant b/devel/jakarta-ant/files/patch-bin::ant
new file mode 100644
index 0000000..40958b1
--- /dev/null
+++ b/devel/jakarta-ant/files/patch-bin::ant
@@ -0,0 +1,28 @@
+--- bin/ant.orig Thu Oct 11 15:57:19 2001
++++ bin/ant Sat Apr 13 13:12:06 2002
+@@ -1,9 +1,16 @@
+ #! /bin/sh
+
++DEFAULT_JAVACMD=%%JAVA%%
++DEFAULT_JAVA_HOME=%%JAVA_HOME%%
++
+ if [ -f $HOME/.antrc ] ; then
+ . $HOME/.antrc
+ fi
+
++if [ -z "$JAVA_HOME" ] ; then
++ JAVA_HOME=$DEFAULT_JAVA_HOME
++fi
++
+ # OS specific support. $var _must_ be set to either true or false.
+ cygwin=false;
+ darwin=false;
+@@ -59,7 +66,7 @@
+ JAVACMD=$JAVA_HOME/bin/java
+ fi
+ else
+- JAVACMD=java
++ JAVACMD=$DEFAULT_JAVACMD
+ fi
+ fi
+
OpenPOWER on IntegriCloud