17e39f419d
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice.
31 lines
924 B
Makefile
31 lines
924 B
Makefile
# $NetBSD: buildlink3.mk,v 1.4 2018/01/07 13:04:20 rillig 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
|