diff options
author | agc <agc> | 2000-07-10 16:03:47 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-10 16:03:47 +0000 |
commit | 7770615ed2c8c1757dc059f37f4bd5a3a2148dd4 (patch) | |
tree | d18e88610f0e1610a6df0707db9f9f25f547acdb /games | |
parent | 5f6ab6d9eaf43883d17524072f2c006e5376e3ee (diff) | |
download | pkgsrc-7770615ed2c8c1757dc059f37f4bd5a3a2148dd4.tar.gz |
Find qt2 prefix via pkg_info(1), rather than hardcoding it as ${X11BASE}.
Pointed out by Dave Sainty <dave@dtsp.co.nz>, munged slightly by me.
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack-qt/Makefile | 6 |
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 |