summaryrefslogtreecommitdiffstats
path: root/games/xtic
diff options
context:
space:
mode:
Diffstat (limited to 'games/xtic')
-rw-r--r--games/xtic/Makefile4
-rw-r--r--games/xtic/files/patch-aa2
2 files changed, 3 insertions, 3 deletions
diff --git a/games/xtic/Makefile b/games/xtic/Makefile
index 7021e14..16a9a4c 100644
--- a/games/xtic/Makefile
+++ b/games/xtic/Makefile
@@ -17,11 +17,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= An X version of a simple but tricky board game
USE_IMAKE= yes
-USE_XPM= yes
+USE_XORG= xpm
MAN1= xtic.1
PLIST_FILES= bin/xtic
post-patch:
- @${REINPLACE_CMD} -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/configure.h
+ @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/configure.h
.include <bsd.port.mk>
diff --git a/games/xtic/files/patch-aa b/games/xtic/files/patch-aa
index 193a8f1..386c6c7 100644
--- a/games/xtic/files/patch-aa
+++ b/games/xtic/files/patch-aa
@@ -5,4 +5,4 @@
* Change this to the correct place, if needed */
-#define XPMLIBRARY -L/usr/local/lib -lXpm
-+#define XPMLIBRARY -L%%X11BASE%%/lib -lXpm
++#define XPMLIBRARY -L%%LOCALBASE%%/lib -lXpm
OpenPOWER on IntegriCloud