summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-08-30 04:55:45 +0000
committerlioux <lioux@FreeBSD.org>2002-08-30 04:55:45 +0000
commit049c411c025c866f2229e49d4bba48e9613116f9 (patch)
tree6aed0862d98ce836ab584b1c671bd467d8b48b88
parentf760bd557425f7bd6bd9fa868e899a7e4d6f9932 (diff)
downloadFreeBSD-ports-049c411c025c866f2229e49d4bba48e9613116f9.zip
FreeBSD-ports-049c411c025c866f2229e49d4bba48e9613116f9.tar.gz
o Depend on sdl12 port instead of sdl10 one
o This fixes an outstanding full screen mode bug o PORTREVISION bump since port builded but did not work PR: 41604 Submitted by: Edwin Groothuis <edwin@mavetju.org> Approved by: maintainer
-rw-r--r--games/heretic/Makefile3
-rw-r--r--games/heretic/files/patch-aa9
2 files changed, 7 insertions, 5 deletions
diff --git a/games/heretic/Makefile b/games/heretic/Makefile
index 0dee74e..e71b759 100644
--- a/games/heretic/Makefile
+++ b/games/heretic/Makefile
@@ -7,6 +7,7 @@
PORTNAME= heretic
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://heretic.linuxgames.com/heretic/src/ \
http://heretic.linuxgames.com/wad/
@@ -34,7 +35,7 @@ BINARY= xaheretic
ALL_TARGET= sdl
BINARY= sdlheretic
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
-LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10
+LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12
MAKE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
CFLAGS+= `${SDL_CONFIG} --cflags`
.endif
diff --git a/games/heretic/files/patch-aa b/games/heretic/files/patch-aa
index b4c475f..a15e20f 100644
--- a/games/heretic/files/patch-aa
+++ b/games/heretic/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Tue May 2 03:57:07 2000
-+++ Makefile Thu Jan 10 19:33:45 2002
+--- Makefile.orig Mon May 1 22:56:45 2000
++++ Makefile Fri Aug 30 01:43:32 2002
@@ -1,19 +1,19 @@
# Makefile for Linux Heretic/GLHeretic
@@ -71,11 +71,12 @@
+X_LDFLAGS = -L${X11BASE}/lib
X11LIBS = -lXext -lX11
- GLLIBS = -lSDL -lpthread
+-GLLIBS = -lSDL -lpthread
++GLLIBS = `${SDL_CONFIG} --libs` ${PTHREAD_LIBS}
GGILIBS = -lggi -lm
VGALIBS = -lvga
-SDLLIBS = -lSDL -lpthread
-+SDLLIBS = -L${LOCALBASE}/lib -lSDL ${PTHREAD_LIBS}
++SDLLIBS = `${SDL_CONFIG} --libs` ${PTHREAD_LIBS}
OBJS = am_map.o ct_chat.o d_main.o d_net.o f_finale.o g_game.o \
p_ceilng.o p_doors.o p_enemy.o p_floor.o p_inter.o p_lights.o \
OpenPOWER on IntegriCloud