diff options
author | agc <agc> | 2000-07-10 15:08:13 +0000 |
---|---|---|
committer | agc <agc> | 2000-07-10 15:08:13 +0000 |
commit | 759a1da38c400eb5e5378600820b8900fe956a9a (patch) | |
tree | 4049372601c8df738c9d8100ec5b6c62cb36e7ae /net/kmap | |
parent | eebfc40e204b2e2ecf7febe64eb4c275ab6ff2c6 (diff) | |
download | pkgsrc-759a1da38c400eb5e5378600820b8900fe956a9a.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 'net/kmap')
-rw-r--r-- | net/kmap/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/kmap/Makefile b/net/kmap/Makefile index 643c91962eb..bdfdbb24e98 100644 --- a/net/kmap/Makefile +++ b/net/kmap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2000/04/12 23:09:37 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.3 2000/07/10 15:08:18 agc Exp $ # DISTNAME= kmap-0.5.6 @@ -13,8 +13,8 @@ DEPENDS+= nmap-2.12:../../net/nmap USE_X11BASE= yes # To get this near KDE GNU_CONFIGURE= yes -CONFIGURE_ENV+= QTDIR=${X11BASE}/qt1 -CONFIGURE_ARGS+=--with-qt-dir=${X11BASE}/qt1 +CONFIGURE_ENV+= QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 +CONFIGURE_ARGS+=--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 post-patch: cd ${WRKSRC}/kmap ; \ |