pkgsrc-wip/jdk14/buildlink3.mk
Jeremy C. Reed 37f815a375 Change BUILDLINK_DEPENDS.foo to BUILDLINK_API_DEPENDS.foo.
Change BUILDLINK_RECOMMENDED.foo to BUILDLINK_ABI_DEPENDS.foo.

As discussed on tech-pkg.
2006-04-06 07:16:55 +00:00

27 lines
780 B
Makefile

# $NetBSD: buildlink3.mk,v 1.5 2006/04/06 07:17:27 jeremy-c-reed Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JDK14_BUILDLINK3_MK:= ${JDK14_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= jdk14
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njdk14}
BUILDLINK_PACKAGES+= jdk14
.if !empty(JDK14_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jdk14+= jdk14>=1.4.2.6
BUILDLINK_PKGSRCDIR.jdk14?= ../../wip/jdk14
BUILDLINK_JAVA_PREFIX.jdk14= ${PREFIX}/java/jdk-1.4.2
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.jdk14}
BUILDLINK_CPPFLAGS.jdk14= \
-I${BUILDLINK_JAVA_PREFIX.jdk14}/include \
-I${BUILDLINK_JAVA_PREFIX.jdk14}/include/netbsd
.endif # JDK14_BUILDLINK3_MK
.include "../../mk/x11.buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}