summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-10-24 03:54:44 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-10-24 03:54:44 +0000
commit44597bdbd241b363db6754da228043f5ebb7f32f (patch)
treefe4f8793c191eeb5c976eb520194b2ace3834176 /editors/openoffice-1.1
parent- fix unfetchable. (diff)
[1] Use bsd.java.mk 2.0 features
[2] Cosmetic clean ups (still portlint complains, though) PR: 71451 [1] Submitted by: hq [1]
Notes
Notes: svn path=/head/; revision=120060
Diffstat (limited to 'editors/openoffice-1.1')
-rw-r--r--editors/openoffice-1.1/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/editors/openoffice-1.1/Makefile b/editors/openoffice-1.1/Makefile
index 60935c0e9cb9..6ff77b698952 100644
--- a/editors/openoffice-1.1/Makefile
+++ b/editors/openoffice-1.1/Makefile
@@ -38,8 +38,9 @@ USE_GMAKE= yes
USE_REINPLACE= yes
.if !defined(WITHOUT_JAVA)
-USE_JAVA= 1.4+
-NO_RUN_DEPENDS_JAVA= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.4+
+JAVA_BUILD= jdk
.endif
.include <bsd.port.pre.mk>
@@ -74,15 +75,18 @@ RELEASE_NR= ${PORTVERSION}
INSTALLATION_BASEDIR= OpenOffice.org${RELEASE_NR}
DIST_SUBDIR= openoffice1.1
SIMPLEOSVER!= ${UNAME} -r | ${SED} -e 's/\.//g' | ${SED} -e 's/-.*//'
-.if defined(LANG_PKGNAME)
-PKGNAMEPREFIX= ${LANG_PKGNAME}-
-.endif
-.if defined(LANG_SUFFIX)
-PKGNAMESUFFIX?= -${LANG_SUFFIX}
+
+# FIXME (Somehow INDEX build fails)
+.if defined(LANG_PKGNAME)
+PKGNAMEPREFIX= ${LANG_PKGNAME}-
+.endif
+.if defined(LANG_SUFFIX)
+PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
+
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
-# FIXME
+# FIXME (correctly add ccache before gcc and g++)
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CC= ccache gcc32