FreeBSD Port: editors/openoffice.org-3-beta

Maho NAKATA chat95 at mac.com
Fri Jun 13 01:39:57 UTC 2008


From: Sven-Åke_Svensson <sas at mbg.se>
Subject: FreeBSD Port: editors/openoffice.org-3-beta
Date: Thu, 12 Jun 2008 10:56:28 +0000

> Hi
> 
> 
> I installed Openoffice 3 beta on my machine, a FreeBSD 7. After
> installation the program from ports it refuse to start. I found the
> problem in the startup script.
> 
> 
> In the file "/usr/local/bin/openoffice.org-3.0.0.b" there are a line
> like this:
> "oopath=/usr/local/openoffice.org-3.0.0.b/program/". Which point to a
> non existing directory. When I change it to
> "oopath=/usr/local/openoffice.org-3.0.0.b/openoffice.org3/program/" it
> works.

Aha, this is a bug. Does the following patch help?

Index: files/openoffice.org-wrapper
===================================================================
RCS file: /home/pcvs/ports/editors/openoffice.org-3/files/openoffice.org-wrapper,v
retrieving revision 1.3
diff -u -r1.3 openoffice.org-wrapper
--- files/openoffice.org-wrapper	20 Apr 2006 21:56:12 -0000	1.3
+++ files/openoffice.org-wrapper	13 Jun 2008 01:39:31 -0000
@@ -2,7 +2,7 @@
 #
 # $FreeBSD: ports/editors/openoffice.org-3/files/openoffice.org-wrapper,v 1.3 2006/04/20 21:56:12 maho Exp $
 
-oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/program/
+oopath=%%PREFIX%%/%%INSTALLATION_BASEDIR%%/%%OOODIR%%/program/
 program=`echo $0 | sed -e 's|.*-%%OOOVERSION%%-||'`
 
 case $program in



More information about the freebsd-openoffice mailing list