couple of issues with editors/openoffice-4

Andriy Gapon avg at FreeBSD.org
Fri Oct 4 09:56:54 UTC 2013


I was able to build and install the port and to use openoffice-4, so thank you
very much for that.

I encountered couple of small problems along the way, though.

First, it seems that one piece has hardcoded "gcc" in it.  This was easy to find
on a machine without gcc.
I used the following change after I ran into a build failure:
---
main/nss/unxfbsdx.pro/misc/build/nss-3.12.6/mozilla/security/coreconf/FreeBSD.mk.orig
2013-10-03 20:34:33.915725942 +0300
+++
main/nss/unxfbsdx.pro/misc/build/nss-3.12.6/mozilla/security/coreconf/FreeBSD.mk	2013-10-03
20:34:36.363285142 +0300
@@ -37,10 +37,10 @@

 include $(CORE_DEPTH)/coreconf/UNIX.mk

-DEFAULT_COMPILER	= gcc
-CC			= gcc
-CCC			= g++
-RANLIB			= ranlib
+CC			?= gcc
+DEFAULT_COMPILER	= $(CC)
+CCC			?= g++
+RANLIB			?= ranlib

 CPU_ARCH		= $(OS_TEST)
 ifeq ($(CPU_ARCH),i386)


Second, editors/openoffice-4 seems to conflict with editors/openoffice-3 as
detected by pkg(ng):
apache-openoffice-4.0.1 conflicts with apache-openoffice-3.4.1 (installs files
into the same place).  Problematic file:
/usr/local/share/icons/hicolor/128x128/mimetypes/database.png
apache-openoffice-4.0.1 conflicts with apache-openoffice-3.4.1 (installs files
into the same place).  Problematic file:
/usr/local/share/icons/hicolor/128x128/mimetypes/drawing-template.png

The above is repeated for all the icons installed into share/icons by these two
ports.

-- 
Andriy Gapon


More information about the freebsd-office mailing list