diff options
Diffstat (limited to 'devel/javadeps/patches/patch-aa')
-rw-r--r-- | devel/javadeps/patches/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/javadeps/patches/patch-aa b/devel/javadeps/patches/patch-aa index 9ef5ca495e7..ba99434310d 100644 --- a/devel/javadeps/patches/patch-aa +++ b/devel/javadeps/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/10/17 12:32:17 agc Exp $ +$NetBSD: patch-aa,v 1.2 2002/10/18 21:10:04 jlam Exp $ --- jdeps.orig Sun May 17 00:49:57 1998 +++ jdeps @@ -9,16 +9,16 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/10/17 12:32:17 agc Exp $ -# Change the value after the equals sign to the full path of the jar file. -jarFile=jdeps.jar +# The full path of the jar file. -+jarFile=/usr/pkg/share/jdeps/jdeps.jar ++jarFile=@PREFIX@/share/jdeps/jdeps.jar -# Change the value after the equals sign to the full pathname of your java -# binary, if it is not on your PATH. -java=java -+# Check if java is in the user's PATH. If not, guess /usr/pkg/java/bin. ++# Check if java is in the user's PATH. +if type java 1>/dev/null 2>&1; then + java=java +else -+ java=/usr/pkg/java/bin/java ++ java=@JAVA_HOME@/bin/java +fi # For win95, all kinds of weird things happen with make & bash if |