aboutsummaryrefslogtreecommitdiff
path: root/games/quake2max
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-08-07 19:35:19 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-08-07 19:35:19 +0000
commit11fc0e4980d9a78b56a7b2f7e5c3c0fd818d6a06 (patch)
treebc44a30e8a24f8ec6c613abad03ddd7a419f93b2 /games/quake2max
parent49aabb04634d49f0920dde377e39b7844d402735 (diff)
downloadports-11fc0e4980d9a78b56a7b2f7e5c3c0fd818d6a06.tar.gz
ports-11fc0e4980d9a78b56a7b2f7e5c3c0fd818d6a06.zip
- Fix building on FreeBSD 4.x.
Notes
Notes: svn path=/head/; revision=170030
Diffstat (limited to 'games/quake2max')
-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