diff options
author | agc <agc@pkgsrc.org> | 2000-07-10 15:08:13 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-10 15:08:13 +0000 |
commit | 52c1afc38c6c1387969433578010efd90e8e3278 (patch) | |
tree | 4049372601c8df738c9d8100ec5b6c62cb36e7ae /audio/musicbox | |
parent | 866589729134fb595c91494e044fcc17ed5d0867 (diff) | |
download | pkgsrc-52c1afc38c6c1387969433578010efd90e8e3278.tar.gz |
Find qt1 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 'audio/musicbox')
-rw-r--r-- | audio/musicbox/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/musicbox/Makefile b/audio/musicbox/Makefile index 02755b2b04f..f55c15d58f1 100644 --- a/audio/musicbox/Makefile +++ b/audio/musicbox/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2000/03/28 00:09:20 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.5 2000/07/10 15:08:14 agc Exp $ DISTNAME= musicbox-1.01p2 CATEGORIES= audio @@ -14,7 +14,7 @@ USE_X11= yes WRKSRC= ${WRKDIR}/musicbox-1.01 -PATH= ${X11BASE}/qt1/bin:$$PATH +PATH= `${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin:$$PATH do-install: ${INSTALL_PROGRAM} ${WRKSRC}/musicbox ${PREFIX}/bin |