summaryrefslogtreecommitdiff
path: root/lang/gcc3-java
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-09-07 03:23:16 +0000
committerdholland <dholland@pkgsrc.org>2008-09-07 03:23:16 +0000
commitd08a807a07e9d2a13678713b08f3ca253b6a81c3 (patch)
tree198ca37dc81ae87eb1f524605d024acf994f5ee9 /lang/gcc3-java
parent715854f1a1e6b70d5426e409094c0374761efc46 (diff)
downloadpkgsrc-d08a807a07e9d2a13678713b08f3ca253b6a81c3.tar.gz
And now, add some logic so if gcc declines to configure libjava, as
happens by default on amd64, the build will fail instead of silently skipping it.
Diffstat (limited to 'lang/gcc3-java')
-rw-r--r--lang/gcc3-java/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc3-java/Makefile b/lang/gcc3-java/Makefile
index 2d0b7458d1e..cf663f3e5e0 100644
--- a/lang/gcc3-java/Makefile
+++ b/lang/gcc3-java/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2008/09/07 03:14:04 dholland Exp $
+# $NetBSD: Makefile,v 1.25 2008/09/07 03:23:16 dholland Exp $
PKGNAME= gcc3${GCC3_PKGMODIF}-java-${GCC_VERSION}
COMMENT= GNU Compiler Collection, v3 - Java compiler
@@ -30,6 +30,9 @@ REPLACE_FILES.awk+= libjava/addr2name.awk
do-build:
cd ${WRKSRC}/gcc && ${SETENV} ${MAKE_ENV} ${GMAKE} java
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+ ${GMAKE} configure-target-libjava
+ [ -f ${WRKSRC}/libjava/Makefile ] || ${FALSE}
${ULIMIT_CMD_datasize}; cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${GMAKE} all-target-libjava