openoffice-4
Eric Camachat
eric.camachat at gmail.com
Wed Dec 4 01:49:27 UTC 2013
I got the same problem, too.
Just found it tried to invoke "gcc" to compile nss even though in 10.
Could you try this patch?
Eric
On Fri, Oct 25, 2013 at 4:46 AM, Ajtim <lumiwa at gmail.com> wrote:
> Hi!
>
> Are there any chance to install OpenOffice-4 on FreeBSD 10.0-BETA1,
> please? I have all the time problem with:
> ERROR: error 65280 occurred while
> making /usr/ports/editors/openoffice-4/work/aoo-4.0.1/main/nss
>
> When you have fixed the errors in that module you can resume the build
> by running:
>
> build --from nss
>
> *** Error code 1
>
> Thank you.
>
>
> Mitja
> ---
> http://www.redbubble.com/people/lumiwa
> _______________________________________________
> freebsd-office at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-office
> To unsubscribe, send any mail to "freebsd-office-unsubscribe at freebsd.org"
>
-------------- next part --------------
Index: files/patch-nss_makefile.mk
===================================================================
diff --git a/head/editors/openoffice-4/files/patch-nss_makefile.mk b/head/editors/openoffice-4/files/patch-nss_makefile.mk
new file mode 10644
--- /dev/null (revision 0)
+++ b/head/editors/openoffice-4/files/patch-nss_makefile.mk (working copy)
@@ -0,0 +1,35 @@
+diff -purN nss/makefile.mk nss/makefile.mk
+--- nss/makefile.mk 2013-12-03 17:12:08.000000000 -0800
++++ nss/makefile.mk 2013-12-03 17:25:41.000000000 -0800
+@@ -91,6 +91,9 @@ BUILD_ACTION= $(GNUMAKE) nss_build_all
+ BUILD_ACTION+=FREEBL_NO_DEPEND=1
+ PATCH_FILES+=nss_linux.patch nspr-4.8.4-clang.patch
+ .ENDIF
++.IF "$(OS)"=="FREEBSD"
++PATCH_FILES+=nss_freebsd.patch
++.ENDIF
+
+ .ENDIF # "$(GUI)"=="UNX"
+
+diff -purN nss/nss_freebsd.patch nss/nss_freebsd.patch
+--- nss/nss_freebsd.patch 1969-12-31 16:00:00.000000000 -0800
++++ nss/nss_freebsd.patch 2013-12-03 17:22:03.000000000 -0800
+@@ -0,0 +1,18 @@
++diff -uNrp misc/nss-3.12.6/mozilla/security/coreconf/FreeBSD.mk misc/build/nss-3.12.6/mozilla/security/coreconf/FreeBSD.mk
++--- misc/nss-3.12.6/mozilla/security/coreconf/FreeBSD.mk 2013-12-03 17:14:37.000000000 -0800
+++++ misc/build/nss-3.12.6/mozilla/security/coreconf/FreeBSD.mk 2013-12-03 17:15:01.000000000 -0800
++@@ -37,10 +37,10 @@
++
++ include $(CORE_DEPTH)/coreconf/UNIX.mk
++
++-DEFAULT_COMPILER = gcc
++-CC = gcc
++-CCC = g++
++-RANLIB = ranlib
+++#DEFAULT_COMPILER = gcc
+++#CC = gcc
+++#CCC = g++
+++#RANLIB = ranlib
++
++ CPU_ARCH = $(OS_TEST)
++ ifeq ($(CPU_ARCH),i386)
Property changes on: head/editors/openoffice-4/files/patch-nss_makefile.mk
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the freebsd-office
mailing list