This commit is contained in:
xtraeme 2004-05-05 18:04:29 +00:00
parent 43f76bf354
commit 5c6f0aa596
2 changed files with 28 additions and 2 deletions

View file

@ -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}

26
lang/wonka/buildlink3.mk Normal file
View file

@ -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/+$//}