Bug 76770

Summary: openoffice-2.0-devel cannot build -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-01-27 18:50:19 UTC
	OOo-2.0-devel cannot build without java. Doing so gives:

/usr/ports/editors/openoffice-2.0-devel/work/helpcontent2/util/shared
------------------------------
Making: ../../unxfbsd.pro/misc/util.dpz
dmake  -f makefile.mk product="full" make_zip_deps=true   ../../unxfbsd.pro/misc/xhp_shared_en-US.dpzz 
echo # > ../../unxfbsd.pro/misc/xhp_shared_en-US.dpzz
type 3
cd   ../../unxfbsd.pro/misc ; zipdep.pl -u -r -prefix   ../../unxfbsd.pro/misc/  ../../unxfbsd.pro/bin/xhp_shared_en-US.zip "en-US/text/shared/*" "-x" "*.dphh*" "-x" "*.hzip" -x "*CVS*" >> /usr/ports/editors/openoffice-2.0-devel/work/helpcontent2/util/shared/../../unxfbsd.pro/misc/xhp_shared_en-US.dpzz
zipdep -- version: 1.12
Multi Platform Enabled Edition
cat   ../../unxfbsd.pro/misc/xhp_shared_en-US.dpzz  /tmp/mk9jhH35 | grep -v "CVS" >> ../../unxfbsd.pro/misc/util.dpz
echo zipdep_langs=en-US  >> ../../unxfbsd.pro/misc/util.dpz
------------------------------
Making: ../../unxfbsd.pro/misc/util.dpc
dmake subdmake=true  -f makefile.mk product="full" depend=t ALLDPC
Making : Dependencies
------------------------------
Making: ../../unxfbsd.pro/bin/xhp_shared_en-US.zip
rebuilding zipfiles
------------------------------
cd  ../../unxfbsd.pro/misc/en-US ; zip -u -r /tmp/mkXjg7wj.__en-US.zip  text/shared/* -x "*.dphh*" -x "*.hzip" -x delzip  -x "*CVS*"
../../unxfbsd.pro/misc/en-US: No such file or directory.
cp -f /tmp/mkXjg7wj.__en-US.zip  ../../unxfbsd.pro/bin/xhp_shared_en-US.zip 
cp: /tmp/mkXjg7wj.__en-US.zip: No such file or directory
dmake:  Error code 1, while making '../../unxfbsd.pro/bin/xhp_shared_en-US.zip'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-2.0-devel/work/helpcontent2/util/shared
dmake:  Error code 1, while making 'instsetoo_native/prj/build_all'
*** Error code 255

Stop in /usr/ports/editors/openoffice-2.0-devel.

Fix: 

If building without java is not supported by the OOo team, you should
make that clear in the Makefile. But, seeing as how both mozilla and
java are, in general, useless additions to OOo, I hope that I will
be able to build -DWITHOUT_MOZILLA -DWITHOUT_JAVA in the future.

For that matter, what would you guys think about having -DWITHOUT_MOZILLA
-DWITHOUT_JAVA be the default for OOo?
How-To-Repeat: make -DWITHOUT_JAVA

(it's also worth noting that -DWITHOUT_MOZILLA is broken as well,
because it doesn't know to look in /usr/local/include/nss/nss etc.
for headers).
Comment 1 Adam Weinberger freebsd_committer 2005-01-27 18:51:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->openoffice

Reassign to maintainers.
Comment 2 Maho Nakata freebsd_committer 2005-06-19 03:26:47 UTC
State Changed
From-To: open->closed

Sorry this is not supported yet. I removed this from 
files/Makefile.knobs . 
Thanks for your report.