blob: ca0d4efa39ff257050ed6bd3ebcf56c1e48d101b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: buildlink3.mk,v 1.3 2013/10/16 16:48:55 richard Exp $
BUILDLINK_TREE+= sun-jdk7
.if !defined(SUN_JDK7_BUILDLINK3_MK)
SUN_JDK7_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.sun-jdk7+= sun-jdk7-[0-9]*
BUILDLINK_ABI_DEPENDS.sun-jdk7+= sun-jdk7>=7.0.9
BUILDLINK_PKGSRCDIR.sun-jdk7?= ../../lang/sun-jdk7
BUILDLINK_DEPMETHOD.sun-jdk7?= build
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.sun-jre7}
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_CPPFLAGS.sun-jdk7= \
-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include \
-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include/solaris
.else
BUILDLINK_CPPFLAGS.sun-jdk7= \
-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include \
-I${BUILDLINK_JAVA_PREFIX.sun-jre7}/include/linux
.endif
BUILDLINK_DEPMETHOD.sun-jre7?= ${BUILDLINK_DEPMETHOD.sun-jdk7}
.include "../../lang/sun-jre7/buildlink3.mk"
.endif # SUN_JDK7_BUILDLINK3_MK
BUILDLINK_TREE+= -sun-jdk7
|