summaryrefslogtreecommitdiff
path: root/games/quakeforge/patches/patch-ac
blob: f9cc4c5c7474c7130f0839bb8641339889ec4de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.1 2004/07/14 00:17:58 hubertf Exp $

--- ruamoko/cl_menu/Makefile.am.orig	2003-06-04 22:32:10.000000000 +0200
+++ ruamoko/cl_menu/Makefile.am
@@ -9,7 +9,7 @@ QFCC_DEP=$(top_builddir)/tools/qfcc/sour
 QFCC=$(QFCC_DEP)
 QCFLAGS=-qq -g -Werror
 QCPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/ruamoko/include -I$(top_srcdir)/ruamoko/include -I$(top_builddir)/include -I$(top_srcdir)/include
-GZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
+XGZIP=if echo $@ | grep -q .gz; then gzip -f `basename $@ .gz`; if test -f `basename $@ .dat.gz`.sym; then gzip -f `basename $@ .dat.gz`.sym; fi; fi
 if HAVE_ZLIB
 GZ=.gz
 else
@@ -44,7 +44,7 @@ menu_obj=$(addsuffix .qfo,$(basename $(m
 
 menu.dat$(GZ): $(menu_obj) $(QFCC_DEP) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
 	$(QFCC) $(QCFLAGS) -p $(STRIP) -o menu.dat $(menu_obj) ../lib/libgui.a ../lib/libcsqc.a ../lib/libr.a
-	$(GZIP)
+	$(XGZIP)
 
 EXTRA_DIST= $(menu_src) \
 	Frame.h HUD.h \