summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-05-05 18:04:29 +0000
committerxtraeme <xtraeme>2004-05-05 18:04:29 +0000
commitd1c7eab8bfae8898b1eb18391fc425fb41b80891 (patch)
tree2cac14a41d8aab346d12170053760975a1b17161 /lang
parentf2d63dedd6a7a42491e68adbe406da2e9a516b26 (diff)
downloadpkgsrc-d1c7eab8bfae8898b1eb18391fc425fb41b80891.tar.gz
bl3ify
Diffstat (limited to 'lang')
-rw-r--r--lang/wonka/Makefile4
-rw-r--r--lang/wonka/buildlink3.mk26
2 files changed, 28 insertions, 2 deletions
diff --git a/lang/wonka/Makefile b/lang/wonka/Makefile
index a72da0925f0..81433d99212 100644
--- a/lang/wonka/Makefile
+++ b/lang/wonka/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/01/20 12:19:18 agc Exp $
+# $NetBSD: Makefile,v 1.15 2004/05/05 18:04:29 xtraeme Exp $
#
DISTNAME= wonka-src-0.9.6-release
@@ -19,7 +19,7 @@ BUILD_DEPENDS+= jikes>=1.18:../../lang/jikes
BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
WRKSRC= ${WRKDIR}/open-wonka
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_X11= # defined
JVM_HOME= ${LOCALBASE}/java/${PKGBASE}
diff --git a/lang/wonka/buildlink3.mk b/lang/wonka/buildlink3.mk
new file mode 100644
index 00000000000..7f5c82b0fda
--- /dev/null
+++ b/lang/wonka/buildlink3.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/05 18:04:29 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+WONKA_BUILDLINK3_MK:= ${WONKA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= wonka
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwonka}
+BUILDLINK_PACKAGES+= wonka
+
+.if !empty(WONKA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.wonka+= wonka-[0-9]*
+BUILDLINK_PKGSRCDIR.wonka?= ../../lang/wonka
+EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.wonka=wonka
+BUILDLINK_JAVA_PREFIX.wonka_DEFAULT= \
+ ${BUILDLINK_PREFIX.wonka}/java/wonka
+
+BUILDLINK_CPPFLAGS.wonka= \
+ -I${BUILDLINK_JAVA_PREFIX.wonka}/include \
+ -I${BUILDLINK_JAVA_PREFIX.wonka}/include/wonka
+
+.endif # WONKA_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}