summaryrefslogtreecommitdiff
path: root/lang/jdk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-02 12:51:57 +0000
committerwiz <wiz@pkgsrc.org>2004-07-02 12:51:57 +0000
commitc05bb42d1e709fbabebbd4c4f87921b845fe0565 (patch)
tree45d3c206d7643bc890431eb9611388f1857ca5b8 /lang/jdk
parentf874363d5c9effe84b9de3958f5dd1d5206a6777 (diff)
downloadpkgsrc-c05bb42d1e709fbabebbd4c4f87921b845fe0565.tar.gz
Add appropriate CPPFLAGS and PASSTHRU_DIRS variables so that packages
depending on this one can find the header files. Noted broken by snj.
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/+$//}