aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-08-08 03:35:19 +0800
committeralepulver <alepulver@FreeBSD.org>2006-08-08 03:35:19 +0800
commitcba639da7184d89927481491f2d603716581505f (patch)
tree0a92f59b3331dec714f110fa8b505fd45c5d2663 /games
parent96d6d7b8dc971f2d62d8582355bbfe79b66b8a41 (diff)
downloadfreebsd-ports-gnome-cba639da7184d89927481491f2d603716581505f.tar.gz
freebsd-ports-gnome-cba639da7184d89927481491f2d603716581505f.tar.zst
freebsd-ports-gnome-cba639da7184d89927481491f2d603716581505f.zip
- Fix building on FreeBSD 4.x.
Diffstat (limited to 'games')
-rw-r--r--games/quake2max/Makefile1
-rw-r--r--games/quake2max/files/patch-Makefile13
2 files changed, 12 insertions, 2 deletions
diff --git a/games/quake2max/Makefile b/games/quake2max/Makefile
index 5f3d8f3ce102..e74d07bddf6e 100644
--- a/games/quake2max/Makefile
+++ b/games/quake2max/Makefile
@@ -23,6 +23,7 @@ EXTRACT_DEPENDS=unrar:${PORTSDIR}/archivers/unrar
USE_BZIP2= yes
USE_GMAKE= yes
+USE_GCC= 3.2+
ALL_TARGET= release
WRKSRC= ${WRKDIR}/Quake2maX-44-src_unix
diff --git a/games/quake2max/files/patch-Makefile b/games/quake2max/files/patch-Makefile
index 923fd31cfa51..7d99279581b3 100644
--- a/games/quake2max/files/patch-Makefile
+++ b/games/quake2max/files/patch-Makefile
@@ -1,5 +1,5 @@
---- ./Makefile.orig Wed Jan 11 16:55:21 2006
-+++ ./Makefile Fri Jul 28 13:30:29 2006
+--- Makefile.orig Wed Jan 11 16:55:21 2006
++++ Makefile Mon Aug 7 16:31:23 2006
@@ -17,15 +17,16 @@
#OPTIONS
######################################
@@ -73,6 +73,15 @@
endif
$(BINDIR)/quake2max : $(QUAKE2_OBJS) $(QUAKE2_LNX_OBJS) $(QUAKE2_AS_OBJS)
+@@ -478,7 +482,7 @@
+ $(DO_DED_CC)
+
+ $(BUILDDIR)/ded/q_shared.o : $(GAME_DIR)/q_shared.c
+- $(DO_DED_DEBUG_CC)
++ $(DO_DED_CC)
+
+ $(BUILDDIR)/ded/pmove.o : $(COMMON_DIR)/pmove.c
+ $(DO_DED_CC)
@@ -579,7 +583,7 @@
$(BUILDDIR)/game/p_weapon.o \
$(BUILDDIR)/game/m_flash.o