Bug 77286 - [includes fix] editors/OpenOffice-2.0-devel ignores -DWITHOUT_JAVA
Summary: [includes fix] editors/OpenOffice-2.0-devel ignores -DWITHOUT_JAVA
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-openoffice (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 01:30 UTC by Adam Weinberger
Modified: 2005-02-09 08:23 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!