From owner-cvs-all Sat Feb 1 2:17:53 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9261D37B401; Sat, 1 Feb 2003 02:17:52 -0800 (PST) Received: from cirb503493.alcatel.com.au (c18609.belrs1.nsw.optusnet.com.au [210.49.80.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB15643F43; Sat, 1 Feb 2003 02:17:49 -0800 (PST) (envelope-from peterjeremy@optushome.com.au) Received: from cirb503493.alcatel.com.au (localhost.alcatel.com.au [127.0.0.1]) by cirb503493.alcatel.com.au (8.12.5/8.12.5) with ESMTP id h11AHjLZ034769; Sat, 1 Feb 2003 21:17:45 +1100 (EST) (envelope-from jeremyp@cirb503493.alcatel.com.au) Received: (from jeremyp@localhost) by cirb503493.alcatel.com.au (8.12.6/8.12.5/Submit) id h11AHi7N034768; Sat, 1 Feb 2003 21:17:45 +1100 (EST) Date: Sat, 1 Feb 2003 21:17:44 +1100 From: Peter Jeremy To: Martin Blapp Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/editors/openoffice Makefile ports/editors/openoffice/files patch-berkeleydb+db-3.2.9.patch patch-config_office+configure.in patch-config_office+setsoenv.in Message-ID: <20030201101744.GI88010@cirb503493.alcatel.com.au> References: <200301251955.h0PJt9P4061608@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301251955.h0PJt9P4061608@repoman.freebsd.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jan 25, 2003 at 11:55:09AM -0800, Martin Blapp wrote: >mbr 2003/01/25 11:55:09 PST > > Modified files: > editors/openoffice Makefile > editors/openoffice/files patch-berkeleydb+db-3.2.9.patch > patch-config_office+configure.in > Added files: > editors/openoffice/files patch-config_office+setsoenv.in > Log: > Use the linux JDK for the build, which hopefully fixes the > build on bento. Add required patches to support this change. > If WITH_BSD_JDK is set, the original native JDK is used. I can't get openoffice to build with or without WITH_BSD_JDK. (I have the native JDK but not the Linux JDK installed). With WITH_BSD_JDK, openoffice dies in /home/ports/editors/openoffice/work/mozilla/work/mozilla/htmlparser/src trying to compile COtherDTD.cpp, the error being: In file included from COtherDTD.cpp:97: COtherElements.h: In member function `void CElementTable::DebugDumpInlineElements(const char*)': COtherElements.h:2495: cannot pass objects of non-POD type `class NS_ConvertUCS2toUTF8' through `...' Without WITH_BSD_JDK, make defines JAVAVM as ${LOCALBASE}/linux-sun-jdk1.3.1/bin/java (which is correct), but includes a depends line: BUILD_DEPENDS+= ${JAVAVM}:${PORTSDIR}/java/jdk13 so when it fails to find the linux JDK, it proceeds to build the native JDK - which it can't install because it's already installed. Shouldn't it be trying to build the linux JDK in this case? Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message