aboutsummaryrefslogtreecommitdiff
path: root/games/darkplaces
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-12-12 05:05:23 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-12-12 05:05:23 +0000
commit4911a31a53133791195a3b984b9895bf2f8613c5 (patch)
treead1905749f8655503f21cf210a123d2b9016836c /games/darkplaces
parentadc3aa8d24e4244d96144e64ebe69dfd82efabb0 (diff)
downloadports-4911a31a53133791195a3b984b9895bf2f8613c5.tar.gz
ports-4911a31a53133791195a3b984b9895bf2f8613c5.zip
Notes
Diffstat (limited to 'games/darkplaces')
-rw-r--r--games/darkplaces/Makefile2
-rw-r--r--games/darkplaces/distinfo6
-rw-r--r--games/darkplaces/files/patch-makefile.inc16
3 files changed, 12 insertions, 12 deletions
diff --git a/games/darkplaces/Makefile b/games/darkplaces/Makefile
index 9d099f779d6e..af6c8f409678 100644
--- a/games/darkplaces/Makefile
+++ b/games/darkplaces/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= darkplaces
-PORTVERSION= 20070711
+PORTVERSION= 20071120
CATEGORIES= games
MASTER_SITES= http://offload1.icculus.org/twilight/darkplaces/files/
DISTNAME= ${PORTNAME}engine${PORTVERSION}
diff --git a/games/darkplaces/distinfo b/games/darkplaces/distinfo
index f17653f45dbf..ffe2cf5a93f4 100644
--- a/games/darkplaces/distinfo
+++ b/games/darkplaces/distinfo
@@ -1,3 +1,3 @@
-MD5 (darkplacesengine20070711.zip) = f4144d3dfa1fa085b1d676d4e7d7fb5a
-SHA256 (darkplacesengine20070711.zip) = 00f43ef88916abb7711ce4ded48b99d7db0a38c41f5b1bd74d9f8e4c44d65327
-SIZE (darkplacesengine20070711.zip) = 9951037
+MD5 (darkplacesengine20071120.zip) = bf13095b7713a5bcb2e35ddbfecdd2b2
+SHA256 (darkplacesengine20071120.zip) = a5a06e5dd692375f8ca936841832e306838916f694dd1d8d0972ce63a97235ef
+SIZE (darkplacesengine20071120.zip) = 10272585
diff --git a/games/darkplaces/files/patch-makefile.inc b/games/darkplaces/files/patch-makefile.inc
index 701bedd4015c..f2a6afaadb55 100644
--- a/games/darkplaces/files/patch-makefile.inc
+++ b/games/darkplaces/files/patch-makefile.inc
@@ -1,5 +1,5 @@
---- ./makefile.inc.orig Sun May 20 13:02:27 2007
-+++ ./makefile.inc Wed Sep 5 17:27:31 2007
+--- makefile.inc.orig Sat Nov 10 06:34:18 2007
++++ makefile.inc Thu Nov 29 16:39:58 2007
@@ -1,5 +1,5 @@
# Choose the compiler you want to use
-CC=gcc
@@ -7,16 +7,16 @@
# athlon optimizations
#CPUOPTIMIZATIONS=-march=athlon
-@@ -164,7 +164,7 @@
+@@ -172,7 +172,7 @@
OBJ_GLX= builddate.c sys_linux.o vid_glx.o $(OBJ_SOUND) $(OBJ_CD) $(OBJ_COMMON)
LDFLAGS_UNIXCOMMON=-lm
--LDFLAGS_UNIXCL=-L$(UNIX_X11LIBPATH) -lX11 -lXext -lXxf86dga -lXxf86vm $(LIB_SOUND)
-+LDFLAGS_UNIXCL=-L$(X11BASE)/lib -lX11 -lXext -lXxf86dga -lXxf86vm $(LIB_SOUND)
+-LDFLAGS_UNIXCL=-L$(UNIX_X11LIBPATH) -lX11 -lXpm -lXext -lXxf86dga -lXxf86vm $(LIB_SOUND)
++LDFLAGS_UNIXCL=-L$(LOCALBASE)/lib -lX11 -lXpm -lXext -lXxf86dga -lXxf86vm $(LIB_SOUND)
LDFLAGS_UNIXCL_PRELOAD=-lz -ljpeg -lpng -lvorbis -lvorbisfile -lcurl
LDFLAGS_UNIXSV_PRELOAD=-lz -lcurl
LDFLAGS_UNIXSDL_PRELOAD=-lz -ljpeg -lpng -lvorbis -lvorbisfile -lcurl
-@@ -366,28 +366,28 @@
+@@ -376,28 +376,28 @@
@echo "========== $(EXE) (debug) =========="
$(MAKE) $(EXE) \
DP_MAKE_TARGET=$(DP_MAKE_TARGET) DP_SOUND_API=$(DP_SOUND_API) \
@@ -44,11 +44,11 @@
- LDFLAGS="$(LDFLAGS_RELEASE) $(LDFLAGS_COMMON)"
+ CFLAGS+="$(CFLAGS_COMMON) $(CFLAGS_EXTRA) $(CFLAGS_RELEASE) $(OPTIM_RELEASE)"\
+ LDFLAGS+="$(LDFLAGS_RELEASE) $(LDFLAGS_COMMON)"
- strip $(EXE)
+ $(STRIP) $(EXE)
vid_glx.o: vid_glx.c
- $(DO_CC) -I/usr/X11R6/include
-+ $(DO_CC) -I$(X11BASE)/include
++ $(DO_CC) -I$(LOCALBASE)/include
vid_sdl.o: vid_sdl.c
$(DO_CC) $(CFLAGS_SDL)