diff options
author | jwise <jwise@pkgsrc.org> | 2002-10-03 16:07:27 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2002-10-03 16:07:27 +0000 |
commit | 4b31d5108f1e91ab0fbd3e5d2f258281480fc8e4 (patch) | |
tree | 4bbfa258a84126ab758268a30063fecff0b6680e /mk | |
parent | 1cc2e3a66d300d89bb805d048be732a25ad224f9 (diff) | |
download | pkgsrc-4b31d5108f1e91ab0fbd3e5d2f258281480fc8e4.tar.gz |
Fix a long-standing problem with dependencies for java packages, introduced
when support for BUILD_DEPEND-only java packages was introduced -- this problem
was preventing java from being registered as a dependency for a number of java-based
packages.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 06c6c7c14bc..4b9104fbe7f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1060 2002/09/29 01:38:32 rh Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1061 2002/10/03 16:07:27 jwise Exp $ # # This file is in the public domain. # @@ -79,10 +79,10 @@ PKG_JVM?= sun-jdk PKG_JVM?= kaffe . endif . endif -. if (${USE_JAVA} == "run") -_JDK_DEPMETHOD= _UNUSED_DEPENDS -. else +. if (${USE_JAVA} == "build") _JDK_DEPMETHOD= BUILD_DEPENDS +. else +_JDK_DEPMETHOD= _UNUSED_DEPENDS . endif . if ${PKG_JVM} == "jdk" _JAVA_PKGBASE= jdk |