diff options
author | Maho Nakata <maho@FreeBSD.org> | 2004-08-23 03:13:50 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2004-08-23 03:13:50 +0000 |
commit | 4522902afa3c91614c0ef946d6b4fb7240afb4e4 (patch) | |
tree | 547a4e55053ad9187211563533f6c7a6740967d0 /editors/openoffice.org-1.1 | |
parent | f1213a30253a67e117095a1b76082ab46e572e8d (diff) | |
download | ports-4522902afa3c91614c0ef946d6b4fb7240afb4e4.tar.gz ports-4522902afa3c91614c0ef946d6b4fb7240afb4e4.zip |
Add knob WITHOUT_JAVA (passing configure to --disable-java).
Notes
Notes:
svn path=/head/; revision=117087
Diffstat (limited to 'editors/openoffice.org-1.1')
-rw-r--r-- | editors/openoffice.org-1.1/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/editors/openoffice.org-1.1/Makefile b/editors/openoffice.org-1.1/Makefile index c057eb47d365..086b4c0990cd 100644 --- a/editors/openoffice.org-1.1/Makefile +++ b/editors/openoffice.org-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 |