Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 00:33:45 +0200
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        Don Lewis <truckman@FreeBSD.org>
Cc:        openoffice@FreeBSD.org
Subject:   Re: openoffice-1.1 won't compile on 5.2-CURRENT?
Message-ID:  <20040819003345.63105071.oliver@FreeBSD.org>
In-Reply-To: <200408182139.i7ILd731010202@gw.catspoiler.org>
References:  <20040818220153.1704d817.oliver@FreeBSD.org> <200408182139.i7ILd731010202@gw.catspoiler.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Don Lewis wrote:


> I was able to build editors/openoffice-1.1 and
> editors/openoffice-1.1-devel on 5.2-CURRENT two days ago and I don't
> think anything has changed since then.  Maybe there is a problem in the
> language-specific slave ports.


Still the same...

Configure completed
You may now run
/usr/obj/usr/ports/editors/openoffice-1.1/work/oo_1.1.2_src/bootstrap in
/usr/obj/usr/ports/editors/openoffice-1.1/work/oo_1.1.2_src
===>  Building for openoffice-1.1.2
make: don't know how to make mozilla. Stop
*** Error code 2

Stop in /usr/ports/editors/openoffice-1.1.
root@curry openoffice-1.1>

The only thing how I can get it to work is applying the attached patch.
(no, USE_SUBMAKE isn't specified in my environment ;)

root@curry openoffice-1.1> make
===>  Building for openoffice-1.1.2
===>  Extracting mozilla sub project
[...]

Can someone verify and maybe commit it?

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/

[-- Attachment #2 --]
? patch-editors::openoffice
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/ports/editors/openoffice-1.1/Makefile,v
retrieving revision 1.158
diff -u -r1.158 Makefile
--- Makefile	13 Aug 2004 22:33:25 -0000	1.158
+++ Makefile	18 Aug 2004 20:53:29 -0000
@@ -217,15 +217,13 @@
 
 .include <${FILESDIR}/Makefile.mozilla>
 
+.if !defined(WITHOUT_MOZILLA) && \
+	!exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip) && \
+	!exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip) && \
+	!exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip)
+do-build: mozilla
+.else
 do-build:
-.if !defined(WITHOUT_MOZILLA)
-.if !exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip)
-.if !exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip)
-.if !exists(${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip)
-	@${MAKE} mozilla
-.endif
-.endif
-.endif
 .endif
 .if exists(${WRKDIR}/.Xvfb.pid)
 	@-${CAT} ${WRKDIR}/.Xvfb.pid | ${XARGS} kill
Index: files/Makefile.mozilla
===================================================================
RCS file: /usr/local/cvsroot/ports/editors/openoffice-1.1/files/Makefile.mozilla,v
retrieving revision 1.1
diff -u -r1.1 Makefile.mozilla
--- files/Makefile.mozilla	31 Jul 2004 03:22:02 -0000	1.1
+++ files/Makefile.mozilla	18 Aug 2004 20:53:29 -0000
@@ -52,10 +52,4 @@
 	@cd ${WRKDIR}/mozilla-runtime ; ${FIND} . -type f \
 		| ${ZIP} ${WRKDIR}/FREEBSDGCCIruntime.zip -@
 
-mozilla:
-	@${MAKE} extract-mozilla
-	@${MAKE} patch-mozilla
-	@${MAKE} build-mozilla
-	@${MAKE} register-mozilla
-	@${MAKE} install-mozilla
-
+mozilla: extract-mozilla patch-mozilla build-mozilla register-mozilla install-mozilla

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