diff options
author | wiz <wiz@pkgsrc.org> | 2004-07-02 12:51:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-07-02 12:51:57 +0000 |
commit | c05bb42d1e709fbabebbd4c4f87921b845fe0565 (patch) | |
tree | 45d3c206d7643bc890431eb9611388f1857ca5b8 /lang/jdk | |
parent | f874363d5c9effe84b9de3958f5dd1d5206a6777 (diff) | |
download | pkgsrc-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.mk | 8 |
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/+$//} |