diff options
author | jlam <jlam> | 2002-10-13 07:51:34 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-13 07:51:34 +0000 |
commit | 3c78758a314518e69dea7079317001befd97078c (patch) | |
tree | 3efae8cacbee8052c6ce241723b007c1a09a0d67 /lang/blackdown-jdk13 | |
parent | 19aa6c696acb91b06ab15ef2029d066ff3312496 (diff) | |
download | pkgsrc-3c78758a314518e69dea7079317001befd97078c.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/blackdown-jdk13')
-rw-r--r-- | lang/blackdown-jdk13/buildlink2.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lang/blackdown-jdk13/buildlink2.mk b/lang/blackdown-jdk13/buildlink2.mk new file mode 100644 index 00000000000..6b883c7ff6c --- /dev/null +++ b/lang/blackdown-jdk13/buildlink2.mk @@ -0,0 +1,27 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:34 jlam Exp $ + +.if !defined(BLACKDOWN_JDK13_BUILDLINK2_MK) +BLACKDOWN_JDK13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= blackdown-jdk13 +BUILDLINK_PKGBASE.blackdown-jdk13?= blackdown-jdk13 +BUILDLINK_DEPENDS.blackdown-jdk13?= blackdown-jdk13-[0-9]* +BUILDLINK_PKGSRCDIR.blackdown-jdk13?= ../../lang/blackdown-jdk13 + +BUILDLINK_PREFIX.blackdown-jdk13= ${LOCALBASE} +BUILDLINK_FILES_CMD.blackdown-jdk13= \ + ${BUILDLINK_PLIST_CMD.blackdown-jdk13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +BUILDLINK_CPPFLAGS.blackdown-jdk13= \ + -I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include \ + -I${BUILDLINK_JAVA_PREFIX.blackdown-jre13}/include/linux + +.include "../../lang/blackdown-jre13/buildlink2.mk" + +BUILDLINK_TARGETS+= blackdown-jdk13-buildlink + +blackdown-jdk13-buildlink: _BUILDLINK_USE + +.endif # BLACKDOWN_JDK13_BUILDLINK2_MK |