pkgsrc/lang/sun-jdk6/buildlink3.mk
tnn 4f40d394f8 Update lang/sun-jre6 to 6.0.3 and lang/sun-jdk6 to 6.0.4.
Please see the release notes online[1] for the list of fixed bugs.
Also, the license was wrong. There are several differences in all clauses
between the 1.3 and 6 licenses, so add the proper license files.
[1] http://java.sun.com/javase/6/webnotes/ReleaseNotes.html
2008-01-20 02:31:46 +00:00

31 lines
918 B
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2008/01/20 02:31:48 tnn Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JDK6_BUILDLINK3_MK:= ${SUN_JDK6_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= sun-jdk6
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jdk6}
BUILDLINK_PACKAGES+= sun-jdk6
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jdk6
.if !empty(SUN_JDK6_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sun-jdk6+= sun-jdk6-[0-9]*
BUILDLINK_ABI_DEPENDS.sun-jdk6?= sun-jdk6>=6.0.4
BUILDLINK_PKGSRCDIR.sun-jdk6?= ../../lang/sun-jdk6
BUILDLINK_DEPMETHOD.sun-jdk6?= build
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.sun-jre6}
BUILDLINK_CPPFLAGS.sun-jdk6= \
-I${BUILDLINK_JAVA_PREFIX.sun-jre6}/include \
-I${BUILDLINK_JAVA_PREFIX.sun-jre6}/include/linux
.include "../../lang/sun-jre6/buildlink3.mk"
.endif # SUN_JDK6_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}