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 /devel/kdevelop | |
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 'devel/kdevelop')
-rw-r--r-- | devel/kdevelop/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/kdevelop/Makefile b/devel/kdevelop/Makefile index 84e6a3e19de..692b53e57a1 100644 --- a/devel/kdevelop/Makefile +++ b/devel/kdevelop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2000/06/01 11:23:21 rh Exp $ +# $NetBSD: Makefile,v 1.14 2000/07/10 15:08:16 agc Exp $ DISTNAME= kdevelop-1.2 CATEGORIES= devel kde @@ -22,9 +22,9 @@ USE_PKGLIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-extra-includes=${LOCALBASE}/include \ --with-extra-libs=${LOCALBASE}/lib \ - --with-qt-dir=${X11BASE}/qt1 + --with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 CFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ENV= "KDEDIR=${PREFIX} QTDIR=${X11BASE}/qt1" +CONFIGURE_ENV= "KDEDIR=${PREFIX} QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" .include "../../mk/bsd.pkg.mk" |