summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/nethack-qt/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/nethack-qt/Makefile b/games/nethack-qt/Makefile
index c062a2ebf80..714171a96e7 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2000/04/28 10:12:43 drochner Exp $
+# $NetBSD: Makefile,v 1.16 2000/07/10 16:03:48 agc Exp $
#
DISTNAME= nethack-3.3.0
@@ -21,8 +21,8 @@ HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
ALL_TARGET= x11tiles nethack
INSTALL_TARGET= binfiles
-PATH= ${X11BASE}/qt2/bin:$$PATH
-MAKE_ENV+= GTYPE=-qt QTDIR=${X11BASE}/qt2
+PATH= `${PKG_INFO} -qp qt2 | ${AWK} '{print $$2}'`/qt2/bin:$$PATH
+MAKE_ENV+= GTYPE=-qt QTDIR=`${PKG_INFO} -qp qt2 | ${AWK} '{print $$2}'`/qt2
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches