aboutsummaryrefslogtreecommitdiffstats
path: root/games/evq3
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-06-05 10:50:04 +0800
committeralepulver <alepulver@FreeBSD.org>2007-06-05 10:50:04 +0800
commit6e107906a4d451d5cf346c19c38f1255e6d7ba39 (patch)
treee823f176c060872a8cd22ad851ada5287979ce4a /games/evq3
parent0b638633024f75039bbe26896a1af1bcd1c25b73 (diff)
downloadfreebsd-ports-gnome-6e107906a4d451d5cf346c19c38f1255e6d7ba39.tar.gz
freebsd-ports-gnome-6e107906a4d451d5cf346c19c38f1255e6d7ba39.tar.zst
freebsd-ports-gnome-6e107906a4d451d5cf346c19c38f1255e6d7ba39.zip
- Change the definition DLL_ONLY -> NO_VM_COMPILED for architectures which do
not have a VM compiler in SCons files to match sources. This should fix compilation on these architectures (others than i386, amd64 and powerpc). Reported by: pointyhat
Diffstat (limited to 'games/evq3')
-rw-r--r--games/evq3/files/patch-SConscript_quake37
-rw-r--r--games/evq3/files/patch-SConscript_quake3-server7
2 files changed, 8 insertions, 6 deletions
diff --git a/games/evq3/files/patch-SConscript_quake3 b/games/evq3/files/patch-SConscript_quake3
index b19961539a6f..4ce53f8ced65 100644
--- a/games/evq3/files/patch-SConscript_quake3
+++ b/games/evq3/files/patch-SConscript_quake3
@@ -1,5 +1,5 @@
---- SConscript_quake3.orig Fri Apr 20 17:28:47 2007
-+++ SConscript_quake3 Fri Apr 20 17:51:18 2007
+--- SConscript_quake3.orig Mon Jun 4 23:40:27 2007
++++ SConscript_quake3 Mon Jun 4 23:44:57 2007
@@ -1,4 +1,4 @@
-import os, string, sys
+import os, string, sys, fnmatch
@@ -26,9 +26,10 @@
+ if env['vm'] != 0 and env['vm_archs'].count(env['arch']) > 0:
+ vm_src += ['engine/qcommon/vm_' + env['arch'] + '.c']
else:
- quake3_env.Append(CCFLAGS='-DDLL_ONLY')
+- quake3_env.Append(CCFLAGS='-DDLL_ONLY')
-
- if env['smp'] == 1:
++ quake3_env.Append(CCFLAGS='-DNO_VM_COMPILED')
+
+ if env['smp'] != 0:
quake3_env.Append(CCFLAGS='-DSMP')
diff --git a/games/evq3/files/patch-SConscript_quake3-server b/games/evq3/files/patch-SConscript_quake3-server
index 6f1e093357a2..baec1f19f2df 100644
--- a/games/evq3/files/patch-SConscript_quake3-server
+++ b/games/evq3/files/patch-SConscript_quake3-server
@@ -1,5 +1,5 @@
---- SConscript_quake3-server.orig Tue Apr 17 00:09:21 2007
-+++ SConscript_quake3-server Tue Apr 17 00:10:29 2007
+--- SConscript_quake3-server.orig Mon Jun 4 23:40:27 2007
++++ SConscript_quake3-server Mon Jun 4 23:45:22 2007
@@ -1,4 +1,4 @@
-import os, string, sys
+import os, string, sys, fnmatch
@@ -43,7 +43,8 @@
+ if env['vm'] != 0 and env['vm_archs'].count(env['arch']) > 0:
+ vm_src += ['engine/qcommon/vm_' + env['arch'] + '.c']
else:
- quake3_server_env.Append(CCFLAGS='-DDLL_ONLY')
+- quake3_server_env.Append(CCFLAGS='-DDLL_ONLY')
++ quake3_server_env.Append(CCFLAGS='-DNO_VM_COMPILED')
- quake3_server_env.Append(LIBS=['dl', 'm'])
- quake3_server_env.Program('quake3-server.x86', [quake3_server_src, unix_src, linux_src, vm_src])