pkgsrc-wip/jdk12/buildlink2.mk
Todd Vierling 9b8b25f1ca This is Sun's Java[tm] Development Kit, version 1.2.2, made buildable
and usable natively on NetBSD/i386 by Greg Lewis and a host of others.

===== The ANNOUNCEMENT from the patchset:

This is a new set of BETA source code patches for the JDK 1.2.2 source.
These patches are unofficial and no abuse should be directed towards the
BSD Java Porting Team for them :).  This new set (patchset 11) can be
gotten from http://www.eyesbeyond.com/freebsddom/java/jdk.html (this
message is included in the downloadable tar ball as the file ANNOUNCEMENT).

Please read the file THANKS for a list of the large number of people who
should be thanked that things have gotten this far!

The main focus of this release is as follows:

1. Support for NetBSD (Scott Bartram)

2. Support for OpenBSD (Matt Behrens, Christian Gruber).

3. JPDA support for 1.2.2.
2003-04-07 16:16:07 +00:00

29 lines
823 B
Makefile

# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/07 16:16:07 tvierling Exp $
.if !defined(JDK12_BUILDLINK2_MK)
JDK12_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= jdk12
BUILDLINK_PKGBASE.jdk12?= jdk12
BUILDLINK_DEPENDS.jdk12?= jdk12-[0-9]*
BUILDLINK_PKGSRCDIR.jdk12?= ../../lang/jdk12
BUILDLINK_PREFIX.jdk12= ${LOCALBASE}
BUILDLINK_FILES_CMD.jdk12= \
${BUILDLINK_PLIST_CMD.jdk12} | \
${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \
${SED} "s,^,$${pkg_prefix},"
EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.jdk12=jdk12
BUILDLINK_JAVA_PREFIX.jdk12_DEFAULT= \
${BUILDLINK_PREFIX.jdk12}/java/jdk-1.2.2
BUILDLINK_CPPFLAGS.jdk12= \
-I${BUILDLINK_JAVA_PREFIX.jdk12}/include \
-I${BUILDLINK_JAVA_PREFIX.jdk12}/include/netbsd
BUILDLINK_TARGETS+= jdk12-buildlink
jdk12-buildlink: _BUILDLINK_USE
.endif # JDK12_BUILDLINK2_MK