summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-02 22:10:51 +0000
committerwiz <wiz@pkgsrc.org>2004-07-02 22:10:51 +0000
commit3d8b8e502e1c683c3ffd09418cbb07e44b16711d (patch)
treeacb21d2d420bd2da0f67c23fae42eed41e51d36c /mk
parent5c33a915e88d01390315042862805caa2acd5c41 (diff)
downloadpkgsrc-3d8b8e502e1c683c3ffd09418cbb07e44b16711d.tar.gz
Remove support for buildlink2, now that all packages using this
file have been converted to buildlink3.
Diffstat (limited to 'mk')
-rw-r--r--mk/java-vm.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/mk/java-vm.mk b/mk/java-vm.mk
index 574daa87d08..f7dd64b6766 100644
--- a/mk/java-vm.mk
+++ b/mk/java-vm.mk
@@ -1,4 +1,4 @@
-# $NetBSD: java-vm.mk,v 1.27 2004/06/09 08:20:22 tron Exp $
+# $NetBSD: java-vm.mk,v 1.28 2004/07/02 22:10:51 wiz Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
@@ -272,9 +272,7 @@ EVAL_PREFIX+= _JAVA_HOME=${_JAVA_PKGBASE.${_PKG_JVM}}
# We always need a run-time dependency on the JRE.
.if defined(_JRE_PKGSRCDIR)
-. if defined(USE_BUILDLINK2) && empty(USE_BUILDLINK2:M[nN][oO])
-. include "${_JRE_PKGSRCDIR}/buildlink2.mk"
-. elif defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[Nn][Oo])
+. if defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[Nn][Oo])
. if exists(${_JRE_PKGSRCDIR}/buildlink3.mk)
. include "${_JRE_PKGSRCDIR}/buildlink3.mk"
. endif
@@ -288,9 +286,7 @@ DEPENDS+= ${_JRE_DEPENDENCY}
#
.if empty(USE_JAVA:M[rR][uU][nN])
. if defined(_JDK_PKGSRCDIR)
-. if defined(USE_BUILDLINK2) && empty(USE_BUILDLINK2:M[nN][oO])
-. include "${_JDK_PKGSRCDIR}/buildlink2.mk"
-. elif defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[Nn][Oo])
+. if defined(USE_BUILDLINK3) && empty(USE_BUILDLINK3:M[Nn][Oo])
. if exists(${_JDK_PKGSRCDIR}/buildlink3.mk)
. include "${_JDK_PKGSRCDIR}/buildlink3.mk"
. endif