[SVN-Commit] r512 - in branches/experimental/www/seamonkey2: . files
svn-freebsd-gecko at chruetertee.ch
svn-freebsd-gecko at chruetertee.ch
Sat Mar 5 20:12:30 UTC 2011
Author: andreast
Date: Sat Mar 5 20:12:22 2011
New Revision: 512
Log:
Add support for powerpc64.
Modified:
branches/experimental/www/seamonkey2/Makefile
branches/experimental/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in
Modified: branches/experimental/www/seamonkey2/Makefile
==============================================================================
--- branches/experimental/www/seamonkey2/Makefile Fri Mar 4 22:02:33 2011 (r511)
+++ branches/experimental/www/seamonkey2/Makefile Sat Mar 5 20:12:22 2011 (r512)
@@ -62,6 +62,15 @@
EXTRA_PATCHES= ${FILESDIR}/libsydney_oss
.endif
+.if ${ARCH} == powerpc64
+.if ${OSVERSION} < 900033
+BROKEN= Needs binutils 2.17.50 to build
+.else
+CONFIGURE_ENV+= UNAME_m="powerpc64"
+CFLAGS+= -mminimal-toc
+.endif
+.endif
+
MOZSRC:= ${WRKDIR}/comm-1.9.1/mozilla
WRKSRC= ${WRKDIR}/comm-1.9.1
Modified: branches/experimental/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in
==============================================================================
--- branches/experimental/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in Fri Mar 4 22:02:33 2011 (r511)
+++ branches/experimental/www/seamonkey2/files/patch-mozilla-xpcom-reflect-xptcall-src-md-unix-Makefile.in Sat Mar 5 20:12:22 2011 (r512)
@@ -1,16 +1,16 @@
---- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2009-09-17 17:14:19.000000000 +0200
-+++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2009-09-17 17:20:22.000000000 +0200
-@@ -70,6 +70,9 @@
- ifeq (Darwin,$(OS_ARCH))
+--- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2010-12-07 17:36:07.000000000 +0100
++++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2011-02-26 21:30:36.000000000 +0100
+@@ -73,6 +73,9 @@
DEFINES += -DKEEP_STACK_16_BYTE_ALIGNED
+ CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp
endif
+ifeq (x86_64,$(OS_TEST))
+CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
+endif
endif
endif
- #
-@@ -87,7 +90,7 @@
+
+@@ -96,7 +99,7 @@
endif
endif
# IA64 Linux
@@ -19,8 +19,8 @@
ifneq (,$(findstring ia64,$(OS_TEST)))
CPPSRCS := xptcinvoke_ipf64.cpp xptcstubs_ipf64.cpp
ASFILES := xptcstubs_asm_ipf64.s xptcinvoke_asm_ipf64.s
-@@ -100,6 +103,12 @@
- CPPSRCS := xptcinvoke_amd64_openbsd.cpp xptcstubs_amd64_openbsd.cpp
+@@ -115,6 +118,12 @@
+ CPPSRCS := xptcinvoke_amd64_linux.cpp xptcstubs_amd64_linux.cpp
endif
#
+# FreeBSD/amd64
@@ -32,7 +32,7 @@
# BeOS/Intel (uses the same unixish_x86 code)
#
ifeq ($(OS_ARCH)$(OS_TEST),BeOSBePC)
-@@ -150,9 +159,15 @@
+@@ -165,9 +174,15 @@
ASFILES := xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s
endif
#
@@ -49,7 +49,7 @@
CPPSRCS := xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp
endif
#
-@@ -307,7 +322,7 @@
+@@ -322,7 +337,7 @@
#
# Linux/PPC
#
@@ -58,7 +58,16 @@
CPPSRCS := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
ASFILES := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
AS := $(CC) -c -x assembler-with-cpp
-@@ -385,6 +400,15 @@
+@@ -331,7 +346,7 @@
+ #
+ # Linux/PPC64
+ #
+-ifeq ($(OS_ARCH)$(OS_TEST),Linuxpowerpc64)
++ifneq (,$(filter Linuxpowerpc64 FreeBSDpowerpc64,$(OS_ARCH)$(OS_TEST)))
+ CPPSRCS := xptcinvoke_ppc64_linux.cpp xptcstubs_ppc64_linux.cpp
+ ASFILES := xptcinvoke_asm_ppc64_linux.s xptcstubs_asm_ppc64_linux.s
+ AS := $(CC) -c -x assembler-with-cpp
+@@ -400,6 +415,15 @@
ASFILES := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s
endif
#
More information about the freebsd-gecko
mailing list