View | Details | Raw Unified | Return to bug 240291
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 10-16 Link Here
10
10
11
LICENSE=	APACHE20
11
LICENSE=	APACHE20
12
12
13
ONLY_FOR_ARCHS=		aarch64 amd64 armv6 armv7 i386
13
ONLY_FOR_ARCHS=		aarch64 amd64 armv6 armv7 i386 powerpc64
14
ONLY_FOR_ARCHS_REASON=	has not been ported to this platform
14
ONLY_FOR_ARCHS_REASON=	has not been ported to this platform
15
15
16
USES=	compiler gmake tar:tgz
16
USES=	compiler gmake tar:tgz
(-)files/patch-build-BSD.inc (-3 / +6 lines)
Lines 1-6 Link Here
1
--- build/BSD.inc.orig	2018-06-19 16:04:20 UTC
1
--- build/BSD.inc.orig	2019-03-21 15:28:21 UTC
2
+++ build/BSD.inc
2
+++ build/BSD.inc
3
@@ -26,17 +26,23 @@ ifndef arch
3
@@ -26,17 +26,26 @@ ifndef arch
4
         ifeq ($(shell uname -m),amd64)
4
         ifeq ($(shell uname -m),amd64)
5
                 export arch:=intel64
5
                 export arch:=intel64
6
         endif
6
         endif
Lines 10-15 Link Here
10
+        ifeq ($(shell uname -m),arm64)
10
+        ifeq ($(shell uname -m),arm64)
11
+                export arch:=arm64
11
+                export arch:=arm64
12
+        endif
12
+        endif
13
+        ifeq ($(shell uname -p),powerpc64)
14
+                export arch:=powerpc64
15
+        endif
13
 endif
16
 endif
14
 
17
 
15
 ifndef runtime
18
 ifndef runtime
Lines 27-33 Link Here
27
 debugger ?= gdb
30
 debugger ?= gdb
28
 
31
 
29
 CMD=$(SHELL) -c
32
 CMD=$(SHELL) -c
30
@@ -46,7 +52,7 @@ RD?=rmdir
33
@@ -46,7 +55,7 @@ RD?=rmdir
31
 MD?=mkdir -p
34
 MD?=mkdir -p
32
 NUL= /dev/null
35
 NUL= /dev/null
33
 SLASH=/
36
 SLASH=/
(-)files/patch-build_FreeBSD.gcc.inc (+14 lines)
Line 0 Link Here
1
--- build/FreeBSD.gcc.inc.orig	2019-03-21 15:28:21 UTC
2
+++ build/FreeBSD.gcc.inc
3
@@ -60,6 +60,11 @@ ifeq (ia64,$(arch))
4
 endif 
5
 
6
 ifeq (intel64,$(arch))
7
+    CPLUS_FLAGS += -m64
8
+    LIB_LINK_FLAGS += -m64
9
+endif 
10
+
11
+ifeq (powerpc64,$(arch))
12
     CPLUS_FLAGS += -m64
13
     LIB_LINK_FLAGS += -m64
14
 endif 

Return to bug 240291