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 /sysutils/kapm/Makefile | |
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 'sysutils/kapm/Makefile')
-rw-r--r-- | sysutils/kapm/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/kapm/Makefile b/sysutils/kapm/Makefile index c855e3410d5..e3c0ec19980 100644 --- a/sysutils/kapm/Makefile +++ b/sysutils/kapm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/07/06 21:09:40 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.6 2000/07/10 15:08:18 agc Exp $ # DISTNAME= kapm-0.3.1 @@ -16,7 +16,8 @@ DEPENDS+= kdebase-1.1.2:../../x11/kdebase USE_X11BASE= YES # to get things near KDE GNU_CONFIGURE= YES -CONFIGURE_ENV+= QTDIR=${X11BASE}/qt1 MOC=${X11BASE}/qt1/bin/moc -CONFIGURE_ARGS+=--with-qt-dir=${X11BASE}/qt1 +CONFIGURE_ENV+= QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 +CONFIGURE_ENV+= MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc +CONFIGURE_ARGS+=--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 .include "../../mk/bsd.pkg.mk" |