ports/77286: [includes fix] OpenOffice-2.0-devel ignores -DWITHOUT_JAVA

Adam Weinberger adamw at FreeBSD.org
Wed Feb 9 01:30:20 UTC 2005


>Number:         77286
>Category:       ports
>Synopsis:       [includes fix] OpenOffice-2.0-devel ignores -DWITHOUT_JAVA
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 09 01:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Adam Weinberger
>Release:        FreeBSD 4.11-RC2 i386
>Organization:
>Environment:
5-stable jail built from today's sources

	
>Description:
	
	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.
>How-To-Repeat:
>Fix:

	In files/Makefile.knobs, change the --disable-java to --without-java.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list