Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2021 01:47:50 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565282 - in head/games/ioquake3: . files
Message-ID:  <202102150147.11F1lolF030645@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Feb 15 01:47:49 2021
New Revision: 565282
URL: https://svnweb.freebsd.org/changeset/ports/565282

Log:
  games/ioquake3: fix build on powerpc64le

Modified:
  head/games/ioquake3/Makefile
  head/games/ioquake3/files/patch-Makefile

Modified: head/games/ioquake3/Makefile
==============================================================================
--- head/games/ioquake3/Makefile	Mon Feb 15 01:35:35 2021	(r565281)
+++ head/games/ioquake3/Makefile	Mon Feb 15 01:47:49 2021	(r565282)
@@ -87,7 +87,7 @@ Q3INSTALL?=
 Q3ENGINEVER?=	${DISTVERSION}
 IOQUAKE3VER=	1.36
 
-ONLY_FOR_ARCHS=	amd64 i386 powerpc64
+ONLY_FOR_ARCHS=	amd64 i386 powerpc64 powerpc64le
 
 DEBUG_VARS=		ALL_TARGET=debug
 SERVER_RUN_DEPENDS=	${Q3SERVER}${BINSUFFIX}:games/${PORTNAME}-server

Modified: head/games/ioquake3/files/patch-Makefile
==============================================================================
--- head/games/ioquake3/files/patch-Makefile	Mon Feb 15 01:35:35 2021	(r565281)
+++ head/games/ioquake3/files/patch-Makefile	Mon Feb 15 01:47:49 2021	(r565282)
@@ -151,7 +151,7 @@
    else
      CLIENT_LIBS += -lspeex
    endif
-@@ -1442,6 +1457,9 @@ ifeq ($(HAVE_VM_COMPILED),true)
+@@ -1442,12 +1461,18 @@
    ifeq ($(ARCH),x86_64)
      Q3OBJ += $(B)/client/vm_x86_64.o $(B)/client/vm_x86_64_assembler.o
    endif
@@ -161,7 +161,16 @@
    ifeq ($(ARCH),ppc)
      Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
    endif
-@@ -1591,6 +1609,9 @@ ifeq ($(HAVE_VM_COMPILED),true)
+   ifeq ($(ARCH),ppc64)
+     Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
+   endif
++  ifeq ($(ARCH),ppc64le)
++    Q3OBJ += $(B)/client/vm_powerpc.o $(B)/client/vm_powerpc_asm.o
++  endif
+   ifeq ($(ARCH),sparc)
+     Q3OBJ += $(B)/client/vm_sparc.o
+   endif
+@@ -1591,10 +1616,16 @@
    ifeq ($(ARCH),x86_64)
      Q3DOBJ += $(B)/ded/vm_x86_64.o $(B)/ded/vm_x86_64_assembler.o
    endif
@@ -171,3 +180,10 @@
    ifeq ($(ARCH),ppc)
      Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
    endif
+   ifeq ($(ARCH),ppc64)
+     Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
+   endif
++  ifeq ($(ARCH),ppc64le)
++    Q3DOBJ += $(B)/ded/vm_powerpc.o $(B)/ded/vm_powerpc_asm.o
++  endif
+   ifeq ($(ARCH),sparc)



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