Bug 77286

Summary: [includes fix] editors/OpenOffice-2.0-devel ignores -DWITHOUT_JAVA
Product: Ports & Packages Reporter: Adam Weinberger <adamw>
Component: Individual Port(s)Assignee: freebsd-openoffice (Nobody) <openoffice>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Adam Weinberger freebsd_committer 2005-02-09 01:30:18 UTC
	
	In a completely fresh jail, i.e. nothing in /usr/local/ or /usr/X11R6/,
	run make -DWITHOUT_JAVA configure

	configure barfs with:
	checking whether to build with Java support... yes
	checking for java... no
	checking the installed JDK... configure: error: JAVA not found. You need at least jdk-1.3, Kaffee 1.01, or gcj
	===>  Script "configure" failed unexpectedly.

	But, even if java is installed, attempting to build -DWITHOUT_JAVA
	fails in configure, because OOo2 attempts to run some command with
	/usr/local/bin/ant, which then wedges.

	This is because configure is being passed --disable-java, but
	OOo2 switched to wanting --without-java.

Fix: 

In files/Makefile.knobs, change the --disable-java to --without-java.
Comment 1 Adam Weinberger freebsd_committer 2005-02-09 01:30:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Over to maintainers.
Comment 2 Maho Nakata freebsd_committer 2005-02-09 08:23:16 UTC
State Changed
From-To: open->closed

Committed thanks!