summaryrefslogtreecommitdiff
path: root/games/quakeforge/patches/patch-ad
blob: 50e5c61a19ec5b20f25b6ef830e618436a8a2d72 (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-ad,v 1.1 2004/07/14 00:17:58 hubertf Exp $

--- ruamoko/cl_menu/Makefile.in.orig	2003-07-18 04:25:13.000000000 +0200
+++ ruamoko/cl_menu/Makefile.in
@@ -332,7 +332,7 @@ QFCC_DEP = $(top_builddir)/tools/qfcc/so
 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
 @HAVE_ZLIB_TRUE@GZ = .gz
 @HAVE_ZLIB_FALSE@GZ = 
 
@@ -537,7 +537,7 @@ uninstall-am: uninstall-info-am uninstal
 
 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)
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: