diff options
author | agc <agc> | 2000-07-10 15:08:13 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-10 15:08:13 +0000 |
commit | 5f6ab6d9eaf43883d17524072f2c006e5376e3ee (patch) | |
tree | 4049372601c8df738c9d8100ec5b6c62cb36e7ae /x11/xglobe/Makefile | |
parent | 99d511ce80e5a4a23cf9ac5fcb295524f2b47e7b (diff) | |
download | pkgsrc-5f6ab6d9eaf43883d17524072f2c006e5376e3ee.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 'x11/xglobe/Makefile')
-rw-r--r-- | x11/xglobe/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/xglobe/Makefile b/x11/xglobe/Makefile index 0af164819b5..4770687eb0d 100644 --- a/x11/xglobe/Makefile +++ b/x11/xglobe/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2000/04/03 03:24:47 hubertf Exp $ +# $NetBSD: Makefile,v 1.11 2000/07/10 15:08:21 agc Exp $ # DISTNAME= xglobe-0.5 @@ -24,7 +24,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} USE_X11BASE= YES USE_GMAKE= YES -MAKE_ENV+= QTDIR=${X11BASE}/qt1 +MAKE_ENV+= QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 post-install: ${INSTALL_DATA_DIR} ${X11BASE}/lib/xglobe |