summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordholland <dholland>2008-09-07 05:12:58 +0000
committerdholland <dholland>2008-09-07 05:12:58 +0000
commit9ef0861f79f8101f128e166b8cd2fcbe3fa7f08e (patch)
tree9ea236cf632c5289e4ed3b18bd1aca058dc8c85d /lang
parent49aacec808ad8640887a06e875f7498e03049d11 (diff)
downloadpkgsrc-9ef0861f79f8101f128e166b8cd2fcbe3fa7f08e.tar.gz
Refine previous slightly; it can now actually configure libjava
library, and it might build for i386, although x86_64 is still pretty broken.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc3-java/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc3-java/Makefile b/lang/gcc3-java/Makefile
index cf663f3e5e0..54325ba13e2 100644
--- a/lang/gcc3-java/Makefile
+++ b/lang/gcc3-java/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2008/09/07 03:23:16 dholland Exp $
+# $NetBSD: Makefile,v 1.26 2008/09/07 05:12:58 dholland Exp $
PKGNAME= gcc3${GCC3_PKGMODIF}-java-${GCC_VERSION}
COMMENT= GNU Compiler Collection, v3 - Java compiler
@@ -31,8 +31,9 @@ REPLACE_FILES.awk+= libjava/addr2name.awk
do-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} java
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ GCC_FOR_TARGET=gcc \
${GMAKE} configure-target-libjava
- [ -f ${WRKSRC}/libjava/Makefile ] || ${FALSE}
+ [ -f ${WRKSRC}/${GCC_PLATFORM}/libjava/Makefile ] || ${FALSE}
${ULIMIT_CMD_datasize}; cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${GMAKE} all-target-libjava