summaryrefslogtreecommitdiff
path: root/editors/openoffice-1.1/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-08-23 03:13:50 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-08-23 03:13:50 +0000
commit4522902afa3c91614c0ef946d6b4fb7240afb4e4 (patch)
tree547a4e55053ad9187211563533f6c7a6740967d0 /editors/openoffice-1.1/Makefile
parentThis is a VCP destination driver for svn repositories (diff)
Add knob WITHOUT_JAVA (passing configure to --disable-java).
Notes
Notes: svn path=/head/; revision=117087
Diffstat (limited to '')
-rw-r--r--editors/openoffice-1.1/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/editors/openoffice-1.1/Makefile b/editors/openoffice-1.1/Makefile
index c057eb47d365..086b4c0990cd 100644
--- a/editors/openoffice-1.1/Makefile
+++ b/editors/openoffice-1.1/Makefile
@@ -77,8 +77,10 @@ CC= gcc32
CXX= g++32
.endif
-BUILD_DEPENDS+= ${JDKDIR}/bin/java:${PORTSDIR}/java/jdk14 \
- zip:${PORTSDIR}/archivers/zip \
+.if !defined(WITHOUT_JAVA)
+BUILD_DEPENDS+= ${JDKDIR}/bin/java:${PORTSDIR}/java/jdk14
+.endif
+BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
unzip:${PORTSDIR}/archivers/unzip \
gcp:${PORTSDIR}/sysutils/coreutils \
${ANT}:${PORTSDIR}/devel/apache-ant \
@@ -108,7 +110,12 @@ DISPLAYHACK=localhost:1001
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
PTHREAD_LIBS=${PTHREAD_LIBS}
-CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-jdk-home=${JDKDIR}
+CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp
+.if defined(WITHOUT_JAVA)
+CONFIGURE_ARGS+= --disable-java
+.else
+CONFIGURE_ARGS+= --with-jdk-home=${JDKDIR}
+.endif
.if defined(WITHOUT_MOZILLA)
CONFIGURE_ARGS+= --disable-mozilla
.endif