summaryrefslogtreecommitdiff
path: root/games/xfrisk/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-09-30 08:26:51 +0000
committerxtraeme <xtraeme>2003-09-30 08:26:51 +0000
commitd79ff50cd857830d0fb4bce29ef4d4fb349ceae9 (patch)
tree50426ee6bbadbc606c70c9e389690080875e9362 /games/xfrisk/Makefile
parentc43d64c41975ad9e4a1dd1b9e3496455e365f053 (diff)
downloadpkgsrc-d79ff50cd857830d0fb4bce29ef4d4fb349ceae9.tar.gz
xfrisk fails to properly display the action list, when using the standard
Xaw library, so change this to use Xaw3d. While here don't use X11BASE as PREFIX for installation. Patch provided by Soren Jacobsen PR pkg/21668, with some changes by me. Bump pkgrevision to 1.
Diffstat (limited to 'games/xfrisk/Makefile')
-rw-r--r--games/xfrisk/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile
index 200edec7f3e..a77a8083e63 100644
--- a/games/xfrisk/Makefile
+++ b/games/xfrisk/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2003/03/29 12:41:11 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2003/09/30 08:26:51 xtraeme Exp $
#
DISTNAME= xfrisk-1.2
+PKGREVISION= 1
WRKSRC= ${WRKDIR}/XFrisk
CATEGORIES= games
MASTER_SITES= http://morphy.iki.fi/xfrisk/files/
@@ -10,6 +11,7 @@ MAINTAINER= sketch@rd.bbc.co.uk
HOMEPAGE= http://morphy.iki.fi/xfrisk/
COMMENT= X11 version of the classic Risk board game
+USE_BUILDLINK2= yes
USE_GMAKE= yes
USE_X11= yes
@@ -23,4 +25,12 @@ NO_BIN_ON_CDROM=${RESTRICTED}
MAKE_ENV+= LIBS="-lsocket -lnsl"
.endif
+# xfrisk doesn't work with standard Xaw.
+XAW_TYPE?= 3d
+
+.if ${XAW_TYPE} == standard
+XAW_TYPE=3d
+.endif
+
+.include "../../mk/xaw.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"