diff options
Diffstat (limited to 'x11/khostchooser/Makefile')
-rw-r--r-- | x11/khostchooser/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/khostchooser/Makefile b/x11/khostchooser/Makefile index e7a573a38ed..be2dcf52b9a 100644 --- a/x11/khostchooser/Makefile +++ b/x11/khostchooser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2000/04/13 00:20:38 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.6 2000/07/10 15:08:20 agc Exp $ # DISTNAME= khostchooser-0.3 @@ -19,11 +19,11 @@ 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} \ - 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="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib" |