summaryrefslogtreecommitdiff
path: root/lang/sun-jre13
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-05-05 17:20:29 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-05-05 17:20:29 +0000
commit315ab1c3f938cb8731c60e194fac34aa3147c3db (patch)
treeb02d49131f5989df7c112630fd9987a36630e1a9 /lang/sun-jre13
parent4d0e57d92e08855a4b7f8769148221a32a077b27 (diff)
downloadpkgsrc-315ab1c3f938cb8731c60e194fac34aa3147c3db.tar.gz
bl3ify
Diffstat (limited to 'lang/sun-jre13')
-rw-r--r--lang/sun-jre13/Makefile.common4
-rw-r--r--lang/sun-jre13/buildlink3.mk23
2 files changed, 25 insertions, 2 deletions
diff --git a/lang/sun-jre13/Makefile.common b/lang/sun-jre13/Makefile.common
index e20e681ed1b..f8c0e66544d 100644
--- a/lang/sun-jre13/Makefile.common
+++ b/lang/sun-jre13/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.19 2004/01/11 19:41:39 cjep Exp $
+# $NetBSD: Makefile.common,v 1.20 2004/05/05 17:22:51 xtraeme Exp $
# MASTER_SITES is very special, and must end in "=":
CATEGORIES= lang java
@@ -45,7 +45,7 @@ PLIST_SRC= ${PKGDIR}/PLIST.Darwin
NO_PATCH= yes # no need for patches on Linux
.endif
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
NO_MTREE= yes # since we change PREFIX
LDD= ${TRUE}
diff --git a/lang/sun-jre13/buildlink3.mk b/lang/sun-jre13/buildlink3.mk
new file mode 100644
index 00000000000..a367a4a7508
--- /dev/null
+++ b/lang/sun-jre13/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 17:22:51 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SUN_JRE13_BUILDLINK3_MK:= ${SUN_JRE13_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= sun-jre13
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jre13}
+BUILDLINK_PACKAGES+= sun-jre13
+
+.if !empty(SUN_JRE13_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sun-jre13+= sun-jre13-[0-9]*
+BUILDLINK_PKGSRCDIR.sun-jre13?= ../../lang/sun-jre13
+EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.sun-jre13=sun-jre13
+BUILDLINK_JAVA_PREFIX.sun-jre13= \
+ ${BUILDLINK_PREFIX.sun-jre13}/java/sun-1.3
+
+UNLIMIT_RESOURCES+= datasize # must be at least 131203
+.endif # SUN_JRE13_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}