diff options
author | agc <agc@pkgsrc.org> | 2000-07-11 14:53:35 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-07-11 14:53:35 +0000 |
commit | 4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd (patch) | |
tree | 07c067a284dd27eed2ac53c0ec79e856fd2442d9 /x11/khostchooser | |
parent | 2892ff05e14ce39877f3b9724d09c369fa16359e (diff) | |
download | pkgsrc-4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd.tar.gz |
Make the determination of the pre-req package's installed directory be
a bit more user-friendly.
Introduce a show-{gtk+,imlib,kdebase,qt1,qt2,xpm}-prefix target in
bsd.pkg.mk, and use "${MAKE} show-*-prefix" in package Makefiles.
Diffstat (limited to 'x11/khostchooser')
-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 be2dcf52b9a..8912853fc3d 100644 --- a/x11/khostchooser/Makefile +++ b/x11/khostchooser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/07/10 15:08:20 agc Exp $ +# $NetBSD: Makefile,v 1.7 2000/07/11 14:53:47 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=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 + --with-qt-dir=`${MAKE} show-qt1-prefix`/qt1 CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= KDEDIR=${PREFIX} \ - QTDIR=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1 \ - MOC=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1/bin/moc \ + QTDIR=`${MAKE} show-qt1-prefix`/qt1 \ + MOC=`${MAKE} show-qt1-prefix`/qt1/bin/moc \ CXXFLAGS="${CFLAGS}" \ all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib -Wl,-R${X11BASE}/lib -L${X11BASE}/lib" |