summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-25 05:36:11 +0000
committernia <nia@pkgsrc.org>2021-09-25 05:36:11 +0000
commitb09235966ca08c7eafd49ee63732a9d2a9aad8e9 (patch)
treea40588153f2fb5a889a06c9da0e09beca209a6ee /games
parentd8e0fb8bac659bf0756cbfe23747fe9c25c2dfa7 (diff)
downloadpkgsrc-b09235966ca08c7eafd49ee63732a9d2a9aad8e9.tar.gz
ioquake3: set COMPILE_ARCH to QUAKE_ARCH to avoid compilation problems
Diffstat (limited to 'games')
-rw-r--r--games/ioquake3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/ioquake3/Makefile b/games/ioquake3/Makefile
index 9cdac7fea61..d6f9ee7dc02 100644
--- a/games/ioquake3/Makefile
+++ b/games/ioquake3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2021/09/08 21:05:06 nia Exp $
+# $NetBSD: Makefile,v 1.19 2021/09/25 05:36:11 nia Exp $
#
DISTNAME= ioquake3-1.36.20200125
@@ -45,6 +45,8 @@ QUAKE_ARCH= sparc
QUAKE_ARCH= ${MACHINE_ARCH}
.endif
+MAKE_FLAGS+= COMPILE_ARCH=${QUAKE_ARCH:Q}
+
PLIST_SUBST+= QUAKE_ARCH=${QUAKE_ARCH:Q}
# recursive error after: VM_CompileX86: mprotect failed