summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-05-05 18:12:11 +0000
committerxtraeme <xtraeme>2004-05-05 18:12:11 +0000
commite20205f821c30db5af2406cf1fa2a5b3f2f8605c (patch)
treee94f01f9fd7665f5a38521de0a3ebb60c8ad1e85 /lang
parent05e5ef59a5427aeabdad8e8336dd042ef24958d0 (diff)
downloadpkgsrc-e20205f821c30db5af2406cf1fa2a5b3f2f8605c.tar.gz
bl3ify
Diffstat (limited to 'lang')
-rw-r--r--lang/blackdown-jdk13/buildlink3.mk26
-rw-r--r--lang/blackdown-jre13/Makefile.common4
-rw-r--r--lang/blackdown-jre13/buildlink3.mk23
3 files changed, 51 insertions, 2 deletions
diff --git a/lang/blackdown-jdk13/buildlink3.mk b/lang/blackdown-jdk13/buildlink3.mk
new file mode 100644
index 00000000000..b3567c422e4
--- /dev/null
+++ b/lang/blackdown-jdk13/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 18:12:11 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+BLACKDOWN_JDK13_BUILDLINK3_MK:= ${BLACKDOWN_JDK13_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= blackdown-jdk13
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblackdown-jdk13}
+BUILDLINK_PACKAGES+= blackdown-jdk13
+
+.if !empty(BLACKDOWN_JDK13_BUILDLINK3_MK:M+)
+
+BUILDLINK_DEPENDS.blackdown-jdk13+= blackdown-jdk13-[0-9]*
+BUILDLINK_PKGSRCDIR.blackdown-jdk13?= ../../lang/blackdown-jdk13
+BUILDLINK_DEPMETHOD.blackdown-jdk13?= build
+BUILDLINK_CPPFLAGS.blackdown-jdk13= \
+ -I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include \
+ -I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include/linux
+
+.include "../../lang/blackdown-jre13/buildlink3.mk"
+
+.endif # BLACKDOWN_JDK13_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
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/+$//}