diff options
author | hubertf <hubertf@pkgsrc.org> | 2004-07-14 00:17:58 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2004-07-14 00:17:58 +0000 |
commit | d231f7af8bea7337d8e9ca35570763c38195fb91 (patch) | |
tree | d0da472f36557b5528ab40814242d311d53da15d /games/quakeforge/patches/patch-ad | |
parent | 3fba5eaf4db4d4d58b9ab47dd20c4eab10dc5016 (diff) | |
download | pkgsrc-d231f7af8bea7337d8e9ca35570763c38195fb91.tar.gz |
Add a bunch of patches to make this build on 2.0.
I have no idea why make/gmake/? passes the Makefile's "GZIP"
variable in the environment, which makes gzip(1) freak out.
Diffstat (limited to 'games/quakeforge/patches/patch-ad')
-rw-r--r-- | games/quakeforge/patches/patch-ad | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/quakeforge/patches/patch-ad b/games/quakeforge/patches/patch-ad new file mode 100644 index 00000000000..50e5c61a19e --- /dev/null +++ b/games/quakeforge/patches/patch-ad @@ -0,0 +1,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: |