pkgsrc/lang/oracle-jdk8/buildlink3.mk
rillig 17e39f419d Fix indentation in buildlink3.mk files.
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.
2018-01-07 13:03:53 +00:00

31 lines
989 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2018/01/07 13:04:20 rillig Exp $
BUILDLINK_TREE+= oracle-jdk8
.if !defined(ORACLE_JDK8_BUILDLINK3_MK)
ORACLE_JDK8_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.oracle-jdk8+= oracle-jdk8-[0-9]*
BUILDLINK_ABI_DEPENDS.oracle-jdk8+= oracle-jdk8>=8.0.45
BUILDLINK_PKGSRCDIR.oracle-jdk8?= ../../lang/oracle-jdk8
BUILDLINK_DEPMETHOD.oracle-jdk8?= build
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.oracle-jre8}
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "SunOS"
BUILDLINK_CPPFLAGS.oracle-jdk8= \
-I${BUILDLINK_JAVA_PREFIX.oracle-jre8}/include \
-I${BUILDLINK_JAVA_PREFIX.oracle-jre8}/include/solaris
.else
BUILDLINK_CPPFLAGS.oracle-jdk8= \
-I${BUILDLINK_JAVA_PREFIX.oracle-jre8}/include \
-I${BUILDLINK_JAVA_PREFIX.oracle-jre8}/include/linux
.endif
BUILDLINK_DEPMETHOD.oracle-jre8?= ${BUILDLINK_DEPMETHOD.oracle-jdk8}
.include "../../lang/oracle-jre8/buildlink3.mk"
.endif # ORACLE_JDK8_BUILDLINK3_MK
BUILDLINK_TREE+= -oracle-jdk8