summaryrefslogtreecommitdiffstats
path: root/games/spellcast
diff options
context:
space:
mode:
Diffstat (limited to 'games/spellcast')
-rw-r--r--games/spellcast/Makefile4
-rw-r--r--games/spellcast/files/patch-aa4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/spellcast/Makefile b/games/spellcast/Makefile
index 0eb0472..47f8db5 100644
--- a/games/spellcast/Makefile
+++ b/games/spellcast/Makefile
@@ -7,7 +7,7 @@
PORTNAME= spellcast
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.eblong.com/zarf/ftp/
DISTNAME= ${PORTNAME}
@@ -16,7 +16,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Multiplayer fight with spells turn based game for X Window System
-USE_X_PREFIX= yes
+USE_XORG= x11
MAN6= spellcast.6
do-install:
diff --git a/games/spellcast/files/patch-aa b/games/spellcast/files/patch-aa
index dedeb30..ef61d96 100644
--- a/games/spellcast/files/patch-aa
+++ b/games/spellcast/files/patch-aa
@@ -5,13 +5,13 @@
#OTHERLIBS = -lbsdmalloc
-CFLAGS = -g -I/usr/local/include -I./bitmaps -DBODYFONT=$(FONT1) \
-+CFLAGS += -I${X11BASE}/include -I./bitmaps -DBODYFONT=$(FONT1) \
++CFLAGS += -I${LOCALBASE}/include -I./bitmaps -DBODYFONT=$(FONT1) \
-DBODYFONT_ALT=$(FONT2) -DBODYFONT_ALT2=$(FONT3) -DTRANSCRIPTDIR=$(LOGDIR)
-LFLAGS = -g
+LFLAGS =
-XLIB = -L/usr/local/lib -lX11
-+XLIB = -L${X11BASE}/lib -lX11
++XLIB = -L${LOCALBASE}/lib -lX11
OBJS = engine.o espells.o execute.o execute2.o emonster.o etran.o
XOBJS = main.o xtext.o xquery.o xloop.o xgest.o xbutton.o xtalk.o
OpenPOWER on IntegriCloud