summaryrefslogtreecommitdiff
path: root/x11/kdelibs
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2000-07-10 15:08:13 +0000
committeragc <agc@pkgsrc.org>2000-07-10 15:08:13 +0000
commit52c1afc38c6c1387969433578010efd90e8e3278 (patch)
tree4049372601c8df738c9d8100ec5b6c62cb36e7ae /x11/kdelibs
parent866589729134fb595c91494e044fcc17ed5d0867 (diff)
downloadpkgsrc-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 'x11/kdelibs')
-rw-r--r--x11/kdelibs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/kdelibs/Makefile b/x11/kdelibs/Makefile
index 3b34f86fbfd..4945474b650 100644
--- a/x11/kdelibs/Makefile
+++ b/x11/kdelibs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2000/06/01 11:23:46 rh Exp $
+# $NetBSD: Makefile,v 1.47 2000/07/10 15:08:19 agc Exp $
# FreeBSD Id: Makefile,v 1.5 1997/11/27 00:25:46 se Exp
#
@@ -22,7 +22,7 @@ USE_PKGLIBTOOL= yes
LIBTOOL_FLAGS= --cplusplus --install-la
GNU_CONFIGURE= yes
CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \
- "--with-qt-dir=${PREFIX}/qt1"
+ "--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1"
CFLAGS+= -I${LOCALBASE}/include
.include "../../mk/bsd.prefs.mk"