From d1c7eab8bfae8898b1eb18391fc425fb41b80891 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 5 May 2004 18:04:29 +0000 Subject: bl3ify --- lang/wonka/Makefile | 4 ++-- lang/wonka/buildlink3.mk | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 lang/wonka/buildlink3.mk (limited to 'lang') 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/+$//} -- cgit v1.2.3