From 4aeac45f89e5a02fffd8d4fe20e8af07012ec4cd Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 11 Jul 2000 14:53:35 +0000 Subject: 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. --- misc/kdeutils/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/kdeutils/Makefile') diff --git a/misc/kdeutils/Makefile b/misc/kdeutils/Makefile index e8dc30aeaa0..397c7941d17 100644 --- a/misc/kdeutils/Makefile +++ b/misc/kdeutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2000/07/10 15:08:18 agc Exp $ +# $NetBSD: Makefile,v 1.38 2000/07/11 14:53:43 agc Exp $ # FreeBSD Id: Makefile,v 1.4 1997/11/28 00:04:18 se Exp # @@ -16,7 +16,7 @@ DEPENDS+= kdebase-1.1.2:../../x11/kdebase USE_X11BASE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= "--with-qt-dir=`${PKG_INFO} -qp qt1 | ${AWK} '{ print $$2 }'`/qt1" +CONFIGURE_ARGS= "--with-qt-dir=`${MAKE} show-qt1-prefix`/qt1" CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= KDEDIR=${PREFIX} \ CXXFLAGS="${CFLAGS}" \ -- cgit v1.2.3