aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-09-28 03:28:46 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-09-28 03:28:46 +0000
commitb17b17fc284b0bec51560ae2462345b8f074f50e (patch)
tree77f31d7c9f141b056fb87d7cde789d12863a3921 /editors/openoffice.org-2/Makefile
parent7b49da83b63e8aa9dd9e42cac32d4511374afef5 (diff)
Notes
Diffstat (limited to 'editors/openoffice.org-2/Makefile')
-rw-r--r--editors/openoffice.org-2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/openoffice.org-2/Makefile b/editors/openoffice.org-2/Makefile
index 5b8bf2721e9a..a17af37671bc 100644
--- a/editors/openoffice.org-2/Makefile
+++ b/editors/openoffice.org-2/Makefile
@@ -51,17 +51,19 @@ USE_BZIP2= yes
WITHOUT_CPU_CFLAGS= true
USE_JAVA= yes
-JAVA_VERSION= 1.4+
JAVA_BUILD= jdk
JAVA_VENDOR= freebsd bsdjava
.include <bsd.port.pre.mk>
-.include <${FILESDIR}/Makefile.localized>
.if (${OSVERSION} >= 700000)
-BROKEN= Build broken with JDK internal error
+JAVA_VERSION= 1.5
+.else
+JAVA_VERSION= 1.4 1.5
.endif
+.include <${FILESDIR}/Makefile.localized>
+
ONLY_FOR_ARCHS= i386 amd64
.if ${ARCH} == amd64