svn commit: r562628 - head/games/openarena/files
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jan 26 02:10:36 UTC 2021
Author: pkubaj
Date: Tue Jan 26 02:10:35 2021
New Revision: 562628
URL: https://svnweb.freebsd.org/changeset/ports/562628
Log:
games/openarena-server: fix build on powerpc64le
Add conditionals for powerpc64le to Makefile.
Modified:
head/games/openarena/files/patch-Makefile
Modified: head/games/openarena/files/patch-Makefile
==============================================================================
--- head/games/openarena/files/patch-Makefile Tue Jan 26 01:34:20 2021 (r562627)
+++ head/games/openarena/files/patch-Makefile Tue Jan 26 02:10:35 2021 (r562628)
@@ -11,6 +11,16 @@
ifeq ($(COMPILE_PLATFORM),mingw32)
ifeq ($(COMPILE_ARCH),i386)
+@@ -70,6 +74,9 @@
+ ifeq ($(COMPILE_ARCH),powerpc64)
+ COMPILE_ARCH=ppc64
+ endif
++ifeq ($(COMPILE_ARCH),powerpc64le)
++ COMPILE_ARCH=ppc64le
++endif
+
+ ifndef ARCH
+ ARCH=$(COMPILE_ARCH)
@@ -205,6 +209,8 @@ ifneq ($(BUILD_CLIENT),0)
OPENAL_LIBS=$(shell pkg-config --silence-errors --libs openal)
SDL_CFLAGS=$(shell pkg-config --silence-errors --cflags sdl|sed 's/-Dmain=SDL_main//')
@@ -81,7 +91,7 @@
else
CLIENT_LIBS += -lspeex -lspeexdsp
endif
-@@ -1564,7 +1573,7 @@ ifeq ($(HAVE_VM_COMPILED),true)
+@@ -1564,9 +1576,12 @@
ifeq ($(ARCH),ppc)
Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
endif
@@ -89,13 +99,21 @@
+ ifeq ($(COMPILE_ARCH),ppc64)
Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
endif
++ ifeq ($(COMPILE_ARCH),ppc64le)
++ Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
++ endif
ifeq ($(ARCH),sparc)
-@@ -1732,7 +1741,7 @@ ifeq ($(HAVE_VM_COMPILED),true)
+ Q3OBJ += $(B)/client/vm_sparc.o
+ endif
+@@ -1732,7 +1747,10 @@
ifeq ($(ARCH),ppc)
Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
endif
- ifeq ($(ARCH),ppc64)
+ ifeq ($(COMPILE_ARCH),ppc64)
++ Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
++ endif
++ ifeq ($(COMPILE_ARCH),ppc64le)
Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
endif
ifeq ($(ARCH),sparc)
More information about the svn-ports-all
mailing list