summaryrefslogtreecommitdiffstats
path: root/games/xvmahjongg
diff options
context:
space:
mode:
Diffstat (limited to 'games/xvmahjongg')
-rw-r--r--games/xvmahjongg/Makefile3
-rw-r--r--games/xvmahjongg/files/patch-ab4
2 files changed, 3 insertions, 4 deletions
diff --git a/games/xvmahjongg/Makefile b/games/xvmahjongg/Makefile
index 9bca551..f0b4e64 100644
--- a/games/xvmahjongg/Makefile
+++ b/games/xvmahjongg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xvmahjongg
PORTVERSION= 2.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.x.org/R5contrib/
DISTFILES= ${PORTNAME}${PORTVERSION}.tar.Z
@@ -18,7 +18,6 @@ COMMENT= Mahjongg for XView with multicolored tiles
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
ALL_TARGET= mahjongg.swap
-USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/mahjongg2.1
MAN6= xvmahjongg.6
diff --git a/games/xvmahjongg/files/patch-ab b/games/xvmahjongg/files/patch-ab
index 38eddec..5a10346 100644
--- a/games/xvmahjongg/files/patch-ab
+++ b/games/xvmahjongg/files/patch-ab
@@ -5,13 +5,13 @@
# Root directory of XView developers package
# For OpenWindows users, this is the same as $OPENWINHOME.
-XVIEWROOT = ${OPENWINHOME}
-+XVIEWROOT = ${X11BASE}
++XVIEWROOT = ${LOCALBASE}
# If not in OpenWindows, need to specify directory where libxview
# and libolgx are.
# For OpenWindows users, this is taken care of via $LD_LIBRARY_PATH.
-XVIEWLIBDIR =
-+XVIEWLIBDIR = -L${X11BASE}/lib
++XVIEWLIBDIR = -L${LOCALBASE}/lib
# e.g., XVIEWLIBDIR = -L/usr/openwin/lib
# This -L... stuff may only be appropriate in a SunOS environment,
# so do what's appropriate in your environment. The -L<pathname>
OpenPOWER on IntegriCloud