summaryrefslogtreecommitdiff
path: root/lang/blackdown-jre13
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-05-05 18:12:11 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-05-05 18:12:11 +0000
commit6cb8d0e8b550e278b1938392f56c8f7bdad58337 (patch)
treee94f01f9fd7665f5a38521de0a3ebb60c8ad1e85 /lang/blackdown-jre13
parentddc51bf082e1640688658206ff27b446859dad70 (diff)
downloadpkgsrc-6cb8d0e8b550e278b1938392f56c8f7bdad58337.tar.gz
bl3ify
Diffstat (limited to 'lang/blackdown-jre13')
-rw-r--r--lang/blackdown-jre13/Makefile.common4
-rw-r--r--lang/blackdown-jre13/buildlink3.mk23
2 files changed, 25 insertions, 2 deletions
diff --git a/lang/blackdown-jre13/Makefile.common b/lang/blackdown-jre13/Makefile.common
index 8f8f4255f31..4450e7c62fe 100644
--- a/lang/blackdown-jre13/Makefile.common
+++ b/lang/blackdown-jre13/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2004/01/20 12:19:16 agc Exp $
+# $NetBSD: Makefile.common,v 1.15 2004/05/05 18:12:11 xtraeme Exp $
#
RELVERSION= 1.3.1
@@ -45,7 +45,7 @@ CHECK_SHLIBS= NO # This would use NetBSD ldd on Linux shlibs.
JVM_HOME= ${LOCALBASE}/java/blackdown-${RELVERSION}
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
NO_MTREE= yes # since we change PREFIX
PLIST_SUBST+= BLACKDOWN_ARCH=${BLACKDOWN_ARCH}
diff --git a/lang/blackdown-jre13/buildlink3.mk b/lang/blackdown-jre13/buildlink3.mk
new file mode 100644
index 00000000000..c82dd6940cb
--- /dev/null
+++ b/lang/blackdown-jre13/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 18:12:11 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BLACKDOWN_JRE13_BUILDLINK3_MK:= ${BLACKDOWN_JRE13_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= blackdown-jre13
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblackdown-jre13}
+BUILDLINK_PACKAGES+= blackdown-jre13
+
+.if !empty(BLACKDOWN_JRE13_BUILDLINK3_MK:M+)
+
+BUILDLINK_DEPENDS.blackdown-jre13+= blackdown-jre13-[0-9]*
+BUILDLINK_PKGSRCDIR.blackdown-jre13?= ../../lang/blackdown-jre13
+EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.blackdown-jre13=blackdown-jre13
+BUILDLINK_JAVA_PREFIX.blackdown-jre13= \
+ ${BUILDLINK_PREFIX.blackdown-jre13}/java/sun-1.3.1
+
+.endif # BLACKDOWN_JRE13_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}