summaryrefslogtreecommitdiff
path: root/lang/sun-jre14
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-jre14
parent4d0e57d92e08855a4b7f8769148221a32a077b27 (diff)
downloadpkgsrc-315ab1c3f938cb8731c60e194fac34aa3147c3db.tar.gz
bl3ify
Diffstat (limited to 'lang/sun-jre14')
-rw-r--r--lang/sun-jre14/Makefile.common4
-rw-r--r--lang/sun-jre14/buildlink3.mk23
2 files changed, 25 insertions, 2 deletions
diff --git a/lang/sun-jre14/Makefile.common b/lang/sun-jre14/Makefile.common
index 0c3d811f672..5744c467eba 100644
--- a/lang/sun-jre14/Makefile.common
+++ b/lang/sun-jre14/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2004/03/22 03:39:00 kristerw Exp $
+# $NetBSD: Makefile.common,v 1.18 2004/05/05 17:20:29 xtraeme Exp $
CATEGORIES= lang java
EXTRACT_SUFX= .bin
@@ -28,7 +28,7 @@ DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11
.endif
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
NO_MTREE= yes # since we change PREFIX
LDD= ${TRUE}
diff --git a/lang/sun-jre14/buildlink3.mk b/lang/sun-jre14/buildlink3.mk
new file mode 100644
index 00000000000..cff63081ba0
--- /dev/null
+++ b/lang/sun-jre14/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 17:20:30 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SUN_JRE14_BUILDLINK3_MK:= ${SUN_JRE14_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= sun-jre14
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jre14}
+BUILDLINK_PACKAGES+= sun-jre14
+
+.if !empty(SUN_JRE14_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sun-jre14+= sun-jre14-[0-9]*
+BUILDLINK_PKGSRCDIR.sun-jre14?= ../../lang/sun-jre14
+EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.sun-jre14=sun-jre14
+BUILDLINK_JAVA_PREFIX.sun-jre14= \
+ ${BUILDLINK_PREFIX.sun-jre14}/java/sun-1.4
+
+UNLIMIT_RESOURCES+= datasize # must be at least 131204
+.endif # SUN_JRE14_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}