summaryrefslogtreecommitdiff
path: root/lang/jdk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/jdk')
-rw-r--r--lang/jdk/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/jdk/buildlink3.mk b/lang/jdk/buildlink3.mk
index 923fad93e2d..6ead112d630 100644
--- a/lang/jdk/buildlink3.mk
+++ b/lang/jdk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/06/28 16:59:34 abs Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/07/02 12:51:57 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JDK_BUILDLINK3_MK:= ${JDK_BUILDLINK3_MK}+
@@ -14,6 +14,12 @@ BUILDLINK_PACKAGES+= jdk
BUILDLINK_DEPENDS.jdk+= jdk>=1.1.8
BUILDLINK_PKGSRCDIR.jdk?= ../../lang/jdk
BUILDLINK_JAVA_PREFIX.jdk= ${PREFIX}/java/jdk-1.1.8
+
+BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_JAVA_PREFIX.jdk}
+
+BUILDLINK_CPPFLAGS.jdk= \
+ -I${BUILDLINK_JAVA_PREFIX.jdk}/include \
+ -I${BUILDLINK_JAVA_PREFIX.jdk}/include/netbsd
.endif # JDK_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}