summaryrefslogtreecommitdiffstats
path: root/games/wmtictactoe
diff options
context:
space:
mode:
Diffstat (limited to 'games/wmtictactoe')
-rw-r--r--games/wmtictactoe/Makefile5
-rw-r--r--games/wmtictactoe/files/patch-aa4
2 files changed, 4 insertions, 5 deletions
diff --git a/games/wmtictactoe/Makefile b/games/wmtictactoe/Makefile
index 0156be2..efc22be 100644
--- a/games/wmtictactoe/Makefile
+++ b/games/wmtictactoe/Makefile
@@ -7,7 +7,7 @@
PORTNAME= wmtictactoe
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games windowmaker afterstep
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jim
@@ -19,8 +19,7 @@ COMMENT= A dockable TicTacToe game for WindowMaker and AfterStep
PLIST_FILES= bin/wmtictactoe
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/wmtictactoe.app/wmtictactoe
-USE_X_PREFIX= yes
-USE_XPM= yes
+USE_XORG= xpm
post-install:
@${ECHO} "===> Run 'wmtictactoe --help' for the available options"
diff --git a/games/wmtictactoe/files/patch-aa b/games/wmtictactoe/files/patch-aa
index 634a6e7..9a25147 100644
--- a/games/wmtictactoe/files/patch-aa
+++ b/games/wmtictactoe/files/patch-aa
@@ -4,8 +4,8 @@
-LIBDIR = -L/usr/X11R6/lib
+CC ?= gcc
+CFLAGS += -c -Wall
-+INCLUDES = -I${X11BASE}/include
-+LIBDIR = -L${X11BASE}/lib
++INCLUDES = -I${LOCALBASE}/include
++LIBDIR = -L${LOCALBASE}/lib
LIBS = -lXpm -lXext -lX11
OBJS = wmtictactoe.o ../wmgeneral/wmgeneral.o
OpenPOWER on IntegriCloud