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. --- sysutils/kdf/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysutils/kdf') diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile index 86bde4ad01f..abb50ba14c8 100644 --- a/sysutils/kdf/Makefile +++ b/sysutils/kdf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2000/04/12 23:55:47 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.5 2000/07/10 15:08:19 agc Exp $ # DISTNAME= kdf-0.5.1 @@ -15,12 +15,12 @@ DEPENDS+= kde-1.1.2:../../x11/kde USE_X11BASE= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+=--datadir=${X11BASE}/share/kde \ - --with-qt-dir=${X11BASE}/qt1 \ + --with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 \ --enable-path-check CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= KDEDIR=${PREFIX} \ - QTDIR=${X11BASE}/qt1 \ - MOC=${X11BASE}/qt1/bin/moc \ + QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 \ + MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc \ CXXFLAGS="${CFLAGS}" \ all_libraries="-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib" -- cgit v1.2.3