summaryrefslogtreecommitdiff
path: root/lang/kaffe
diff options
context:
space:
mode:
authorwiz <wiz>2004-04-25 11:40:38 +0000
committerwiz <wiz>2004-04-25 11:40:38 +0000
commitbaa9587743d006a1698206127c06862b9afc3a2d (patch)
tree6e3d5b8b6791c857e422d253a4d91b07f61f07d8 /lang/kaffe
parentb57001e4010b75de2c6174139992da47bc746b13 (diff)
downloadpkgsrc-baa9587743d006a1698206127c06862b9afc3a2d.tar.gz
Re-add, still used by java-vm.mk. Noted by xtraeme.
Diffstat (limited to 'lang/kaffe')
-rw-r--r--lang/kaffe/buildlink2.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/kaffe/buildlink2.mk b/lang/kaffe/buildlink2.mk
new file mode 100644
index 00000000000..432abee4824
--- /dev/null
+++ b/lang/kaffe/buildlink2.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink2.mk,v 1.3 2004/04/25 11:40:38 wiz Exp $
+
+.if !defined(KAFFE_BUILDLINK2_MK)
+KAFFE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= kaffe
+BUILDLINK_PKGBASE.kaffe?= kaffe
+BUILDLINK_DEPENDS.kaffe?= kaffe-[0-9]*
+BUILDLINK_PKGSRCDIR.kaffe?= ../../lang/kaffe
+
+BUILDLINK_PREFIX.kaffe= ${LOCALBASE}
+BUILDLINK_FILES_CMD.kaffe= \
+ ${BUILDLINK_PLIST_CMD.kaffe} | \
+ ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \
+ ${SED} "s,^,$${pkg_prefix},"
+
+EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.kaffe=kaffe
+BUILDLINK_JAVA_PREFIX.kaffe_DEFAULT= \
+ ${BUILDLINK_PREFIX.kaffe}/java/kaffe
+
+BUILDLINK_CPPFLAGS.kaffe= \
+ -I${BUILDLINK_JAVA_PREFIX.kaffe}/include \
+ -I${BUILDLINK_JAVA_PREFIX.kaffe}/include/kaffe
+
+BUILDLINK_TARGETS+= kaffe-buildlink
+
+kaffe-buildlink: _BUILDLINK_USE
+
+.endif # KAFFE_BUILDLINK2_MK