summaryrefslogtreecommitdiff
path: root/games/nethack-qt
diff options
context:
space:
mode:
authoragc <agc>2000-07-11 14:53:35 +0000
committeragc <agc>2000-07-11 14:53:35 +0000
commit05692df58e5b6df12ead64953f810dacb961d423 (patch)
tree07c067a284dd27eed2ac53c0ec79e856fd2442d9 /games/nethack-qt
parentd2de6f19d28f70dc6b4d55367215a0590aa8a05e (diff)
downloadpkgsrc-05692df58e5b6df12ead64953f810dacb961d423.tar.gz
Make the determination of the pre-req package's installed directory be
a bit more user-friendly. Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
Diffstat (limited to 'games/nethack-qt')
-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 714171a96e7..486c2427865 100644
--- a/games/nethack-qt/Makefile
+++ b/games/nethack-qt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2000/07/10 16:03:48 agc Exp $
+# $NetBSD: Makefile,v 1.17 2000/07/11 14:53:41 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= `${PKG_INFO} -qp qt2 | ${AWK} '{print $$2}'`/qt2/bin:$$PATH
-MAKE_ENV+= GTYPE=-qt QTDIR=`${PKG_INFO} -qp qt2 | ${AWK} '{print $$2}'`/qt2
+PATH= `${MAKE} show-qt2-prefix`/qt2/bin:$$PATH
+MAKE_ENV+= GTYPE=-qt QTDIR=`${MAKE} show-qt2-prefix`/qt2
PATCHFILES+= ${PKGSRCDIR}/games/nethack-lib/patches/patch-*
ALLFILES= ${DISTFILES} # don't checksum shared patches