Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2011 17:30:04 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        chat95@mac.com
Cc:        lstewart@FreeBSD.org, freebsd-ports@FreeBSD.org, openoffice@FreeBSD.org
Subject:   Re: OO 3.3.0 fails to build "moz" module on amd64 8-STABLE
Message-ID:  <201106070030.p570U46N097257@gw.catspoiler.org>
In-Reply-To: <20110508.221235.1049390459241955982.chat95@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On  8 May, Maho NAKATA wrote:
> Hi
> 
> Thanks for your report. I'm aware of this issue, since my OOo build
> is broken at the same place. Sorry and I don't have a clue yet, but,
> I guess from folllowing error message, somehow moz module
> invoke make instead gmake.
>> Makefile:83: *** missing separator.  Stop.

Actually, I think a gmake update is causing this problem.  See this
OpenOffice.org ticket:
<http://openoffice.org/bugzilla/show_bug.cgi?id=114323>;

It looks like it's fixed in OOo 3.4, but in the meantime I've been able
to build 3.3 with the following patch (from Comment #1 on the ticket)
added to the files/ directory for the port:

=======================================
--- moz/makefile.mk.orig	2011-01-18 05:34:25.000000000 -0800
+++ moz/makefile.mk	2011-04-29 16:04:37.000000000 -0700
@@ -86,7 +86,8 @@
     patches/dtoa.patch \
     patches/respect_disable_pango.patch \
     patches/arm_build_fix.patch \
-    patches/link_fontconfig.patch
+    patches/link_fontconfig.patch \
+    patches/brokenmakefile.patch
 
 # This file is needed for the W32 build when BUILD_MOZAB is set
 # (currently only vc8/vs2005 is supported when BUILD_MOZAB is set)
--- /dev/null	2011-04-29 16:00:00.000000000 -0700
+++ moz/patches/brokenmakefile.patch	2011-04-29 16:04:55.000000000 -0700
@@ -0,0 +1,13 @@
+--- misc/mozilla/mailnews/extensions/smime/build/Makefile.in	2010-09-04 16:00:38.000000000 +0100
++++ misc/build/mozilla/mailnews/extensions/smime/build/Makefile.in	2010-09-04 16:02:24.000000000 +0100
+@@ -79,10 +79,6 @@
+ 		$(DIST)/lib/$(LIB_PREFIX)msgsmime_s.$(LIB_SUFFIX) \
+ 		$(NULL)
+ 
+-ifndef MOZ_STATIC_MAIL_BUILD
+-SHARED_LIBRARY_LIBS + = $(DIST)/lib/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
+-endif
+-
+ EXTRA_DSO_LDOPTS = \
+ 		$(LIBS_DIR) \
+ 		$(EXTRA_DSO_LIBS) \
=======================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106070030.p570U46N097257>