diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-13 07:51:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-13 07:51:34 +0000 |
commit | 5c4953978d44bb8a532ec4c5addc9c96a21dac2c (patch) | |
tree | 3efae8cacbee8052c6ce241723b007c1a09a0d67 /lang/kaffe | |
parent | de232f34b8c9a0090fca6bd7dea131acbd8bfd11 (diff) | |
download | pkgsrc-5c4953978d44bb8a532ec4c5addc9c96a21dac2c.tar.gz |
Add buildlink2.mk files for use by other package Makefiles. Each JVM
buildlink2.mk file creates a public variable "BUILDLINK_JAVA_PREFIX.<pkg>"
that may be used as the JAVA_HOME for that package.
Diffstat (limited to 'lang/kaffe')
-rw-r--r-- | lang/kaffe/buildlink2.mk | 29 |
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..43626a26b9d --- /dev/null +++ b/lang/kaffe/buildlink2.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:41 jlam 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 |