summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2003-01-29 09:34:29 +0000
committerabs <abs@pkgsrc.org>2003-01-29 09:34:29 +0000
commit855c36cf9e2775ae429a6334c7004b07aadd3212 (patch)
tree8aa41a16dff5459e2fa4d70d0f804f7b403dadc9 /mk/bsd.pkg.mk
parent129bb80c05f7f399f621b16d7ad2c620be095bb0 (diff)
downloadpkgsrc-855c36cf9e2775ae429a6334c7004b07aadd3212.tar.gz
Set _JAVA_BASE_CLASSES to classes.zip or wre.jar in java-vm.mk, then use in
bsd.pkg.mk. We are now more wonka friendly.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 5005322ba3b..64847e4b573 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1134 2003/01/28 22:57:53 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1135 2003/01/29 09:34:29 abs Exp $
#
# This file is in the public domain.
#
@@ -677,8 +677,8 @@ MAKEFLAGS+= ${def:C/=.*//}=${_dir_${def:C/=.*//}}
# and it's value is indirectly set by EVAL_PREFIX.
#
.if defined(USE_JAVA)
-. if exists(${PKG_JAVA_HOME}/lib/classes.zip)
-_JAVA_CLASSES_ZIP= ${PKG_JAVA_HOME}/lib/classes.zip:
+. if exists(${PKG_JAVA_HOME}/lib/${_JAVA_BASE_CLASSES})
+_JAVA_CLASSES_ZIP= ${PKG_JAVA_HOME}/lib/${_JAVA_BASE_CLASSES}:
. endif
. if exists(${PKG_JAVA_HOME}/lib/tools.jar)
_JAVA_TOOLS_JAR= ${PKG_JAVA_HOME}/lib/tools.jar: