summaryrefslogtreecommitdiff
path: root/games/quake3/files/patch-lcc-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake3/files/patch-lcc-makefile')
-rw-r--r--games/quake3/files/patch-lcc-makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/quake3/files/patch-lcc-makefile b/games/quake3/files/patch-lcc-makefile
new file mode 100644
index 000000000000..f5bf35620127
--- /dev/null
+++ b/games/quake3/files/patch-lcc-makefile
@@ -0,0 +1,12 @@
+diff -ruN ./lcc/makefile ../quake3-1.32b-BUILT/./lcc/makefile
+--- ./lcc/makefile Wed Oct 17 23:53:10 2001
++++ ../quake3-1.32b-BUILT/./lcc/makefile Mon Aug 22 20:59:15 2005
+@@ -136,7 +136,7 @@
+
+ $Blcc$E: $Blcc$O $Bhost$O; $(LD) $(LDFLAGS) -o $@ $Blcc$O $Bhost$O
+
+-SYSTEM=$(shell cc -print-search-dirs | head -n 1 | cut -b 10-)
++SYSTEM=/usr/lib
+
+ $Blcc$O: etc/lcc.c; $(CC) $(CFLAGS) -c -DTEMPDIR=\"$(TEMPDIR)\" -o $@ etc/lcc.c
+ $Bhost$O: $(HOSTFILE); $(CC) $(CFLAGS) -c -DSYSTEM=\"$(SYSTEM)\" -o $@ $(HOSTFILE)