From 5f6ab6d9eaf43883d17524072f2c006e5376e3ee Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 10 Jul 2000 15:08:13 +0000 Subject: Find qt1 prefix via pkg_info(1), rather than hardcoding it as ${X11BASE}. Pointed out by Dave Sainty , munged slightly by me. --- graphics/kdegraphics/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics/kdegraphics') diff --git a/graphics/kdegraphics/Makefile b/graphics/kdegraphics/Makefile index ccc7dc509ba..a3439ffff8d 100644 --- a/graphics/kdegraphics/Makefile +++ b/graphics/kdegraphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2000/03/28 00:12:30 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.28 2000/07/10 15:08:17 agc Exp $ # DISTNAME= kdegraphics-1.1.2 @@ -16,7 +16,7 @@ USE_X11BASE= yes USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \ - "--with-qt-dir=${X11BASE}/qt1" + "--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= KDEDIR=${PREFIX} \ CXXFLAGS="${CFLAGS}" \ -- cgit v1.2.3